1 // -*- C++ -*- 2 // 3 // generated by wxGlade 01d8bb798de7+ on Wed May 14 09:33:51 2014 4 // 5 // Example for compiling a single file project under Linux using g++: 6 // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 // 8 // Example for compiling a multi file project under Linux using g++: 9 // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 // 11 12 #ifndef WMAIN_WXG_H 13 #define WMAIN_WXG_H 14 15 #include <wx/wx.h> 16 #include <wx/image.h> 17 #include "wx/intl.h" 18 19 #ifndef APP_CATALOG 20 #define APP_CATALOG "app" // replace with the appropriate catalog name 21 #endif 22 23 24 // begin wxGlade: ::dependencies 25 #include <wx/splitter.h> 26 #include <wx/tglbtn.h> 27 // end wxGlade 28 29 // begin wxGlade: ::extracode 30 #include "../WSortView.h" 31 #include "../wxClickText.h" 32 // end wxGlade 33 34 35 class WMain_wxg: public wxFrame { 36 public: 37 // begin wxGlade: WMain_wxg::ids 38 enum { 39 ID_RUN_BUTTON = wxID_HIGHEST + 1000, 40 ID_RESET_BUTTON = wxID_HIGHEST + 1001, 41 ID_STEP_BUTTON = wxID_HIGHEST + 1002, 42 ID_SOUND_BUTTON = wxID_HIGHEST + 1003, 43 ID_RANDOM_BUTTON = wxID_HIGHEST + 1004, 44 ID_RECORD_BUTTON = wxID_HIGHEST + 1005, 45 ID_SPEED_SLIDER = wxID_HIGHEST + 1006, 46 ID_SOUND_SUSTAIN_SLIDER = wxID_HIGHEST + 1007, 47 ID_INVERSION_LABEL = wxID_HIGHEST + 1008, 48 ID_ARRAY_SIZE_SLIDER = wxID_HIGHEST + 1009, 49 ID_ALGO_LIST = wxID_HIGHEST + 1010 50 }; 51 // end wxGlade 52 53 WMain_wxg(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE); 54 55 private: 56 // begin wxGlade: WMain_wxg::methods 57 void set_properties(); 58 void do_layout(); 59 // end wxGlade 60 61 protected: 62 // begin wxGlade: WMain_wxg::attributes 63 wxStaticBox* sizerInputAlgorithm_staticbox; 64 wxStaticBox* sizer_3_staticbox; 65 WSortView* sortview; 66 wxPanel* splitter_0_pane_1; 67 wxToggleButton* runButton; 68 wxButton* resetButton; 69 wxButton* stepButton; 70 wxToggleButton* soundButton; 71 wxButton* aboutButton; 72 wxButton* randomButton; 73 wxToggleButton* recordButton; 74 wxSlider* speedSlider; 75 wxStaticText* labelDelayValue; 76 wxSlider* soundSustainSlider; 77 wxStaticText* labelSoundSustainValue; 78 wxClickText* labelComparisonsValue; 79 wxClickText* labelAccessCount; 80 wxClickText* labelInversionCount; 81 wxClickText* labelRunsCount; 82 wxChoice* inputTypeChoice; 83 wxSlider* arraySizeSlider; 84 wxStaticText* labelArraySizeValue; 85 wxListBox* algoList; 86 wxStaticText* pivotRuleLabel; 87 wxChoice* pivotRuleChoice; 88 wxPanel* panelQuickSortPivot; 89 wxTextCtrl* infoTextctrl; 90 wxPanel* splitter_0_pane_2; 91 wxSplitterWindow* splitter_0; 92 // end wxGlade 93 }; // wxGlade: end class 94 95 96 #endif // WMAIN_WXG_H 97