X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fzoombar.h;h=9026e31626731156cd30b6b6d7a186ff9fb4dece;hp=729a2266c848fb00f21b8d6f4d6e34eb002b0ace;hb=f27f3030943396a02f563f3767d400939b70fbd8;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/zoombar.h b/cinelerra-5.1/cinelerra/zoombar.h index 729a2266..9026e316 100644 --- a/cinelerra-5.1/cinelerra/zoombar.h +++ b/cinelerra-5.1/cinelerra/zoombar.h @@ -22,23 +22,13 @@ #ifndef ZOOMBAR_H #define ZOOMBAR_H -class FromTextBox; -class LengthTextBox; -class ToTextBox; - - -class SampleZoomPanel; -class AmpZoomPanel; -class TrackZoomPanel; -class AutoZoom; -class AutoTypeMenu; -class ZoomTextBox; - #include "guicast.h" #include "mwindow.inc" #include "mwindowgui.inc" +#include "zoombar.inc" #include "zoompanel.h" + class ZoomBar : public BC_SubWindow { public: @@ -66,12 +56,12 @@ public: AutoTypeMenu *auto_type; ZoomTextBox *auto_zoom_text; - BC_Title *zoom_value, *playback_value; LengthTextBox *length_value; FromTextBox *from_value; ToTextBox *to_value; + TitleAlphaBar *title_alpha_bar; + TitleAlphaText *title_alpha_text; char string[256], string2[256]; - int64_t old_position; }; class SampleZoomPanel : public ZoomPanel @@ -138,12 +128,6 @@ public: }; - - - - - - class FromTextBox : public BC_TextBox { public: @@ -178,7 +162,22 @@ public: ZoomBar *zoombar; }; +class TitleAlphaBar : public BC_FSlider +{ +public: + 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; +}; #endif