24 #ifndef COM_DAFER45_TBTK_DATA_MANAGER_FRAME
25 #define COM_DAFER45_TBTK_DATA_MANAGER_FRAME
27 #include "TBTK/DataManager.h"
28 #include "TBTK/ParameterSliderPanel.h"
35 class DataManagerFrame :
public wxFrame{
38 DataManagerFrame(wxWindow *parent);
45 const DataManager *dataManager,
50 void onPaintEvent(wxPaintEvent &event);
53 void onSizeEvent(wxSizeEvent &event);
56 void onMenuFileOpen(wxCommandEvent &event);
59 void onMenuFileQuit(wxCommandEvent &event);
62 void onMenuHelpAbout(wxCommandEvent &event);
65 void onCheckboxEvent(wxCommandEvent &event);
68 void onSliderChange(wxScrollEvent &event);
70 DECLARE_EVENT_TABLE();
73 const DataManager *dataManager;
80 std::vector<wxCheckBox*> checkboxes;
83 std::vector<ParameterSliderPanel*> parameterSliders;
86 wxSizer* dataTypeSizer;
89 wxSizer* parameterSizer;
92 std::vector<wxWindow*> currentDataWindows;
95 void updateOpenWindows();