-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGenericConfigPanel.h
More file actions
40 lines (32 loc) · 883 Bytes
/
GenericConfigPanel.h
File metadata and controls
40 lines (32 loc) · 883 Bytes
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
#ifndef __GENERICCONFIGPANEL
#define __GENERICCONFIGPANEL
#include <wx/wx.h>
#include <wx/dialog.h>
#include <wx/listctrl.h>
// Statsgen Includes
#include "WindowIDs.h"
#include "GroupedConfigItemsPanel.h"
#include "GenericNumberedConfigPanel.h"
class GenericConfigPanel : public wxPanel
{
public:
GenericConfigPanel(wxWindow *parent,
wxWindowID id,
const wxPoint &pos,
const wxSize &size,
long style,
const wxString &name);
virtual ~GenericConfigPanel();
void OnResize(wxSizeEvent& event);
void AddConfigGroup(GroupedConfigItemsPanel *configPanel);
void AddConfigGroup(GenericNumberedConfigPanel *configPanel);
void AddConfigGroup(wxPanel *configPanel);
void OnTextChange(wxCommandEvent &event);
bool UpdateFromTrigger();
protected:
private:
ArrayOfPointers configItems;
wxArrayInt panelTypes;
DECLARE_EVENT_TABLE()
};
#endif