4 class MasterLayer
: public BC_PopupMenu
7 MasterLayer(MotionMain
*plugin
, MotionWindow
*gui
, int x
, int y
);
10 static int calculate_w(MotionWindow
*gui
);
11 static int from_text(char *text
);
12 static char* to_text(int mode
);
17 class Mode1
: public BC_PopupMenu
20 Mode1(MotionMain
*plugin
, MotionWindow
*gui
, int x
, int y
);
22 void create_objects();
23 static int calculate_w(MotionWindow
*gui
);
24 static int from_text(char *text
);
25 static char* to_text(int mode
);
30 class Mode2
: public BC_PopupMenu
33 Mode2(MotionMain
*plugin
, MotionWindow
*gui
, int x
, int y
);
35 void create_objects();
36 static int calculate_w(MotionWindow
*gui
);
37 static int from_text(char *text
);
38 static char* to_text(int mode
);
43 class Mode3
: public BC_PopupMenu
46 Mode3(MotionMain
*plugin
, MotionWindow
*gui
, int x
, int y
);
48 void create_objects();
49 static int calculate_w(MotionWindow
*gui
);
50 static void from_text(int *horizontal_only
, int *vertical_only
, char *text
);
51 static char* to_text(int horizontal_only
, int vertical_only
);
57 class TrackSingleFrame
: public BC_Radial
60 TrackSingleFrame(MotionMain
*plugin
,
69 class TrackFrameNumber
: public BC_TextBox
72 TrackFrameNumber(MotionMain
*plugin
,
81 class TrackPreviousFrame
: public BC_Radial
84 TrackPreviousFrame(MotionMain
*plugin
,
93 class PreviousFrameSameBlock
: public BC_Radial
96 PreviousFrameSameBlock(MotionMain
*plugin
,
105 class GlobalRange
: public BC_IPot
108 GlobalRange(MotionMain
*plugin
,
117 class RotationRange
: public BC_IPot
120 RotationRange(MotionMain
*plugin
,
127 class BlockSize
: public BC_IPot
130 BlockSize(MotionMain
*plugin
,
139 class MotionBlockX
: public BC_FPot
142 MotionBlockX(MotionMain
*plugin
,
151 class MotionBlockY
: public BC_FPot
154 MotionBlockY(MotionMain
*plugin
,
163 class MotionBlockXText
: public BC_TextBox
166 MotionBlockXText(MotionMain
*plugin
,
175 class MotionBlockYText
: public BC_TextBox
178 MotionBlockYText(MotionMain
*plugin
,
187 class GlobalSearchPositions
: public BC_PopupMenu
190 GlobalSearchPositions(MotionMain
*plugin
,
194 void create_objects();
199 class RotationSearchPositions
: public BC_PopupMenu
202 RotationSearchPositions(MotionMain
*plugin
,
206 void create_objects();
211 class MotionMagnitude
: public BC_IPot
214 MotionMagnitude(MotionMain
*plugin
,
221 class MotionReturnSpeed
: public BC_IPot
224 MotionReturnSpeed(MotionMain
*plugin
,
233 class MotionDrawVectors
: public BC_CheckBox
236 MotionDrawVectors(MotionMain
*plugin
,
246 class MotionGlobal
: public BC_CheckBox
249 MotionGlobal(MotionMain
*plugin
,
258 class MotionRotate
: public BC_CheckBox
261 MotionRotate(MotionMain
*plugin
,
272 class MotionWindow
: public BC_Window
275 MotionWindow(MotionMain
*plugin
, int x
, int y
);
278 int create_objects();
281 char* get_radius_title();
283 GlobalRange
*global_range_w
;
284 GlobalRange
*global_range_h
;
285 RotationRange
*rotation_range
;
286 BlockSize
*global_block_w
;
287 BlockSize
*global_block_h
;
288 BlockSize
*rotation_block_w
;
289 BlockSize
*rotation_block_h
;
290 MotionBlockX
*block_x
;
291 MotionBlockY
*block_y
;
292 MotionBlockXText
*block_x_text
;
293 MotionBlockYText
*block_y_text
;
294 GlobalSearchPositions
*global_search_positions
;
295 RotationSearchPositions
*rotation_search_positions
;
296 MotionMagnitude
*magnitude
;
297 MotionReturnSpeed
*return_speed
;
299 MotionDrawVectors
*vectors
;
300 MotionGlobal
*global
;
301 MotionRotate
*rotate
;
302 TrackSingleFrame
*track_single
;
303 TrackFrameNumber
*track_frame_number
;
304 TrackPreviousFrame
*track_previous
;
305 PreviousFrameSameBlock
*previous_same
;
306 MasterLayer
*master_layer
;
315 PLUGIN_THREAD_HEADER(MotionMain
, MotionThread
, MotionWindow
)