add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / zoombar.h
index c013b019cc33ed240d7745a80f736fd6f3c8ab1c..6c95a3b1d1d7eec33a75d933e407ec86974a2dd5 100644 (file)
@@ -42,6 +42,8 @@ public:
        void redraw_time_dependancies();
        int update();          // redraw the current values
        void update_autozoom();
+       void update_autozoom(int grouptype, int color);
+       void update_autozoom(int color);
        int update_clocks();
        int update_playback(int64_t new_position);       // update the playback position
        int set_selection(int which_one);
@@ -59,7 +61,8 @@ public:
        LengthTextBox *length_value;
        FromTextBox *from_value;
        ToTextBox *to_value;
-       TitleBarAlpha *title_alpha;
+       TitleAlphaBar *title_alpha_bar;
+       TitleAlphaText *title_alpha_text;
        char string[256], string2[256];
 };
 
@@ -161,10 +164,19 @@ public:
        ZoomBar *zoombar;
 };
 
-class TitleBarAlpha : public BC_FSlider
+class TitleAlphaBar : public BC_FSlider
 {
 public:
-       TitleBarAlpha(MWindow *mwindow, ZoomBar *zoombar, int x, int y);
+       TitleAlphaBar(MWindow *mwindow, ZoomBar *zoombar, int x, int y);
+       int handle_event();
+       MWindow *mwindow;
+       ZoomBar *zoombar;
+};
+
+class TitleAlphaText : public BC_TextBox
+{
+public:
+       TitleAlphaText(MWindow *mwindow, ZoomBar *zoombar, int x, int y);
        int handle_event();
        MWindow *mwindow;
        ZoomBar *zoombar;