r665: Merged the official release 2.0.
[cinelerra_cv.git] / cinelerra / cpanel.h
blob2431d319b17dcb6e25fe51dce7b1ab079568a2a8
1 #ifndef CPANEL_H
2 #define CPANEL_H
4 #include "cwindowgui.inc"
5 #include "edl.inc"
6 #include "guicast.h"
7 #include "mwindow.inc"
9 class CPanel
11 public:
12 CPanel(MWindow *mwindow, CWindowGUI *subwindow, int x, int y, int w, int h);
13 ~CPanel();
15 int create_objects();
16 void reposition_buttons(int x, int y);
17 void set_operation(int value);
19 MWindow *mwindow;
20 CWindowGUI *subwindow;
22 int x, y, w, h;
24 BC_Toggle* operation[CPANEL_OPERATIONS];
27 class CPanelMask : public BC_Toggle
29 public:
30 CPanelMask(MWindow *mwindow, CPanel *gui, int x, int y);
31 ~CPanelMask();
32 int handle_event();
33 MWindow *mwindow;
34 CPanel *gui;
37 class CPanelTitleSafe : public BC_Toggle
39 public:
40 CPanelTitleSafe(MWindow *mwindow, CPanel *gui, int x, int y);
41 ~CPanelTitleSafe();
42 int handle_event();
43 MWindow *mwindow;
44 CPanel *gui;
47 class CPanelErase : public BC_Toggle
49 public:
50 CPanelErase(MWindow *mwindow, CPanel *gui, int x, int y);
51 ~CPanelErase();
52 int handle_event();
53 MWindow *mwindow;
54 CPanel *gui;
57 class CPanelAntierase : public BC_Toggle
59 public:
60 CPanelAntierase(MWindow *mwindow, CPanel *gui, int x, int y);
61 ~CPanelAntierase();
62 int handle_event();
63 MWindow *mwindow;
64 CPanel *gui;
67 class CPanelProtect : public BC_Toggle
69 public:
70 CPanelProtect(MWindow *mwindow, CPanel *gui, int x, int y);
71 ~CPanelProtect();
72 int handle_event();
73 MWindow *mwindow;
74 CPanel *gui;
77 class CPanelMagnify : public BC_Toggle
79 public:
80 CPanelMagnify(MWindow *mwindow, CPanel *gui, int x, int y);
81 ~CPanelMagnify();
82 int handle_event();
83 MWindow *mwindow;
84 CPanel *gui;
87 class CPanelCamera : public BC_Toggle
89 public:
90 CPanelCamera(MWindow *mwindow, CPanel *gui, int x, int y);
91 ~CPanelCamera();
92 int handle_event();
93 MWindow *mwindow;
94 CPanel *gui;
97 class CPanelProj : public BC_Toggle
99 public:
100 CPanelProj(MWindow *mwindow, CPanel *gui, int x, int y);
101 ~CPanelProj();
102 int handle_event();
103 MWindow *mwindow;
104 CPanel *gui;
107 class CPanelCrop : public BC_Toggle
109 public:
110 CPanelCrop(MWindow *mwindow, CPanel *gui, int x, int y);
111 ~CPanelCrop();
112 int handle_event();
113 MWindow *mwindow;
114 CPanel *gui;
117 class CPanelEyedrop : public BC_Toggle
119 public:
120 CPanelEyedrop(MWindow *mwindow, CPanel *gui, int x, int y);
121 ~CPanelEyedrop();
122 int handle_event();
123 MWindow *mwindow;
124 CPanel *gui;
127 class CPanelToolWindow : public BC_Toggle
129 public:
130 CPanelToolWindow(MWindow *mwindow, CPanel *gui, int x, int y);
131 ~CPanelToolWindow();
132 int handle_event();
133 int set_shown(int shown);
134 MWindow *mwindow;
135 CPanel *gui;
140 #endif