#define CPANEL_H
#include "cwindowgui.inc"
+#include "cpanel.inc"
#include "edl.inc"
#include "guicast.h"
#include "mwindow.inc"
~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;
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