2010-11-11 21:10:27 +00:00
|
|
|
|
|
|
|
#ifndef _DIALOG_PRINT_USING_PRINTER_H_
|
|
|
|
#define _DIALOG_PRINT_USING_PRINTER_H_
|
|
|
|
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <dialog_print_using_printer_base.h>
|
2010-11-11 21:10:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Print schematic dialog.
|
|
|
|
*
|
|
|
|
* Class derived from DIALOG_PRINT_USING_PRINTER_base created by wxFormBuilder
|
|
|
|
*/
|
|
|
|
class DIALOG_PRINT_USING_PRINTER : public DIALOG_PRINT_USING_PRINTER_BASE
|
|
|
|
{
|
|
|
|
public:
|
2010-12-08 20:12:46 +00:00
|
|
|
DIALOG_PRINT_USING_PRINTER( SCH_EDIT_FRAME* aParent );
|
2010-11-11 21:10:27 +00:00
|
|
|
~DIALOG_PRINT_USING_PRINTER() {};
|
|
|
|
|
2010-12-08 20:12:46 +00:00
|
|
|
SCH_EDIT_FRAME* GetParent() const;
|
2010-11-11 21:10:27 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void OnCloseWindow( wxCloseEvent& event );
|
|
|
|
void OnInitDialog( wxInitDialogEvent& event );
|
|
|
|
void OnPageSetup( wxCommandEvent& event );
|
|
|
|
void OnPrintPreview( wxCommandEvent& event );
|
|
|
|
void OnPrintButtonClick( wxCommandEvent& event );
|
|
|
|
void OnButtonCancelClick( wxCommandEvent& event ){ Close(); }
|
2012-07-09 07:10:07 +00:00
|
|
|
|
|
|
|
void GetPrintOptions();
|
2010-11-11 21:10:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _DIALOG_PRINT_USING_PRINTER_H_
|