///////////////////////////////////////////////////////////////////////////// // Name: setpage.h ///////////////////////////////////////////////////////////////////////////// #ifndef _DIALOG_PAGES_SETTINGS_H_ #define _DIALOG_PAGES_SETTINGS_H_ #include "dialog_page_settings_base.h" /*! * DIALOG_PAGES_SETTINGS class declaration */ class DIALOG_PAGES_SETTINGS: public DIALOG_PAGES_SETTINGS_BASE { private: EDA_DRAW_FRAME *m_Parent; BASE_SCREEN * m_Screen; int m_Modified; Ki_PageDescr * m_SelectedSheet; float UserSizeX, UserSizeY; int m_CurrentSelection; public: DIALOG_PAGES_SETTINGS( EDA_DRAW_FRAME* parent ); ~DIALOG_PAGES_SETTINGS(); private: /// Initialises member variables void initDialog(); /// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG void OnCloseWindow( wxCloseEvent& event ); /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK void OnOkClick( wxCommandEvent& event ); /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL void OnCancelClick( wxCommandEvent& event ); void SearchPageSizeSelection(); void SavePageSettings(wxCommandEvent& event); void ReturnSizeSelected(wxCommandEvent& event); }; #endif // _DIALOG_PAGES_SETTINGS_H_