X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcpanel.h;h=7836d285dfbc8cb2e7b9369d1214adf59ddcd29d;hb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;hp=d78ae301ec8326ca69ae384f7e23aafe226fcb03;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/cpanel.h b/cinelerra-5.1/cinelerra/cpanel.h index d78ae301..7836d285 100644 --- a/cinelerra-5.1/cinelerra/cpanel.h +++ b/cinelerra-5.1/cinelerra/cpanel.h @@ -23,6 +23,7 @@ #define CPANEL_H #include "cwindowgui.inc" +#include "cpanel.inc" #include "edl.inc" #include "guicast.h" #include "mwindow.inc" @@ -34,11 +35,12 @@ public: ~CPanel(); void create_objects(); - void reposition_buttons(int x, int y); + void reposition_buttons(int x, int y, int h); void set_operation(int value); MWindow *mwindow; CWindowGUI *subwindow; + CPanelZoom *cpanel_zoom; int x, y, w, h; @@ -166,6 +168,17 @@ public: CPanel *gui; }; - +class CPanelZoom : public BC_FSlider +{ +public: + CPanelZoom(MWindow *mwindow, CPanel *gui, int x, int y, int h); + ~CPanelZoom(); + char *get_caption(); + int handle_event(); + int set_shown(int shown); + void update(float zoom); + MWindow *mwindow; + CPanel *gui; +}; #endif