10 #include "../colors/colorpicker.h"
16 PLUGIN_THREAD_HEADER(TitleMain, TitleThread, TitleWindow)
20 class TitleFontTumble;
25 class TitleColorButton;
26 class TitleColorStrokeButton;
29 class TitleDropShadow;
39 class TitleRight;class TitleTop;
42 class TitleColorThread;
43 class TitleColorStrokeThread;
47 class TitleWindow : public BC_Window
50 TitleWindow(TitleMain *client, int x, int y);
53 void create_objects();
55 int resize_event(int w, int h);
57 void update_justification();
66 TitleFontTumble *font_tumbler;
71 BC_Title *dropshadow_title;
72 TitleDropShadow *dropshadow;
73 BC_Title *style_title;
79 TitleColorStrokeButton *color_stroke_button;
80 TitleColorStrokeThread *color_stroke_thread;
81 BC_Title *strokewidth_title;
82 TitleStrokeW *stroke_width;
83 int color_stroke_x, color_stroke_y;
88 BC_Title *encoding_title;
90 TitleEncoding *encoding;
91 TitleColorButton *color_button;
92 TitleColorThread *color_thread;
93 BC_Title *motion_title;
96 BC_Title *fadein_title;
98 BC_Title *fadeout_title;
100 BC_Title *text_title;
102 BC_Title *justify_title;
109 BC_Title *speed_title;
111 TitleTimecode *timecode;
114 ArrayList<BC_ListBoxItem*> sizes;
115 ArrayList<BC_ListBoxItem*> encodings;
116 ArrayList<BC_ListBoxItem*> paths;
117 ArrayList<BC_ListBoxItem*> fonts;
121 class TitleFontTumble : public BC_Tumbler
124 TitleFontTumble(TitleMain *client, TitleWindow *window, int x, int y);
126 int handle_up_event();
127 int handle_down_event();
133 class TitleItalic : public BC_CheckBox
136 TitleItalic(TitleMain *client, TitleWindow *window, int x, int y);
141 class TitleBold : public BC_CheckBox
144 TitleBold(TitleMain *client, TitleWindow *window, int x, int y);
150 class TitleStroke : public BC_CheckBox
153 TitleStroke(TitleMain *client, TitleWindow *window, int x, int y);
160 class TitleSize : public BC_PopupTextBox
163 TitleSize(TitleMain *client, TitleWindow *window, int x, int y, char *text);
166 void update(int size);
170 class TitleEncoding : public BC_PopupTextBox
173 TitleEncoding(TitleMain *client, TitleWindow *window, int x, int y);
179 class TitleColorButton : public BC_GenericButton
182 TitleColorButton(TitleMain *client, TitleWindow *window, int x, int y);
187 class TitleColorStrokeButton : public BC_GenericButton
190 TitleColorStrokeButton(TitleMain *client, TitleWindow *window, int x, int y);
195 class TitleMotion : public BC_PopupTextBox
198 TitleMotion(TitleMain *client, TitleWindow *window, int x, int y);
203 class TitleLoop : public BC_CheckBox
206 TitleLoop(TitleMain *client, int x, int y);
211 class TitleTimecode : public BC_CheckBox
214 TitleTimecode(TitleMain *client, int x, int y);
219 class TitleFade : public BC_TextBox
222 TitleFade(TitleMain *client, TitleWindow *window, double *value, int x, int y);
228 class TitleFont : public BC_PopupTextBox
231 TitleFont(TitleMain *client, TitleWindow *window, int x, int y);
236 class TitleText : public BC_ScrollTextBox
239 TitleText(TitleMain *client,
249 class TitleX : public BC_TumbleTextBox
252 TitleX(TitleMain *client, TitleWindow *window, int x, int y);
257 class TitleY : public BC_TumbleTextBox
260 TitleY(TitleMain *client, TitleWindow *window, int x, int y);
265 class TitleStrokeW : public BC_TumbleTextBox
268 TitleStrokeW(TitleMain *client, TitleWindow *window, int x, int y);
273 class TitleDropShadow : public BC_TumbleTextBox
276 TitleDropShadow(TitleMain *client, TitleWindow *window, int x, int y);
282 class TitleSpeed : public BC_TumbleTextBox
285 TitleSpeed(TitleMain *client, TitleWindow *window, int x, int y);
290 class TitleLeft : public BC_Radial
293 TitleLeft(TitleMain *client, TitleWindow *window, int x, int y);
298 class TitleCenter : public BC_Radial
301 TitleCenter(TitleMain *client, TitleWindow *window, int x, int y);
306 class TitleRight : public BC_Radial
309 TitleRight(TitleMain *client, TitleWindow *window, int x, int y);
315 class TitleTop : public BC_Radial
318 TitleTop(TitleMain *client, TitleWindow *window, int x, int y);
323 class TitleMid : public BC_Radial
326 TitleMid(TitleMain *client, TitleWindow *window, int x, int y);
331 class TitleBottom : public BC_Radial
334 TitleBottom(TitleMain *client, TitleWindow *window, int x, int y);
340 class TitleColorThread : public ColorThread
343 TitleColorThread(TitleMain *client, TitleWindow *window);
344 int handle_event(int output);
349 class TitleColorStrokeThread : public ColorThread
352 TitleColorStrokeThread(TitleMain *client, TitleWindow *window);
353 int handle_event(int output);