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>
15 #include <fltk/ThumbWheel.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/CheckButton.h>
29 #include <fltk/Choice.h>
30 #include <fltk/Item.h>
31 #include <fltk/Input.h>
32 #include <fltk/TextEditor.h>
33 #include <fltk/TextDisplay.h>
34 #include <fltk/InvisibleBox.h>
39 fltk::Window
*main_window
;
41 inline void cb_main_window_i(fltk::Window
*, void*);
42 static void cb_main_window(fltk::Window
*, void*);
44 fltk::Group
*song_edit
;
45 TrackInfo
*track_info
;
47 inline void cb_line_i(fltk::Button
*, void*);
48 static void cb_line(fltk::Button
*, void*);
50 Timeline
*song_timeline
;
51 fltk::Group
*song_scrollgroup
;
53 fltk::Scrollbar
*song_vscroll
;
55 inline void cb_song_vscroll_i(fltk::Scrollbar
*, void*);
56 static void cb_song_vscroll(fltk::Scrollbar
*, void*);
58 fltk::ThumbWheel
*song_hscroll
;
60 inline void cb_song_hscroll_i(fltk::ThumbWheel
*, void*);
61 static void cb_song_hscroll(fltk::ThumbWheel
*, void*);
63 fltk::Group
*pattern_edit
;
64 Timeline
*pattern_timeline
;
65 fltk::Group
*pattern_scrollgroup
;
66 PianoRoll
*piano_roll
;
67 fltk::Scrollbar
*pattern_vscroll
;
69 inline void cb_pattern_vscroll_i(fltk::Scrollbar
*, void*);
70 static void cb_pattern_vscroll(fltk::Scrollbar
*, void*);
72 fltk::ThumbWheel
*pattern_hscroll
;
74 inline void cb_pattern_hscroll_i(fltk::ThumbWheel
*, void*);
75 static void cb_pattern_hscroll(fltk::ThumbWheel
*, void*);
77 EventEdit
*event_edit
;
78 EventMenu
*event_menu
;
79 fltk::Button
*event_menu_button
;
81 inline void cb_event_menu_button_i(fltk::Button
*, void*);
82 static void cb_event_menu_button(fltk::Button
*, void*);
83 inline void cb_L_i(fltk::Button
*, void*);
84 static void cb_L(fltk::Button
*, void*);
85 inline void cb_C_i(fltk::Button
*, void*);
86 static void cb_C(fltk::Button
*, void*);
87 inline void cb_X_i(fltk::Button
*, void*);
88 static void cb_X(fltk::Button
*, void*);
89 inline void cb_Z_i(fltk::Button
*, void*);
90 static void cb_Z(fltk::Button
*, void*);
92 TrackSelect
*track_select
;
93 SampleView
*sample_view
;
96 inline void cb__i(fltk::Button
*, void*);
97 static void cb_(fltk::Button
*, void*);
99 fltk::Button
*play_button
;
101 inline void cb_play_button_i(fltk::Button
*, void*);
102 static void cb_play_button(fltk::Button
*, void*);
104 fltk::Button
*stop_button
;
106 inline void cb_stop_button_i(fltk::Button
*, void*);
107 static void cb_stop_button(fltk::Button
*, void*);
109 fltk::Button
*record_button
;
111 inline void cb_record_button_i(fltk::Button
*, void*);
112 static void cb_record_button(fltk::Button
*, void*);
114 Metronome
*metronome
;
115 fltk::Group
*pattern_buttons
;
116 fltk::Button
*qbutton4
;
118 inline void cb_qbutton4_i(fltk::Button
*, void*);
119 static void cb_qbutton4(fltk::Button
*, void*);
121 fltk::Button
*qbutton8
;
123 inline void cb_qbutton8_i(fltk::Button
*, void*);
124 static void cb_qbutton8(fltk::Button
*, void*);
126 fltk::Button
*qbutton16
;
128 inline void cb_qbutton16_i(fltk::Button
*, void*);
129 static void cb_qbutton16(fltk::Button
*, void*);
131 fltk::Button
*qbutton32
;
133 inline void cb_qbutton32_i(fltk::Button
*, void*);
134 static void cb_qbutton32(fltk::Button
*, void*);
136 fltk::Button
*qbutton64
;
138 inline void cb_qbutton64_i(fltk::Button
*, void*);
139 static void cb_qbutton64(fltk::Button
*, void*);
141 fltk::Button
*qbutton128
;
143 inline void cb_qbutton128_i(fltk::Button
*, void*);
144 static void cb_qbutton128(fltk::Button
*, void*);
146 fltk::Button
*qbutton0
;
148 inline void cb_qbutton0_i(fltk::Button
*, void*);
149 static void cb_qbutton0(fltk::Button
*, void*);
151 fltk::Button
*quant1_button
;
152 fltk::Button
*quant0_button
;
153 fltk::Button
*tool_button
;
155 inline void cb_tool_button_i(fltk::Button
*, void*);
156 static void cb_tool_button(fltk::Button
*, void*);
158 fltk::Group
*song_buttons
;
159 fltk::Button
*edit_button
;
161 inline void cb_edit_button_i(fltk::Button
*, void*);
162 static void cb_edit_button(fltk::Button
*, void*);
164 fltk::Button
*color_button
;
166 inline void cb_color_button_i(fltk::Button
*, void*);
167 static void cb_color_button(fltk::Button
*, void*);
169 fltk::Button
*unclone_button
;
171 inline void cb_unclone_button_i(fltk::Button
*, void*);
172 static void cb_unclone_button(fltk::Button
*, void*);
174 fltk::Button
*split_button
;
176 inline void cb_split_button_i(fltk::Button
*, void*);
177 static void cb_split_button(fltk::Button
*, void*);
179 fltk::Button
*join_button
;
181 inline void cb_join_button_i(fltk::Button
*, void*);
182 static void cb_join_button(fltk::Button
*, void*);
184 fltk::Button
*loop_toggle
;
186 inline void cb_loop_toggle_i(fltk::Button
*, void*);
187 static void cb_loop_toggle(fltk::Button
*, void*);
189 fltk::Button
*conf_button
;
191 inline void cb_conf_button_i(fltk::Button
*, void*);
192 static void cb_conf_button(fltk::Button
*, void*);
194 fltk::Button
*scope_button
;
196 inline void cb_scope_button_i(fltk::Button
*, void*);
197 static void cb_scope_button(fltk::Button
*, void*);
199 fltk::Button
*file_button
;
201 inline void cb_file_button_i(fltk::Button
*, void*);
202 static void cb_file_button(fltk::Button
*, void*);
204 fltk::Button
*help_button
;
206 inline void cb_help_button_i(fltk::Button
*, void*);
207 static void cb_help_button(fltk::Button
*, void*);
209 fltk::Window
*config_window
;
211 inline void cb_config_window_i(fltk::Window
*, void*);
212 static void cb_config_window(fltk::Window
*, void*);
214 fltk::ValueInput
*beats_per_measure
;
216 inline void cb_beats_per_measure_i(fltk::ValueInput
*, void*);
217 static void cb_beats_per_measure(fltk::ValueInput
*, void*);
219 fltk::ValueInput
*measures_per_phrase
;
221 inline void cb_measures_per_phrase_i(fltk::ValueInput
*, void*);
222 static void cb_measures_per_phrase(fltk::ValueInput
*, void*);
224 fltk::ValueOutput
*bpm_output
;
225 fltk::ThumbWheel
*bpm_wheel
;
227 inline void cb_bpm_wheel_i(fltk::ThumbWheel
*, void*);
228 static void cb_bpm_wheel(fltk::ThumbWheel
*, void*);
230 fltk::ValueInput
*measures_until_record
;
232 inline void cb_measures_until_record_i(fltk::ValueInput
*, void*);
233 static void cb_measures_until_record(fltk::ValueInput
*, void*);
235 fltk::CheckButton
*check_alwayscopy
;
237 inline void cb_check_alwayscopy_i(fltk::CheckButton
*, void*);
238 static void cb_check_alwayscopy(fltk::CheckButton
*, void*);
240 fltk::CheckButton
*check_autotrackname
;
242 inline void cb_check_autotrackname_i(fltk::CheckButton
*, void*);
243 static void cb_check_autotrackname(fltk::CheckButton
*, void*);
245 fltk::CheckButton
*check_passthru
;
247 inline void cb_check_passthru_i(fltk::CheckButton
*, void*);
248 static void cb_check_passthru(fltk::CheckButton
*, void*);
250 fltk::CheckButton
*check_playinsert
;
252 inline void cb_check_playinsert_i(fltk::CheckButton
*, void*);
253 static void cb_check_playinsert(fltk::CheckButton
*, void*);
255 fltk::CheckButton
*check_recordonchan
;
257 inline void cb_check_recordonchan_i(fltk::CheckButton
*, void*);
258 static void cb_check_recordonchan(fltk::CheckButton
*, void*);
260 fltk::CheckButton
*check_playmove
;
262 inline void cb_check_playmove_i(fltk::CheckButton
*, void*);
263 static void cb_check_playmove(fltk::CheckButton
*, void*);
265 fltk::CheckButton
*check_follow
;
267 inline void cb_check_follow_i(fltk::CheckButton
*, void*);
268 static void cb_check_follow(fltk::CheckButton
*, void*);
270 fltk::ValueInput
*default_velocity
;
272 inline void cb_default_velocity_i(fltk::ValueInput
*, void*);
273 static void cb_default_velocity(fltk::ValueInput
*, void*);
275 fltk::Choice
*menu_recordmode
;
277 inline void cb_merge_i(fltk::Item
*, void*);
278 static void cb_merge(fltk::Item
*, void*);
279 inline void cb_overwrite_i(fltk::Item
*, void*);
280 static void cb_overwrite(fltk::Item
*, void*);
281 inline void cb_layer_i(fltk::Item
*, void*);
282 static void cb_layer(fltk::Item
*, void*);
284 fltk::Choice
*menu_rob
;
286 inline void cb_do_i(fltk::Item
*, void*);
287 static void cb_do(fltk::Item
*, void*);
288 inline void cb_new_i(fltk::Item
*, void*);
289 static void cb_new(fltk::Item
*, void*);
290 inline void cb_extend_i(fltk::Item
*, void*);
291 static void cb_extend(fltk::Item
*, void*);
305 inline void cb_kg_l10_i(KeyGrabber
*, void*);
306 static void cb_kg_l10(KeyGrabber
*, void*);
339 fltk::Window
*help_window
;
341 inline void cb_help_window_i(fltk::Window
*, void*);
342 static void cb_help_window(fltk::Window
*, void*);
344 fltk::Input
*title_text
;
345 fltk::Input
*author_text
;
346 fltk::TextEditor
*info_text
;
347 fltk::Window
*action_window
;
349 inline void cb_action_window_i(fltk::Window
*, void*);
350 static void cb_action_window(fltk::Window
*, void*);
351 inline void cb_new1_i(fltk::Button
*, void*);
352 static void cb_new1(fltk::Button
*, void*);
353 inline void cb_save_i(fltk::Button
*, void*);
354 static void cb_save(fltk::Button
*, void*);
355 inline void cb_save1_i(fltk::Button
*, void*);
356 static void cb_save1(fltk::Button
*, void*);
357 inline void cb_load_i(fltk::Button
*, void*);
358 static void cb_load(fltk::Button
*, void*);
359 inline void cb_import_i(fltk::Button
*, void*);
360 static void cb_import(fltk::Button
*, void*);
361 inline void cb_export_i(fltk::Button
*, void*);
362 static void cb_export(fltk::Button
*, void*);
364 fltk::Window
*scope_window
;
366 inline void cb_scope_window_i(fltk::Window
*, void*);
367 static void cb_scope_window(fltk::Window
*, void*);
369 fltk::TextDisplay
*scope
;
371 inline void cb_on_i(fltk::Button
*, void*);
372 static void cb_on(fltk::Button
*, void*);