47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// 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:
|
||
|
WinEDA_DrawFrame *m_Parent;
|
||
|
BASE_SCREEN * m_Screen;
|
||
|
int m_Modified;
|
||
|
Ki_PageDescr * m_SelectedSheet;
|
||
|
float UserSizeX, UserSizeY;
|
||
|
int m_CurrentSelection;
|
||
|
|
||
|
public:
|
||
|
DIALOG_PAGES_SETTINGS( WinEDA_DrawFrame* 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_
|