2010-11-17 21:47:27 +00:00
|
|
|
|
|
|
|
#ifndef _DIALOG_SVG_PRINT_H_
|
|
|
|
#define _DIALOG_SVG_PRINT_H_
|
|
|
|
|
|
|
|
|
2011-01-21 19:30:59 +00:00
|
|
|
class EDA_DRAW_FRAME;
|
2010-11-17 21:47:27 +00:00
|
|
|
class BASE_SCREEN;
|
|
|
|
|
|
|
|
|
|
|
|
#include "dialog_SVG_print_base.h"
|
|
|
|
|
|
|
|
|
|
|
|
class DIALOG_SVG_PRINT : public DIALOG_SVG_PRINT_base
|
|
|
|
{
|
|
|
|
private:
|
2011-01-21 19:30:59 +00:00
|
|
|
EDA_DRAW_FRAME* m_Parent;
|
|
|
|
wxConfig* m_Config;
|
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 OnInitDialog( wxInitDialogEvent& event );
|
|
|
|
void OnButtonPlotCurrentClick( wxCommandEvent& event );
|
|
|
|
void OnButtonPlotAllClick( wxCommandEvent& event );
|
|
|
|
void OnButtonCancelClick( wxCommandEvent& event );
|
|
|
|
void OnSetColorModeSelected( wxCommandEvent& event );
|
|
|
|
void SetPenWidth();
|
|
|
|
void PrintSVGDoc( bool aPrintAll, bool aPrint_Sheet_Ref );
|
|
|
|
|
|
|
|
public:
|
2011-01-21 19:30:59 +00:00
|
|
|
static bool DrawSVGPage( EDA_DRAW_FRAME* frame,
|
2011-01-11 20:34:29 +00:00
|
|
|
const wxString& FullFileName, SCH_SCREEN* screen,
|
2010-11-17 21:47:27 +00:00
|
|
|
bool aPrintBlackAndWhite = false,
|
|
|
|
bool aPrint_Sheet_Ref = false );
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _DIALOG_SVG_PRINT_H_
|