Updated TODO.
[epichord.git] / src / ui.h
blobd69091b487cfab3ee368f8c126a45b611692f32a
1 // generated by Fast Light User Interface Designer (fluid) version 2.1000
3 #ifndef ui_h
4 #define ui_h
5 #include <fltk/Window.h>
6 #include <unistd.h>
7 #include <stdio.h>
8 #include "seq.h"
9 #include "trackmodule.h"
10 #include <fltk/Group.h>
11 #include "trackinfo.h"
12 #include <fltk/Button.h>
13 #include <fltk/ScrollGroup.h>
14 #include "customscroll.h"
15 #include "arranger.h"
16 #include "timeline.h"
17 #include "pianoroll.h"
18 #include "eventedit.h"
19 #include "eventmenu.h"
20 #include "trackselect.h"
21 #include "sampleview.h"
22 #include "keyboard.h"
23 #include <metronome.h>
24 #include "saveload.h"
25 #include <fltk/TabGroup.h>
26 #include <fltk/ValueInput.h>
27 #include <fltk/ValueOutput.h>
28 #include <fltk/ThumbWheel.h>
29 #include <fltk/CheckButton.h>
30 #include <fltk/Choice.h>
31 #include <fltk/Item.h>
32 #include <fltk/Input.h>
33 #include <fltk/TextEditor.h>
34 #include <fltk/TextDisplay.h>
35 #include <fltk/InvisibleBox.h>
37 class UI {
38 public:
39 UI();
40 fltk::Window *main_window;
41 private:
42 inline void cb_main_window_i(fltk::Window*, void*);
43 static void cb_main_window(fltk::Window*, void*);
44 public:
45 fltk::Group *song_edit;
46 TrackInfo *track_info;
47 private:
48 inline void cb_line_i(fltk::Button*, void*);
49 static void cb_line(fltk::Button*, void*);
50 public:
51 Timeline *song_timeline;
52 CustomScroll *song_scroll;
53 Arranger *arranger;
54 fltk::Group *pattern_edit;
55 Timeline *pattern_timeline;
56 fltk::ScrollGroup *pattern_scroll;
57 PianoRoll *piano_roll;
58 EventEdit *event_edit;
59 EventMenu *event_menu;
60 fltk::Button *event_menu_button;
61 private:
62 inline void cb_event_menu_button_i(fltk::Button*, void*);
63 static void cb_event_menu_button(fltk::Button*, void*);
64 inline void cb_L_i(fltk::Button*, void*);
65 static void cb_L(fltk::Button*, void*);
66 inline void cb_C_i(fltk::Button*, void*);
67 static void cb_C(fltk::Button*, void*);
68 inline void cb_X_i(fltk::Button*, void*);
69 static void cb_X(fltk::Button*, void*);
70 inline void cb_Z_i(fltk::Button*, void*);
71 static void cb_Z(fltk::Button*, void*);
72 public:
73 TrackSelect *track_select;
74 SampleView *sample_view;
75 Keyboard *keyboard;
76 private:
77 inline void cb__i(fltk::Button*, void*);
78 static void cb_(fltk::Button*, void*);
79 public:
80 fltk::Button *play_button;
81 private:
82 inline void cb_play_button_i(fltk::Button*, void*);
83 static void cb_play_button(fltk::Button*, void*);
84 public:
85 fltk::Button *stop_button;
86 private:
87 inline void cb_stop_button_i(fltk::Button*, void*);
88 static void cb_stop_button(fltk::Button*, void*);
89 public:
90 fltk::Button *record_button;
91 private:
92 inline void cb_record_button_i(fltk::Button*, void*);
93 static void cb_record_button(fltk::Button*, void*);
94 public:
95 Metronome *metronome;
96 fltk::Group *pattern_buttons;
97 fltk::Button *qbutton4;
98 private:
99 inline void cb_qbutton4_i(fltk::Button*, void*);
100 static void cb_qbutton4(fltk::Button*, void*);
101 public:
102 fltk::Button *qbutton8;
103 private:
104 inline void cb_qbutton8_i(fltk::Button*, void*);
105 static void cb_qbutton8(fltk::Button*, void*);
106 public:
107 fltk::Button *qbutton16;
108 private:
109 inline void cb_qbutton16_i(fltk::Button*, void*);
110 static void cb_qbutton16(fltk::Button*, void*);
111 public:
112 fltk::Button *qbutton32;
113 private:
114 inline void cb_qbutton32_i(fltk::Button*, void*);
115 static void cb_qbutton32(fltk::Button*, void*);
116 public:
117 fltk::Button *qbutton64;
118 private:
119 inline void cb_qbutton64_i(fltk::Button*, void*);
120 static void cb_qbutton64(fltk::Button*, void*);
121 public:
122 fltk::Button *qbutton128;
123 private:
124 inline void cb_qbutton128_i(fltk::Button*, void*);
125 static void cb_qbutton128(fltk::Button*, void*);
126 public:
127 fltk::Button *qbutton0;
128 private:
129 inline void cb_qbutton0_i(fltk::Button*, void*);
130 static void cb_qbutton0(fltk::Button*, void*);
131 public:
132 fltk::Button *quant1_button;
133 fltk::Button *quant0_button;
134 fltk::Button *tool_button;
135 private:
136 inline void cb_tool_button_i(fltk::Button*, void*);
137 static void cb_tool_button(fltk::Button*, void*);
138 public:
139 fltk::Group *song_buttons;
140 fltk::Button *color_toggle;
141 private:
142 inline void cb_color_toggle_i(fltk::Button*, void*);
143 static void cb_color_toggle(fltk::Button*, void*);
144 public:
145 fltk::Button *unclone_button;
146 fltk::Button *join_button;
147 fltk::Button *split_button;
148 fltk::Button *loop_toggle;
149 private:
150 inline void cb_loop_toggle_i(fltk::Button*, void*);
151 static void cb_loop_toggle(fltk::Button*, void*);
152 public:
153 fltk::Button *config_button;
154 private:
155 inline void cb_config_button_i(fltk::Button*, void*);
156 static void cb_config_button(fltk::Button*, void*);
157 public:
158 fltk::Button *scope_button;
159 private:
160 inline void cb_scope_button_i(fltk::Button*, void*);
161 static void cb_scope_button(fltk::Button*, void*);
162 public:
163 fltk::Button *file_button;
164 private:
165 inline void cb_file_button_i(fltk::Button*, void*);
166 static void cb_file_button(fltk::Button*, void*);
167 public:
168 fltk::Button *help_button;
169 private:
170 inline void cb_help_button_i(fltk::Button*, void*);
171 static void cb_help_button(fltk::Button*, void*);
172 public:
173 fltk::Window *config_window;
174 fltk::ValueInput *beats_per_measure;
175 private:
176 inline void cb_beats_per_measure_i(fltk::ValueInput*, void*);
177 static void cb_beats_per_measure(fltk::ValueInput*, void*);
178 public:
179 fltk::ValueInput *measures_per_phrase;
180 private:
181 inline void cb_measures_per_phrase_i(fltk::ValueInput*, void*);
182 static void cb_measures_per_phrase(fltk::ValueInput*, void*);
183 public:
184 fltk::ValueOutput *bpm_output;
185 fltk::ThumbWheel *bpm_wheel;
186 private:
187 inline void cb_bpm_wheel_i(fltk::ThumbWheel*, void*);
188 static void cb_bpm_wheel(fltk::ThumbWheel*, void*);
189 public:
190 fltk::ValueInput *measures_until_record;
191 private:
192 inline void cb_measures_until_record_i(fltk::ValueInput*, void*);
193 static void cb_measures_until_record(fltk::ValueInput*, void*);
194 public:
195 fltk::CheckButton *check_alwayscopy;
196 private:
197 inline void cb_check_alwayscopy_i(fltk::CheckButton*, void*);
198 static void cb_check_alwayscopy(fltk::CheckButton*, void*);
199 public:
200 fltk::CheckButton *check_autotrackname;
201 private:
202 inline void cb_check_autotrackname_i(fltk::CheckButton*, void*);
203 static void cb_check_autotrackname(fltk::CheckButton*, void*);
204 public:
205 fltk::CheckButton *check_passthru;
206 private:
207 inline void cb_check_passthru_i(fltk::CheckButton*, void*);
208 static void cb_check_passthru(fltk::CheckButton*, void*);
209 public:
210 fltk::CheckButton *check_playinsert;
211 private:
212 inline void cb_check_playinsert_i(fltk::CheckButton*, void*);
213 static void cb_check_playinsert(fltk::CheckButton*, void*);
214 public:
215 fltk::CheckButton *check_recordonchan;
216 private:
217 inline void cb_check_recordonchan_i(fltk::CheckButton*, void*);
218 static void cb_check_recordonchan(fltk::CheckButton*, void*);
219 public:
220 fltk::CheckButton *check_playmove;
221 private:
222 inline void cb_check_playmove_i(fltk::CheckButton*, void*);
223 static void cb_check_playmove(fltk::CheckButton*, void*);
224 public:
225 fltk::CheckButton *check_follow;
226 private:
227 inline void cb_check_follow_i(fltk::CheckButton*, void*);
228 static void cb_check_follow(fltk::CheckButton*, void*);
229 public:
230 fltk::ValueInput *default_velocity;
231 private:
232 inline void cb_default_velocity_i(fltk::ValueInput*, void*);
233 static void cb_default_velocity(fltk::ValueInput*, void*);
234 public:
235 fltk::Choice *menu_recordmode;
236 private:
237 inline void cb_merge_i(fltk::Item*, void*);
238 static void cb_merge(fltk::Item*, void*);
239 inline void cb_overwrite_i(fltk::Item*, void*);
240 static void cb_overwrite(fltk::Item*, void*);
241 inline void cb_layer_i(fltk::Item*, void*);
242 static void cb_layer(fltk::Item*, void*);
243 public:
244 fltk::Choice *menu_rob;
245 private:
246 inline void cb_do_i(fltk::Item*, void*);
247 static void cb_do(fltk::Item*, void*);
248 inline void cb_new_i(fltk::Item*, void*);
249 static void cb_new(fltk::Item*, void*);
250 inline void cb_extend_i(fltk::Item*, void*);
251 static void cb_extend(fltk::Item*, void*);
252 public:
253 KeyGrabber *kg_l0;
254 KeyGrabber *kg_l1;
255 KeyGrabber *kg_l2;
256 KeyGrabber *kg_l3;
257 KeyGrabber *kg_l4;
258 KeyGrabber *kg_l5;
259 KeyGrabber *kg_l6;
260 KeyGrabber *kg_l7;
261 KeyGrabber *kg_l8;
262 KeyGrabber *kg_l9;
263 KeyGrabber *kg_l10;
264 private:
265 inline void cb_kg_l10_i(KeyGrabber*, void*);
266 static void cb_kg_l10(KeyGrabber*, void*);
267 public:
268 KeyGrabber *kg_l11;
269 KeyGrabber *kg_l12;
270 KeyGrabber *kg_l13;
271 KeyGrabber *kg_l14;
272 KeyGrabber *kg_l15;
273 KeyGrabber *kg_l16;
274 KeyGrabber *kg_u0;
275 KeyGrabber *kg_u1;
276 KeyGrabber *kg_u2;
277 KeyGrabber *kg_u3;
278 KeyGrabber *kg_u4;
279 KeyGrabber *kg_u5;
280 KeyGrabber *kg_u6;
281 KeyGrabber *kg_u7;
282 KeyGrabber *kg_u8;
283 KeyGrabber *kg_u9;
284 KeyGrabber *kg_u10;
285 KeyGrabber *kg_u11;
286 KeyGrabber *kg_u12;
287 KeyGrabber *kg_u13;
288 KeyGrabber *kg_u14;
289 KeyGrabber *kg_u15;
290 KeyGrabber *kg_u16;
291 KeyGrabber *kg_u17;
292 KeyGrabber *kg_u18;
293 KeyGrabber *kg_u19;
294 KeyGrabber *kg_u20;
295 KeyGrabber *kg_zi;
296 KeyGrabber *kg_zo;
297 KeyGrabber *kg_ou;
298 KeyGrabber *kg_od;
299 fltk::Window *help_window;
300 fltk::Input *title_text;
301 fltk::Input *author_text;
302 fltk::TextEditor *info_text;
303 fltk::Window *action_window;
304 private:
305 inline void cb_new1_i(fltk::Button*, void*);
306 static void cb_new1(fltk::Button*, void*);
307 inline void cb_save_i(fltk::Button*, void*);
308 static void cb_save(fltk::Button*, void*);
309 inline void cb_save1_i(fltk::Button*, void*);
310 static void cb_save1(fltk::Button*, void*);
311 inline void cb_load_i(fltk::Button*, void*);
312 static void cb_load(fltk::Button*, void*);
313 inline void cb_import_i(fltk::Button*, void*);
314 static void cb_import(fltk::Button*, void*);
315 inline void cb_export_i(fltk::Button*, void*);
316 static void cb_export(fltk::Button*, void*);
317 public:
318 fltk::Window *scope_window;
319 fltk::TextDisplay *scope;
320 private:
321 inline void cb_on_i(fltk::Button*, void*);
322 static void cb_on(fltk::Button*, void*);
324 #endif