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.
43 lines (35 sloc)
878 Bytes
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 __GENERICCONFIGGUI | |
#define __GENERICCONFIGGUI | |
#include <wx/wx.h> | |
#include <wx/dialog.h> | |
#include <wx/listctrl.h> | |
// Statsgen Includes | |
#include "WindowIDs.h" | |
#include "GroupedConfigItemsPanel.h" | |
#include "GenericConfigPanel.h" | |
class GenericConfigGUI : public wxDialog | |
{ | |
public: | |
GenericConfigGUI(wxWindow *parent, | |
wxWindowID id, | |
const wxString &title, | |
const wxPoint &pos, | |
const wxSize &size, | |
long style, | |
const wxString &name); | |
virtual ~GenericConfigGUI(); | |
void OnQuit(wxCommandEvent& event); | |
void OnSave(wxCommandEvent& event); | |
void OnResize(wxSizeEvent& event); | |
void DisplayDialog(); | |
void SetConfigPanel(GenericConfigPanel *configPanel); | |
protected: | |
void CreateDialog(); | |
private: | |
GenericConfigPanel *configPanel; | |
wxButton saveButton; | |
wxButton quitButton; | |
bool firstTimeResize; | |
DECLARE_EVENT_TABLE() | |
}; | |
#endif |