Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
48 lines (39 sloc)
1.11 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __GENERICNUMBEREDCONFIGPANEL | |
#define __GENERICNUMBEREDCONFIGPANEL | |
#include <wx/wx.h> | |
#include <wx/dialog.h> | |
#include <wx/listctrl.h> | |
// Statsgen Includes | |
#include "WindowIDs.h" | |
#include "GroupedConfigItemsPanel.h" | |
class GenericConfigPanel; | |
class GenericNumberedConfigPanel : public wxPanel | |
{ | |
public: | |
GenericNumberedConfigPanel( | |
GenericConfigPanel *(*newPanelFunctionIn)(wxWindow *parentID,wxString &listID), | |
wxString &group, | |
wxString &listGroupPrefix, | |
wxWindow *parent, | |
wxWindowID id, | |
const wxPoint &pos, | |
const wxSize &size, | |
long style, | |
const wxString &name); | |
virtual ~GenericNumberedConfigPanel(); | |
bool UpdateFromTrigger(); | |
void OnListItemSelected(wxCommandEvent &event); | |
void OnTextChange(wxCommandEvent &event); | |
void OnResize(wxSizeEvent &event); | |
void CreateDialog(); | |
void SetConfigPanel(GenericConfigPanel *configPanel); | |
protected: | |
private: | |
wxComboBox idList; | |
GenericConfigPanel * (*newPanelFunction)(wxWindow *parentID,wxString &listID); | |
GenericConfigPanel *configPanel; | |
wxString listGroup; | |
wxString listGroupPrefix; | |
DECLARE_EVENT_TABLE() | |
}; | |
#endif |