| 1 | |
| 2 | |
| 3 | /* Define a new application type */ |
| 4 | class MyTab: public wxPanel{ |
| 5 | public: |
| 6 | |
| 7 | MyTab(wxWindow *parent , int i); // constructor for i-th tab |
| 8 | |
| 9 | static wxWindow *frame2redraw; |
| 10 | static void SceneChanged(); |
| 11 | |
| 12 | static bool Redispose(int wy); |
| 13 | |
| 14 | static int Count(); // number of tabs |
| 15 | |
| 16 | static wxString Title(int i); // title of i-th tab |
| 17 | |
| 18 | static void EnableGeom(); |
| 19 | static void EnableCustom(); |
| 20 | void emphCurrentPreset(int i); |
| 21 | |
| 22 | /* Geometry TAB */ |
| 23 | /*--------------*/ |
| 24 | /* |
| 25 | void OnSetBallnstick (wxCommandEvent & event); |
| 26 | void OnSetLicorice (wxCommandEvent & event); |
| 27 | void OnSetSpacefill (wxCommandEvent & event); |
| 28 | void OnSetLicoriceRadius(wxScrollEvent & event); |
| 29 | void OnSetBallnstickRadius(wxScrollEvent & event); |
| 30 | void OnSetBallnstickSmoothcolor(wxCommandEvent & event); |
| 31 | void OnSetBallnstickBicolor(wxCommandEvent & event); |
| 32 | void OnSetBallnstickConstantcolor(wxCommandEvent & event);*/ |
| 33 | |
| 34 | void OnRadioButton(wxCommandEvent & event); |
| 35 | //void OnChooseBallnstickConstantcolor(wxCommandEvent & event); |
| 36 | static void setSceneBgcolor(wxColor c); |
| 37 | void setSceneBgbrightness(float f); |
| 38 | |
| 39 | // ALL: |
| 40 | void OnSlider(wxScrollEvent & event); |
| 41 | void OnButton(wxCommandEvent & event); |
| 42 | void OnCheckBox(wxCommandEvent & event); |
| 43 | |
| 44 | static void UpdateAll(); |
| 45 | |
| 46 | DECLARE_EVENT_TABLE() |
| 47 | }; |