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>
16 #include <fltk/ScrollGroup.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/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>
40 fltk::Window
*main_window
;
42 inline void cb_main_window_i(fltk::Window
*, void*);
43 static void cb_main_window(fltk::Window
*, void*);
45 fltk::Group
*song_edit
;
46 TrackInfo
*track_info
;
48 inline void cb_line_i(fltk::Button
*, void*);
49 static void cb_line(fltk::Button
*, void*);
51 Timeline
*song_timeline
;
52 fltk::Group
*song_scrollgroup
;
54 fltk::Scrollbar
*song_vscroll
;
55 fltk::Scrollbar
*song_hscroll
;
56 fltk::Group
*pattern_edit
;
57 Timeline
*pattern_timeline
;
58 fltk::ScrollGroup
*pattern_scroll
;
59 PianoRoll
*piano_roll
;
60 EventEdit
*event_edit
;
61 EventMenu
*event_menu
;
62 fltk::Button
*event_menu_button
;
64 inline void cb_event_menu_button_i(fltk::Button
*, void*);
65 static void cb_event_menu_button(fltk::Button
*, void*);
66 inline void cb_L_i(fltk::Button
*, void*);
67 static void cb_L(fltk::Button
*, void*);
68 inline void cb_C_i(fltk::Button
*, void*);
69 static void cb_C(fltk::Button
*, void*);
70 inline void cb_X_i(fltk::Button
*, void*);
71 static void cb_X(fltk::Button
*, void*);
72 inline void cb_Z_i(fltk::Button
*, void*);
73 static void cb_Z(fltk::Button
*, void*);
75 TrackSelect
*track_select
;
76 SampleView
*sample_view
;
79 inline void cb__i(fltk::Button
*, void*);
80 static void cb_(fltk::Button
*, void*);
82 fltk::Button
*play_button
;
84 inline void cb_play_button_i(fltk::Button
*, void*);
85 static void cb_play_button(fltk::Button
*, void*);
87 fltk::Button
*stop_button
;
89 inline void cb_stop_button_i(fltk::Button
*, void*);
90 static void cb_stop_button(fltk::Button
*, void*);
92 fltk::Button
*record_button
;
94 inline void cb_record_button_i(fltk::Button
*, void*);
95 static void cb_record_button(fltk::Button
*, void*);
98 fltk::Group
*pattern_buttons
;
99 fltk::Button
*qbutton4
;
101 inline void cb_qbutton4_i(fltk::Button
*, void*);
102 static void cb_qbutton4(fltk::Button
*, void*);
104 fltk::Button
*qbutton8
;
106 inline void cb_qbutton8_i(fltk::Button
*, void*);
107 static void cb_qbutton8(fltk::Button
*, void*);
109 fltk::Button
*qbutton16
;
111 inline void cb_qbutton16_i(fltk::Button
*, void*);
112 static void cb_qbutton16(fltk::Button
*, void*);
114 fltk::Button
*qbutton32
;
116 inline void cb_qbutton32_i(fltk::Button
*, void*);
117 static void cb_qbutton32(fltk::Button
*, void*);
119 fltk::Button
*qbutton64
;
121 inline void cb_qbutton64_i(fltk::Button
*, void*);
122 static void cb_qbutton64(fltk::Button
*, void*);
124 fltk::Button
*qbutton128
;
126 inline void cb_qbutton128_i(fltk::Button
*, void*);
127 static void cb_qbutton128(fltk::Button
*, void*);
129 fltk::Button
*qbutton0
;
131 inline void cb_qbutton0_i(fltk::Button
*, void*);
132 static void cb_qbutton0(fltk::Button
*, void*);
134 fltk::Button
*quant1_button
;
135 fltk::Button
*quant0_button
;
136 fltk::Button
*tool_button
;
138 inline void cb_tool_button_i(fltk::Button
*, void*);
139 static void cb_tool_button(fltk::Button
*, void*);
141 fltk::Group
*song_buttons
;
142 fltk::Button
*color_toggle
;
144 inline void cb_color_toggle_i(fltk::Button
*, void*);
145 static void cb_color_toggle(fltk::Button
*, void*);
147 fltk::Button
*unclone_button
;
148 fltk::Button
*join_button
;
149 fltk::Button
*split_button
;
150 fltk::Button
*loop_toggle
;
152 inline void cb_loop_toggle_i(fltk::Button
*, void*);
153 static void cb_loop_toggle(fltk::Button
*, void*);
155 fltk::Button
*config_button
;
157 inline void cb_config_button_i(fltk::Button
*, void*);
158 static void cb_config_button(fltk::Button
*, void*);
160 fltk::Button
*scope_button
;
162 inline void cb_scope_button_i(fltk::Button
*, void*);
163 static void cb_scope_button(fltk::Button
*, void*);
165 fltk::Button
*file_button
;
167 inline void cb_file_button_i(fltk::Button
*, void*);
168 static void cb_file_button(fltk::Button
*, void*);
170 fltk::Button
*help_button
;
172 inline void cb_help_button_i(fltk::Button
*, void*);
173 static void cb_help_button(fltk::Button
*, void*);
175 fltk::Window
*config_window
;
176 fltk::ValueInput
*beats_per_measure
;
178 inline void cb_beats_per_measure_i(fltk::ValueInput
*, void*);
179 static void cb_beats_per_measure(fltk::ValueInput
*, void*);
181 fltk::ValueInput
*measures_per_phrase
;
183 inline void cb_measures_per_phrase_i(fltk::ValueInput
*, void*);
184 static void cb_measures_per_phrase(fltk::ValueInput
*, void*);
186 fltk::ValueOutput
*bpm_output
;
187 fltk::ThumbWheel
*bpm_wheel
;
189 inline void cb_bpm_wheel_i(fltk::ThumbWheel
*, void*);
190 static void cb_bpm_wheel(fltk::ThumbWheel
*, void*);
192 fltk::ValueInput
*measures_until_record
;
194 inline void cb_measures_until_record_i(fltk::ValueInput
*, void*);
195 static void cb_measures_until_record(fltk::ValueInput
*, void*);
197 fltk::CheckButton
*check_alwayscopy
;
199 inline void cb_check_alwayscopy_i(fltk::CheckButton
*, void*);
200 static void cb_check_alwayscopy(fltk::CheckButton
*, void*);
202 fltk::CheckButton
*check_autotrackname
;
204 inline void cb_check_autotrackname_i(fltk::CheckButton
*, void*);
205 static void cb_check_autotrackname(fltk::CheckButton
*, void*);
207 fltk::CheckButton
*check_passthru
;
209 inline void cb_check_passthru_i(fltk::CheckButton
*, void*);
210 static void cb_check_passthru(fltk::CheckButton
*, void*);
212 fltk::CheckButton
*check_playinsert
;
214 inline void cb_check_playinsert_i(fltk::CheckButton
*, void*);
215 static void cb_check_playinsert(fltk::CheckButton
*, void*);
217 fltk::CheckButton
*check_recordonchan
;
219 inline void cb_check_recordonchan_i(fltk::CheckButton
*, void*);
220 static void cb_check_recordonchan(fltk::CheckButton
*, void*);
222 fltk::CheckButton
*check_playmove
;
224 inline void cb_check_playmove_i(fltk::CheckButton
*, void*);
225 static void cb_check_playmove(fltk::CheckButton
*, void*);
227 fltk::CheckButton
*check_follow
;
229 inline void cb_check_follow_i(fltk::CheckButton
*, void*);
230 static void cb_check_follow(fltk::CheckButton
*, void*);
232 fltk::ValueInput
*default_velocity
;
234 inline void cb_default_velocity_i(fltk::ValueInput
*, void*);
235 static void cb_default_velocity(fltk::ValueInput
*, void*);
237 fltk::Choice
*menu_recordmode
;
239 inline void cb_merge_i(fltk::Item
*, void*);
240 static void cb_merge(fltk::Item
*, void*);
241 inline void cb_overwrite_i(fltk::Item
*, void*);
242 static void cb_overwrite(fltk::Item
*, void*);
243 inline void cb_layer_i(fltk::Item
*, void*);
244 static void cb_layer(fltk::Item
*, void*);
246 fltk::Choice
*menu_rob
;
248 inline void cb_do_i(fltk::Item
*, void*);
249 static void cb_do(fltk::Item
*, void*);
250 inline void cb_new_i(fltk::Item
*, void*);
251 static void cb_new(fltk::Item
*, void*);
252 inline void cb_extend_i(fltk::Item
*, void*);
253 static void cb_extend(fltk::Item
*, void*);
267 inline void cb_kg_l10_i(KeyGrabber
*, void*);
268 static void cb_kg_l10(KeyGrabber
*, void*);
301 fltk::Window
*help_window
;
302 fltk::Input
*title_text
;
303 fltk::Input
*author_text
;
304 fltk::TextEditor
*info_text
;
305 fltk::Window
*action_window
;
307 inline void cb_new1_i(fltk::Button
*, void*);
308 static void cb_new1(fltk::Button
*, void*);
309 inline void cb_save_i(fltk::Button
*, void*);
310 static void cb_save(fltk::Button
*, void*);
311 inline void cb_save1_i(fltk::Button
*, void*);
312 static void cb_save1(fltk::Button
*, void*);
313 inline void cb_load_i(fltk::Button
*, void*);
314 static void cb_load(fltk::Button
*, void*);
315 inline void cb_import_i(fltk::Button
*, void*);
316 static void cb_import(fltk::Button
*, void*);
317 inline void cb_export_i(fltk::Button
*, void*);
318 static void cb_export(fltk::Button
*, void*);
320 fltk::Window
*scope_window
;
321 fltk::TextDisplay
*scope
;
323 inline void cb_on_i(fltk::Button
*, void*);
324 static void cb_on(fltk::Button
*, void*);