X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcpanel.h;h=a3e19430ed078db0527386404cd8c3b555a27fb0;hp=d78ae301ec8326ca69ae384f7e23aafe226fcb03;hb=502b6f3b6fd04f6b01c6d70dcb81aa304dd0db1c;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd diff --git a/cinelerra-5.1/cinelerra/cpanel.h b/cinelerra-5.1/cinelerra/cpanel.h index d78ae301..a3e19430 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,21 @@ 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); + int show_window(int flush=1) { return 0; } + int hide_window(int flush=1) { return 0; } + int show(int flush=1) { return BC_SubWindow::show_window(flush); } + int hide(int flush=1) { return BC_SubWindow::hide_window(flush); } + void update(float zoom); + MWindow *mwindow; + CPanel *gui; +}; #endif