5 #include "defaults.inc"
8 #include "pluginvclient.h"
9 #include "rotateframe.inc"
28 int equivalent(RotateConfig
&that
);
29 void copy_from(RotateConfig
&that
);
34 class RotateToggle
: public BC_Radial
37 RotateToggle(RotateWindow
*window
,
51 class RotateFine
: public BC_FPot
54 RotateFine(RotateWindow
*window
, RotateMain
*plugin
, int x
, int y
);
61 class RotateText
: public BC_TextBox
64 RotateText(RotateWindow
*window
, RotateMain
*plugin
, int x
, int y
);
71 class RotateWindow
: public BC_Window
74 RotateWindow(RotateMain
*plugin
, int x
, int y
);
83 RotateToggle
*toggle0
;
84 RotateToggle
*toggle90
;
85 RotateToggle
*toggle180
;
86 RotateToggle
*toggle270
;
91 class RotateThread
: public Thread
94 RotateThread(RotateMain
*plugin
);
99 Mutex completion
; // prevent loading data until the GUI is started
101 RotateWindow
*window
;
105 class RotateMain
: public PluginVClient
108 RotateMain(PluginServer
*server
);
117 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
119 char* plugin_title();
125 void load_configuration();
128 void save_data(KeyFrame
*keyframe
);
129 void read_data(KeyFrame
*keyframe
);
147 RotateThread
*thread
;
149 int need_reconfigure
;