You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

  1. #ifndef _DIALOG_SVG_PRINT_H_
  2. #define _DIALOG_SVG_PRINT_H_
  3. class EDA_DRAW_FRAME;
  4. class BASE_SCREEN;
  5. #include "dialog_SVG_print_base.h"
  6. class DIALOG_SVG_PRINT : public DIALOG_SVG_PRINT_base
  7. {
  8. private:
  9. EDA_DRAW_FRAME* m_Parent;
  10. wxConfig* m_Config;
  11. public:
  12. DIALOG_SVG_PRINT( EDA_DRAW_FRAME* parent );
  13. ~DIALOG_SVG_PRINT() {}
  14. private:
  15. void OnCloseWindow( wxCloseEvent& event );
  16. void OnInitDialog( wxInitDialogEvent& event );
  17. void OnButtonPlotCurrentClick( wxCommandEvent& event );
  18. void OnButtonPlotAllClick( wxCommandEvent& event );
  19. void OnButtonCancelClick( wxCommandEvent& event );
  20. void OnSetColorModeSelected( wxCommandEvent& event );
  21. void SetPenWidth();
  22. void PrintSVGDoc( bool aPrintAll, bool aPrint_Sheet_Ref );
  23. public:
  24. static bool DrawSVGPage( EDA_DRAW_FRAME* frame,
  25. const wxString& FullFileName, SCH_SCREEN* screen,
  26. bool aPrintBlackAndWhite = false,
  27. bool aPrint_Sheet_Ref = false );
  28. };
  29. #endif // _DIALOG_SVG_PRINT_H_