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 "pianoroll.h"
17 #include "eventedit.h"
18 #include "eventmenu.h"
19 #include "trackselect.h"
20 #include "sampleview.h"
22 #include <metronome.h>
24 #include <fltk/TabGroup.h>
25 #include <fltk/ValueInput.h>
26 #include <fltk/ValueOutput.h>
27 #include <fltk/ThumbWheel.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
;
54 fltk::Scrollbar
*song_hscroll
;
55 fltk::Group
*pattern_edit
;
56 Timeline
*pattern_timeline
;
57 fltk::Group
*pattern_scrollgroup
;
58 PianoRoll
*piano_roll
;
59 EventEdit
*event_edit
;
60 EventMenu
*event_menu
;
61 fltk::Button
*event_menu_button
;
63 inline void cb_event_menu_button_i(fltk::Button
*, void*);
64 static void cb_event_menu_button(fltk::Button
*, void*);
65 inline void cb_L_i(fltk::Button
*, void*);
66 static void cb_L(fltk::Button
*, void*);
67 inline void cb_C_i(fltk::Button
*, void*);
68 static void cb_C(fltk::Button
*, void*);
69 inline void cb_X_i(fltk::Button
*, void*);
70 static void cb_X(fltk::Button
*, void*);
71 inline void cb_Z_i(fltk::Button
*, void*);
72 static void cb_Z(fltk::Button
*, void*);
74 TrackSelect
*track_select
;
75 SampleView
*sample_view
;
78 inline void cb__i(fltk::Button
*, void*);
79 static void cb_(fltk::Button
*, void*);
81 fltk::Button
*play_button
;
83 inline void cb_play_button_i(fltk::Button
*, void*);
84 static void cb_play_button(fltk::Button
*, void*);
86 fltk::Button
*stop_button
;
88 inline void cb_stop_button_i(fltk::Button
*, void*);
89 static void cb_stop_button(fltk::Button
*, void*);
91 fltk::Button
*record_button
;
93 inline void cb_record_button_i(fltk::Button
*, void*);
94 static void cb_record_button(fltk::Button
*, void*);
97 fltk::Group
*pattern_buttons
;
98 fltk::Button
*qbutton4
;
100 inline void cb_qbutton4_i(fltk::Button
*, void*);
101 static void cb_qbutton4(fltk::Button
*, void*);
103 fltk::Button
*qbutton8
;
105 inline void cb_qbutton8_i(fltk::Button
*, void*);
106 static void cb_qbutton8(fltk::Button
*, void*);
108 fltk::Button
*qbutton16
;
110 inline void cb_qbutton16_i(fltk::Button
*, void*);
111 static void cb_qbutton16(fltk::Button
*, void*);
113 fltk::Button
*qbutton32
;
115 inline void cb_qbutton32_i(fltk::Button
*, void*);
116 static void cb_qbutton32(fltk::Button
*, void*);
118 fltk::Button
*qbutton64
;
120 inline void cb_qbutton64_i(fltk::Button
*, void*);
121 static void cb_qbutton64(fltk::Button
*, void*);
123 fltk::Button
*qbutton128
;
125 inline void cb_qbutton128_i(fltk::Button
*, void*);
126 static void cb_qbutton128(fltk::Button
*, void*);
128 fltk::Button
*qbutton0
;
130 inline void cb_qbutton0_i(fltk::Button
*, void*);
131 static void cb_qbutton0(fltk::Button
*, void*);
133 fltk::Button
*quant1_button
;
134 fltk::Button
*quant0_button
;
135 fltk::Button
*tool_button
;
137 inline void cb_tool_button_i(fltk::Button
*, void*);
138 static void cb_tool_button(fltk::Button
*, void*);
140 fltk::Group
*song_buttons
;
141 fltk::Button
*color_toggle
;
143 inline void cb_color_toggle_i(fltk::Button
*, void*);
144 static void cb_color_toggle(fltk::Button
*, void*);
146 fltk::Button
*unclone_button
;
147 fltk::Button
*join_button
;
148 fltk::Button
*split_button
;
149 fltk::Button
*loop_toggle
;
151 inline void cb_loop_toggle_i(fltk::Button
*, void*);
152 static void cb_loop_toggle(fltk::Button
*, void*);
154 fltk::Button
*config_button
;
156 inline void cb_config_button_i(fltk::Button
*, void*);
157 static void cb_config_button(fltk::Button
*, void*);
159 fltk::Button
*scope_button
;
161 inline void cb_scope_button_i(fltk::Button
*, void*);
162 static void cb_scope_button(fltk::Button
*, void*);
164 fltk::Button
*file_button
;
166 inline void cb_file_button_i(fltk::Button
*, void*);
167 static void cb_file_button(fltk::Button
*, void*);
169 fltk::Button
*help_button
;
171 inline void cb_help_button_i(fltk::Button
*, void*);
172 static void cb_help_button(fltk::Button
*, void*);
174 fltk::Window
*config_window
;
175 fltk::ValueInput
*beats_per_measure
;
177 inline void cb_beats_per_measure_i(fltk::ValueInput
*, void*);
178 static void cb_beats_per_measure(fltk::ValueInput
*, void*);
180 fltk::ValueInput
*measures_per_phrase
;
182 inline void cb_measures_per_phrase_i(fltk::ValueInput
*, void*);
183 static void cb_measures_per_phrase(fltk::ValueInput
*, void*);
185 fltk::ValueOutput
*bpm_output
;
186 fltk::ThumbWheel
*bpm_wheel
;
188 inline void cb_bpm_wheel_i(fltk::ThumbWheel
*, void*);
189 static void cb_bpm_wheel(fltk::ThumbWheel
*, void*);
191 fltk::ValueInput
*measures_until_record
;
193 inline void cb_measures_until_record_i(fltk::ValueInput
*, void*);
194 static void cb_measures_until_record(fltk::ValueInput
*, void*);
196 fltk::CheckButton
*check_alwayscopy
;
198 inline void cb_check_alwayscopy_i(fltk::CheckButton
*, void*);
199 static void cb_check_alwayscopy(fltk::CheckButton
*, void*);
201 fltk::CheckButton
*check_autotrackname
;
203 inline void cb_check_autotrackname_i(fltk::CheckButton
*, void*);
204 static void cb_check_autotrackname(fltk::CheckButton
*, void*);
206 fltk::CheckButton
*check_passthru
;
208 inline void cb_check_passthru_i(fltk::CheckButton
*, void*);
209 static void cb_check_passthru(fltk::CheckButton
*, void*);
211 fltk::CheckButton
*check_playinsert
;
213 inline void cb_check_playinsert_i(fltk::CheckButton
*, void*);
214 static void cb_check_playinsert(fltk::CheckButton
*, void*);
216 fltk::CheckButton
*check_recordonchan
;
218 inline void cb_check_recordonchan_i(fltk::CheckButton
*, void*);
219 static void cb_check_recordonchan(fltk::CheckButton
*, void*);
221 fltk::CheckButton
*check_playmove
;
223 inline void cb_check_playmove_i(fltk::CheckButton
*, void*);
224 static void cb_check_playmove(fltk::CheckButton
*, void*);
226 fltk::CheckButton
*check_follow
;
228 inline void cb_check_follow_i(fltk::CheckButton
*, void*);
229 static void cb_check_follow(fltk::CheckButton
*, void*);
231 fltk::ValueInput
*default_velocity
;
233 inline void cb_default_velocity_i(fltk::ValueInput
*, void*);
234 static void cb_default_velocity(fltk::ValueInput
*, void*);
236 fltk::Choice
*menu_recordmode
;
238 inline void cb_merge_i(fltk::Item
*, void*);
239 static void cb_merge(fltk::Item
*, void*);
240 inline void cb_overwrite_i(fltk::Item
*, void*);
241 static void cb_overwrite(fltk::Item
*, void*);
242 inline void cb_layer_i(fltk::Item
*, void*);
243 static void cb_layer(fltk::Item
*, void*);
245 fltk::Choice
*menu_rob
;
247 inline void cb_do_i(fltk::Item
*, void*);
248 static void cb_do(fltk::Item
*, void*);
249 inline void cb_new_i(fltk::Item
*, void*);
250 static void cb_new(fltk::Item
*, void*);
251 inline void cb_extend_i(fltk::Item
*, void*);
252 static void cb_extend(fltk::Item
*, void*);
266 inline void cb_kg_l10_i(KeyGrabber
*, void*);
267 static void cb_kg_l10(KeyGrabber
*, void*);
300 fltk::Window
*help_window
;
301 fltk::Input
*title_text
;
302 fltk::Input
*author_text
;
303 fltk::TextEditor
*info_text
;
304 fltk::Window
*action_window
;
306 inline void cb_new1_i(fltk::Button
*, void*);
307 static void cb_new1(fltk::Button
*, void*);
308 inline void cb_save_i(fltk::Button
*, void*);
309 static void cb_save(fltk::Button
*, void*);
310 inline void cb_save1_i(fltk::Button
*, void*);
311 static void cb_save1(fltk::Button
*, void*);
312 inline void cb_load_i(fltk::Button
*, void*);
313 static void cb_load(fltk::Button
*, void*);
314 inline void cb_import_i(fltk::Button
*, void*);
315 static void cb_import(fltk::Button
*, void*);
316 inline void cb_export_i(fltk::Button
*, void*);
317 static void cb_export(fltk::Button
*, void*);
319 fltk::Window
*scope_window
;
320 fltk::TextDisplay
*scope
;
322 inline void cb_on_i(fltk::Button
*, void*);
323 static void cb_on(fltk::Button
*, void*);