-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMiniDocConfigPanel.h
62 lines (48 loc) · 1.47 KB
/
MiniDocConfigPanel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef MINIDOCCONFIGPANEL_H
#define MINIDOCCONFIGPANEL_H
//(*Headers(MiniDocConfigPanel)
#include <wx/panel.h>
class wxBoxSizer;
class wxButton;
class wxCheckBox;
class wxChoice;
class wxStaticText;
//*)
#include <configurationpanel.h>
class MiniDocPanel;
class MiniDocConfigPanel: public cbConfigurationPanel
{
public:
MiniDocConfigPanel(wxWindow* parent, MiniDocPanel *panel);
virtual ~MiniDocConfigPanel();
//(*Declarations(MiniDocConfigPanel)
wxButton* colorSelButton;
wxCheckBox* inverseDesignatorCheckBox;
wxCheckBox* showDesignatorCheckBox;
wxCheckBox* showScrollbarCheckBox;
wxCheckBox* syncPositionCheckBox;
wxChoice* adjustPositionChoice;
wxStaticText* StaticText2;
//*)
/// @return the panel's title.
virtual wxString GetTitle() const;
/// @return the panel's bitmap base name. You must supply two bitmaps: \<basename\>.png and \<basename\>-off.png...
virtual wxString GetBitmapBaseName() const;
/// Called when the user chooses to apply the configuration.
virtual void OnApply();
/// Called when the user chooses to cancel the configuration.
virtual void OnCancel(){}
protected:
//(*Identifiers(MiniDocConfigPanel)
//*)
private:
MiniDocPanel *panel_;
//(*Handlers(MiniDocConfigPanel)
void OnColorSelButtonClick(wxCommandEvent& event);
void OnShowDesignator(wxCommandEvent& event);
//*)
protected:
void BuildContent(wxWindow* parent);
DECLARE_EVENT_TABLE()
};
#endif