-#define MINHUE -180
-#define MAXHUE 180
-#define MINSATURATION -100
-#define MAXSATURATION 100
-#define MINVALUE -100
-#define MAXVALUE 100
-
-
-
-
-
-
-class HueConfig
-{
-public:
- HueConfig();
-
- void copy_from(HueConfig &src);
- int equivalent(HueConfig &src);
- void interpolate(HueConfig &prev,
- HueConfig &next,
- long prev_frame,
- long next_frame,
- long current_frame);
- float hue, saturation, value;
-};
-
-class HueSlider : public BC_FSlider
-{
-public:
- HueSlider(HueEffect *plugin, int x, int y, int w);
- int handle_event();
- HueEffect *plugin;
-};
-
-class SaturationSlider : public BC_FSlider
-{
-public:
- SaturationSlider(HueEffect *plugin, int x, int y, int w);
- int handle_event();
- char* get_caption();
- HueEffect *plugin;
- char string[BCTEXTLEN];
-};
-
-class ValueSlider : public BC_FSlider
-{
-public:
- ValueSlider(HueEffect *plugin, int x, int y, int w);
- int handle_event();
- char* get_caption();
- HueEffect *plugin;
- char string[BCTEXTLEN];
-};
-
-class HueWindow : public PluginClientWindow
-{
-public:
- HueWindow(HueEffect *plugin);
- void create_objects();
- HueEffect *plugin;
- HueSlider *hue;
- SaturationSlider *saturation;
- ValueSlider *value;
-};