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>
13 #include <fltk/ScrollGroup.h>
14 #include "customscroll.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 CustomScroll
*song_scroll
;
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
;
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*);
73 TrackSelect
*track_select
;
74 SampleView
*sample_view
;
77 inline void cb__i(fltk::Button
*, void*);
78 static void cb_(fltk::Button
*, void*);
80 fltk::Button
*play_button
;
82 inline void cb_play_button_i(fltk::Button
*, void*);
83 static void cb_play_button(fltk::Button
*, void*);
85 fltk::Button
*stop_button
;
87 inline void cb_stop_button_i(fltk::Button
*, void*);
88 static void cb_stop_button(fltk::Button
*, void*);
90 fltk::Button
*record_button
;
92 inline void cb_record_button_i(fltk::Button
*, void*);
93 static void cb_record_button(fltk::Button
*, void*);
96 fltk::Group
*pattern_buttons
;
97 fltk::Button
*qbutton4
;
99 inline void cb_qbutton4_i(fltk::Button
*, void*);
100 static void cb_qbutton4(fltk::Button
*, void*);
102 fltk::Button
*qbutton8
;
104 inline void cb_qbutton8_i(fltk::Button
*, void*);
105 static void cb_qbutton8(fltk::Button
*, void*);
107 fltk::Button
*qbutton16
;
109 inline void cb_qbutton16_i(fltk::Button
*, void*);
110 static void cb_qbutton16(fltk::Button
*, void*);
112 fltk::Button
*qbutton32
;
114 inline void cb_qbutton32_i(fltk::Button
*, void*);
115 static void cb_qbutton32(fltk::Button
*, void*);
117 fltk::Button
*qbutton64
;
119 inline void cb_qbutton64_i(fltk::Button
*, void*);
120 static void cb_qbutton64(fltk::Button
*, void*);
122 fltk::Button
*qbutton128
;
124 inline void cb_qbutton128_i(fltk::Button
*, void*);
125 static void cb_qbutton128(fltk::Button
*, void*);
127 fltk::Button
*qbutton0
;
129 inline void cb_qbutton0_i(fltk::Button
*, void*);
130 static void cb_qbutton0(fltk::Button
*, void*);
132 fltk::Button
*quant1_button
;
133 fltk::Button
*quant0_button
;
134 fltk::Button
*tool_button
;
136 inline void cb_tool_button_i(fltk::Button
*, void*);
137 static void cb_tool_button(fltk::Button
*, void*);
139 fltk::Group
*song_buttons
;
140 fltk::Button
*color_toggle
;
142 inline void cb_color_toggle_i(fltk::Button
*, void*);
143 static void cb_color_toggle(fltk::Button
*, void*);
145 fltk::Button
*unclone_button
;
146 fltk::Button
*join_button
;
147 fltk::Button
*split_button
;
148 fltk::Button
*loop_toggle
;
150 inline void cb_loop_toggle_i(fltk::Button
*, void*);
151 static void cb_loop_toggle(fltk::Button
*, void*);
153 fltk::Button
*config_button
;
155 inline void cb_config_button_i(fltk::Button
*, void*);
156 static void cb_config_button(fltk::Button
*, void*);
158 fltk::Button
*scope_button
;
160 inline void cb_scope_button_i(fltk::Button
*, void*);
161 static void cb_scope_button(fltk::Button
*, void*);
163 fltk::Button
*file_button
;
165 inline void cb_file_button_i(fltk::Button
*, void*);
166 static void cb_file_button(fltk::Button
*, void*);
168 fltk::Button
*help_button
;
170 inline void cb_help_button_i(fltk::Button
*, void*);
171 static void cb_help_button(fltk::Button
*, void*);
173 fltk::Window
*config_window
;
174 fltk::ValueInput
*beats_per_measure
;
176 inline void cb_beats_per_measure_i(fltk::ValueInput
*, void*);
177 static void cb_beats_per_measure(fltk::ValueInput
*, void*);
179 fltk::ValueInput
*measures_per_phrase
;
181 inline void cb_measures_per_phrase_i(fltk::ValueInput
*, void*);
182 static void cb_measures_per_phrase(fltk::ValueInput
*, void*);
184 fltk::ValueOutput
*bpm_output
;
185 fltk::ThumbWheel
*bpm_wheel
;
187 inline void cb_bpm_wheel_i(fltk::ThumbWheel
*, void*);
188 static void cb_bpm_wheel(fltk::ThumbWheel
*, void*);
190 fltk::ValueInput
*measures_until_record
;
192 inline void cb_measures_until_record_i(fltk::ValueInput
*, void*);
193 static void cb_measures_until_record(fltk::ValueInput
*, void*);
195 fltk::CheckButton
*check_alwayscopy
;
197 inline void cb_check_alwayscopy_i(fltk::CheckButton
*, void*);
198 static void cb_check_alwayscopy(fltk::CheckButton
*, void*);
200 fltk::CheckButton
*check_autotrackname
;
202 inline void cb_check_autotrackname_i(fltk::CheckButton
*, void*);
203 static void cb_check_autotrackname(fltk::CheckButton
*, void*);
205 fltk::CheckButton
*check_passthru
;
207 inline void cb_check_passthru_i(fltk::CheckButton
*, void*);
208 static void cb_check_passthru(fltk::CheckButton
*, void*);
210 fltk::CheckButton
*check_playinsert
;
212 inline void cb_check_playinsert_i(fltk::CheckButton
*, void*);
213 static void cb_check_playinsert(fltk::CheckButton
*, void*);
215 fltk::CheckButton
*check_recordonchan
;
217 inline void cb_check_recordonchan_i(fltk::CheckButton
*, void*);
218 static void cb_check_recordonchan(fltk::CheckButton
*, void*);
220 fltk::CheckButton
*check_playmove
;
222 inline void cb_check_playmove_i(fltk::CheckButton
*, void*);
223 static void cb_check_playmove(fltk::CheckButton
*, void*);
225 fltk::CheckButton
*check_follow
;
227 inline void cb_check_follow_i(fltk::CheckButton
*, void*);
228 static void cb_check_follow(fltk::CheckButton
*, void*);
230 fltk::ValueInput
*default_velocity
;
232 inline void cb_default_velocity_i(fltk::ValueInput
*, void*);
233 static void cb_default_velocity(fltk::ValueInput
*, void*);
235 fltk::Choice
*menu_recordmode
;
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*);
244 fltk::Choice
*menu_rob
;
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*);
265 inline void cb_kg_l10_i(KeyGrabber
*, void*);
266 static void cb_kg_l10(KeyGrabber
*, void*);
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
;
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*);
318 fltk::Window
*scope_window
;
319 fltk::TextDisplay
*scope
;
321 inline void cb_on_i(fltk::Button
*, void*);
322 static void cb_on(fltk::Button
*, void*);