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