2010-11-17 21:47:27 +00:00
|
|
|
|
|
|
|
#ifndef _DIALOG_SVG_PRINT_H_
|
|
|
|
#define _DIALOG_SVG_PRINT_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include "dialog_SVG_print_base.h"
|
|
|
|
|
|
|
|
|
|
|
|
class BASE_SCREEN;
|
2011-03-01 19:26:17 +00:00
|
|
|
class PCB_BASE_FRAME;
|
2010-11-17 21:47:27 +00:00
|
|
|
class wxConfig;
|
|
|
|
|
|
|
|
|
|
|
|
class DIALOG_SVG_PRINT : public DIALOG_SVG_PRINT_base
|
|
|
|
{
|
|
|
|
private:
|
2011-03-01 19:26:17 +00:00
|
|
|
PCB_BASE_FRAME* m_Parent;
|
|
|
|
wxConfig* m_Config;
|
|
|
|
long m_PrintMaskLayer;
|
|
|
|
wxCheckBox* m_BoxSelectLayer[32];
|
2010-11-17 21:47:27 +00:00
|
|
|
|
|
|
|
public:
|
2011-01-21 19:30:59 +00:00
|
|
|
DIALOG_SVG_PRINT( EDA_DRAW_FRAME* parent );
|
2010-11-17 21:47:27 +00:00
|
|
|
~DIALOG_SVG_PRINT() {}
|
|
|
|
|
|
|
|
private:
|
|
|
|
void OnCloseWindow( wxCloseEvent& event );
|
|
|
|
void initDialog( );
|
|
|
|
void OnButtonPrintSelectedClick( wxCommandEvent& event );
|
|
|
|
void OnButtonPrintBoardClick( wxCommandEvent& event );
|
|
|
|
void OnButtonCancelClick( wxCommandEvent& event );
|
|
|
|
void OnSetColorModeSelected( wxCommandEvent& event );
|
|
|
|
void SetPenWidth();
|
|
|
|
void PrintSVGDoc( bool aPrintAll, bool aPrint_Frame_Ref );
|
|
|
|
bool DrawPage( const wxString& FullFileName, BASE_SCREEN* screen, bool aPrint_Frame_Ref );
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _DIALOG_SVG_PRINT_H_
|