1 // generated by Fast Light User Interface Designer (fluid) version 2.1000
5 #include <fltk/Window.h>
9 #include "trackmodule.h"
10 #include <fltk/Group.h>
11 #include "trackinfo.h"
12 #include <fltk/Button.h>
14 #include <fltk/Scrollbar.h>
17 #include "pianoroll.h"
18 #include "eventedit.h"
19 #include "eventmenu.h"
20 #include "trackselect.h"
21 #include "sampleview.h"
23 #include <metronome.h>
25 #include <fltk/PopupMenu.h>
26 #include <fltk/Item.h>
27 #include <fltk/Divider.h>
28 #include <fltk/TabGroup.h>
29 #include <fltk/ValueInput.h>
30 #include <fltk/ValueOutput.h>
31 #include <fltk/ThumbWheel.h>
32 #include <fltk/CheckButton.h>
33 #include <fltk/Choice.h>
34 #include <fltk/Input.h>
35 #include <fltk/TextEditor.h>
36 #include <fltk/TextDisplay.h>
37 #include <fltk/InvisibleBox.h>
42 fltk::Window
*main_window
;
44 inline void cb_main_window_i(fltk::Window
*, void*);
45 static void cb_main_window(fltk::Window
*, void*);
47 fltk::Group
*song_edit
;
48 TrackInfo
*track_info
;
50 inline void cb__i(fltk::Button
*, void*);
51 static void cb_(fltk::Button
*, void*);
52 inline void cb_1_i(fltk::Button
*, void*);
53 static void cb_1(fltk::Button
*, void*);
55 Timeline
*song_timeline
;
56 fltk::Group
*song_scrollgroup
;
58 fltk::Scrollbar
*song_vscroll
;
60 inline void cb_song_vscroll_i(fltk::Scrollbar
*, void*);
61 static void cb_song_vscroll(fltk::Scrollbar
*, void*);
63 DragBar
*song_hscroll
;
65 inline void cb_song_hscroll_i(DragBar
*, void*);
66 static void cb_song_hscroll(DragBar
*, void*);
68 fltk::Group
*pattern_edit
;
69 Timeline
*pattern_timeline
;
70 fltk::Group
*pattern_scrollgroup
;
71 PianoRoll
*piano_roll
;
72 fltk::Scrollbar
*pattern_vscroll
;
74 inline void cb_pattern_vscroll_i(fltk::Scrollbar
*, void*);
75 static void cb_pattern_vscroll(fltk::Scrollbar
*, void*);
77 DragBar
*pattern_hscroll
;
79 inline void cb_pattern_hscroll_i(DragBar
*, void*);
80 static void cb_pattern_hscroll(DragBar
*, void*);
82 EventEdit
*event_edit
;
83 EventMenu
*event_menu
;
84 fltk::Button
*event_menu_button
;
86 inline void cb_event_menu_button_i(fltk::Button
*, void*);
87 static void cb_event_menu_button(fltk::Button
*, void*);
88 inline void cb_L_i(fltk::Button
*, void*);
89 static void cb_L(fltk::Button
*, void*);
90 inline void cb_C_i(fltk::Button
*, void*);
91 static void cb_C(fltk::Button
*, void*);
92 inline void cb_X_i(fltk::Button
*, void*);
93 static void cb_X(fltk::Button
*, void*);
94 inline void cb_Z_i(fltk::Button
*, void*);
95 static void cb_Z(fltk::Button
*, void*);
97 TrackSelect
*track_select
;
98 SampleView
*sample_view
;
101 inline void cb_2_i(fltk::Button
*, void*);
102 static void cb_2(fltk::Button
*, void*);
104 fltk::Button
*play_button
;
106 inline void cb_play_button_i(fltk::Button
*, void*);
107 static void cb_play_button(fltk::Button
*, void*);
109 fltk::Button
*stop_button
;
111 inline void cb_stop_button_i(fltk::Button
*, void*);
112 static void cb_stop_button(fltk::Button
*, void*);
114 fltk::Button
*record_button
;
116 inline void cb_record_button_i(fltk::Button
*, void*);
117 static void cb_record_button(fltk::Button
*, void*);
119 Metronome
*metronome
;
120 fltk::Button
*loop_toggle
;
122 inline void cb_loop_toggle_i(fltk::Button
*, void*);
123 static void cb_loop_toggle(fltk::Button
*, void*);
125 fltk::Group
*pattern_buttons
;
126 fltk::Button
*quant1_button
;
127 fltk::Button
*quant0_button
;
128 fltk::Button
*tool_button
;
130 inline void cb_tool_button_i(fltk::Button
*, void*);
131 static void cb_tool_button(fltk::Button
*, void*);
133 fltk::Button
*qbutton4
;
135 inline void cb_qbutton4_i(fltk::Button
*, void*);
136 static void cb_qbutton4(fltk::Button
*, void*);
138 fltk::Button
*qbutton8
;
140 inline void cb_qbutton8_i(fltk::Button
*, void*);
141 static void cb_qbutton8(fltk::Button
*, void*);
143 fltk::Button
*qbutton16
;
145 inline void cb_qbutton16_i(fltk::Button
*, void*);
146 static void cb_qbutton16(fltk::Button
*, void*);
148 fltk::Button
*qbutton32
;
150 inline void cb_qbutton32_i(fltk::Button
*, void*);
151 static void cb_qbutton32(fltk::Button
*, void*);
153 fltk::Button
*qbutton64
;
155 inline void cb_qbutton64_i(fltk::Button
*, void*);
156 static void cb_qbutton64(fltk::Button
*, void*);
158 fltk::Button
*qbutton128
;
160 inline void cb_qbutton128_i(fltk::Button
*, void*);
161 static void cb_qbutton128(fltk::Button
*, void*);
163 fltk::Button
*qbutton0
;
165 inline void cb_qbutton0_i(fltk::Button
*, void*);
166 static void cb_qbutton0(fltk::Button
*, void*);
168 fltk::Group
*song_buttons
;
169 fltk::Button
*edit_button
;
171 inline void cb_edit_button_i(fltk::Button
*, void*);
172 static void cb_edit_button(fltk::Button
*, void*);
174 fltk::Button
*color_button
;
176 inline void cb_color_button_i(fltk::Button
*, void*);
177 static void cb_color_button(fltk::Button
*, void*);
179 fltk::Button
*unclone_button
;
181 inline void cb_unclone_button_i(fltk::Button
*, void*);
182 static void cb_unclone_button(fltk::Button
*, void*);
184 fltk::Button
*split_button
;
186 inline void cb_split_button_i(fltk::Button
*, void*);
187 static void cb_split_button(fltk::Button
*, void*);
189 fltk::Button
*join_button
;
191 inline void cb_join_button_i(fltk::Button
*, void*);
192 static void cb_join_button(fltk::Button
*, void*);
194 fltk::Button
*conf_button
;
196 inline void cb_conf_button_i(fltk::Button
*, void*);
197 static void cb_conf_button(fltk::Button
*, void*);
199 fltk::Button
*scope_button
;
201 inline void cb_scope_button_i(fltk::Button
*, void*);
202 static void cb_scope_button(fltk::Button
*, void*);
204 fltk::Button
*file_button
;
206 inline void cb_file_button_i(fltk::Button
*, void*);
207 static void cb_file_button(fltk::Button
*, void*);
209 fltk::PopupMenu
*file_menu
;
211 inline void cb_new_i(fltk::Item
*, void*);
212 static void cb_new(fltk::Item
*, void*);
213 inline void cb_load_i(fltk::Item
*, void*);
214 static void cb_load(fltk::Item
*, void*);
215 inline void cb_save_i(fltk::Item
*, void*);
216 static void cb_save(fltk::Item
*, void*);
217 inline void cb_save1_i(fltk::Item
*, void*);
218 static void cb_save1(fltk::Item
*, void*);
219 inline void cb_import_i(fltk::Item
*, void*);
220 static void cb_import(fltk::Item
*, void*);
221 inline void cb_export_i(fltk::Item
*, void*);
222 static void cb_export(fltk::Item
*, void*);
224 fltk::Button
*help_button
;
226 inline void cb_help_button_i(fltk::Button
*, void*);
227 static void cb_help_button(fltk::Button
*, void*);
229 fltk::Window
*config_window
;
231 inline void cb_config_window_i(fltk::Window
*, void*);
232 static void cb_config_window(fltk::Window
*, void*);
234 fltk::ValueInput
*beats_per_measure
;
236 inline void cb_beats_per_measure_i(fltk::ValueInput
*, void*);
237 static void cb_beats_per_measure(fltk::ValueInput
*, void*);
239 fltk::ValueInput
*measures_per_phrase
;
241 inline void cb_measures_per_phrase_i(fltk::ValueInput
*, void*);
242 static void cb_measures_per_phrase(fltk::ValueInput
*, void*);
244 fltk::ValueOutput
*bpm_output
;
245 fltk::ThumbWheel
*bpm_wheel
;
247 inline void cb_bpm_wheel_i(fltk::ThumbWheel
*, void*);
248 static void cb_bpm_wheel(fltk::ThumbWheel
*, void*);
250 fltk::ValueInput
*measures_until_record
;
252 inline void cb_measures_until_record_i(fltk::ValueInput
*, void*);
253 static void cb_measures_until_record(fltk::ValueInput
*, void*);
255 fltk::CheckButton
*check_alwayscopy
;
257 inline void cb_check_alwayscopy_i(fltk::CheckButton
*, void*);
258 static void cb_check_alwayscopy(fltk::CheckButton
*, void*);
260 fltk::CheckButton
*check_autotrackname
;
262 inline void cb_check_autotrackname_i(fltk::CheckButton
*, void*);
263 static void cb_check_autotrackname(fltk::CheckButton
*, void*);
265 fltk::CheckButton
*check_passthru
;
267 inline void cb_check_passthru_i(fltk::CheckButton
*, void*);
268 static void cb_check_passthru(fltk::CheckButton
*, void*);
270 fltk::CheckButton
*check_playinsert
;
272 inline void cb_check_playinsert_i(fltk::CheckButton
*, void*);
273 static void cb_check_playinsert(fltk::CheckButton
*, void*);
275 fltk::CheckButton
*check_recordonchan
;
277 inline void cb_check_recordonchan_i(fltk::CheckButton
*, void*);
278 static void cb_check_recordonchan(fltk::CheckButton
*, void*);
280 fltk::CheckButton
*check_playmove
;
282 inline void cb_check_playmove_i(fltk::CheckButton
*, void*);
283 static void cb_check_playmove(fltk::CheckButton
*, void*);
285 fltk::CheckButton
*check_follow
;
287 inline void cb_check_follow_i(fltk::CheckButton
*, void*);
288 static void cb_check_follow(fltk::CheckButton
*, void*);
290 fltk::ValueInput
*default_velocity
;
292 inline void cb_default_velocity_i(fltk::ValueInput
*, void*);
293 static void cb_default_velocity(fltk::ValueInput
*, void*);
295 fltk::Choice
*menu_recordmode
;
297 inline void cb_merge_i(fltk::Item
*, void*);
298 static void cb_merge(fltk::Item
*, void*);
299 inline void cb_overwrite_i(fltk::Item
*, void*);
300 static void cb_overwrite(fltk::Item
*, void*);
301 inline void cb_layer_i(fltk::Item
*, void*);
302 static void cb_layer(fltk::Item
*, void*);
304 fltk::Choice
*menu_rob
;
306 inline void cb_do_i(fltk::Item
*, void*);
307 static void cb_do(fltk::Item
*, void*);
308 inline void cb_new1_i(fltk::Item
*, void*);
309 static void cb_new1(fltk::Item
*, void*);
310 inline void cb_extend_i(fltk::Item
*, void*);
311 static void cb_extend(fltk::Item
*, void*);
325 inline void cb_kg_l10_i(KeyGrabber
*, void*);
326 static void cb_kg_l10(KeyGrabber
*, void*);
359 fltk::Window
*help_window
;
361 inline void cb_help_window_i(fltk::Window
*, void*);
362 static void cb_help_window(fltk::Window
*, void*);
364 fltk::Input
*title_text
;
365 fltk::Input
*author_text
;
366 fltk::TextEditor
*info_text
;
367 fltk::Window
*action_window
;
369 inline void cb_action_window_i(fltk::Window
*, void*);
370 static void cb_action_window(fltk::Window
*, void*);
371 inline void cb_new2_i(fltk::Button
*, void*);
372 static void cb_new2(fltk::Button
*, void*);
373 inline void cb_save2_i(fltk::Button
*, void*);
374 static void cb_save2(fltk::Button
*, void*);
375 inline void cb_save3_i(fltk::Button
*, void*);
376 static void cb_save3(fltk::Button
*, void*);
377 inline void cb_load1_i(fltk::Button
*, void*);
378 static void cb_load1(fltk::Button
*, void*);
379 inline void cb_import1_i(fltk::Button
*, void*);
380 static void cb_import1(fltk::Button
*, void*);
381 inline void cb_export1_i(fltk::Button
*, void*);
382 static void cb_export1(fltk::Button
*, void*);
384 fltk::Window
*scope_window
;
386 inline void cb_scope_window_i(fltk::Window
*, void*);
387 static void cb_scope_window(fltk::Window
*, void*);
389 fltk::TextDisplay
*scope
;
391 inline void cb_on_i(fltk::Button
*, void*);
392 static void cb_on(fltk::Button
*, void*);