bsd lang segv fix, enable bsd lv2, lv2 gui enable fix, proxy/ffmpeg toggle resize...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / cpanel.h
index d78ae301ec8326ca69ae384f7e23aafe226fcb03..a3e19430ed078db0527386404cd8c3b555a27fb0 100644 (file)
@@ -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