#include "pluginpopup.inc"
#include "record.inc"
#include "remotecontrol.h"
-#include "record.inc"
#include "renderengine.inc"
#include "resourcepixmap.h"
#include "resourcethread.inc"
#include "timelinepane.inc"
#include "track.inc"
#include "trackcanvas.inc"
+#include "trackpopup.inc"
#include "trackscroll.inc"
#include "transitionpopup.inc"
+#include "wintv.inc"
+#include "x10tv.inc"
#include "zoombar.inc"
MButtons *mbuttons;
};
+class StackButton : public BC_GenericButton
+{
+public:
+ StackButton(MWindow *mwindow, int x, int y);
+ int handle_event();
+ void update();
+
+ MWindow *mwindow;
+};
+
class ProxyToggle : public BC_Toggle
{
public:
int focus_in_event();
int focus_out_event();
-// do_canvas - 1 for incremental drawing of resources
-// FORCE_REDRAW for delete and redraw of resources
-// IGNORE_THREAD to ignore picon thread
+// do_canvas -
+// NO_DRAW disable canvas draw
+// IGNORE_THREAD to ignore picon thread
+// NORMAL_DRAW for incremental drawing of resources
+// FORCE_REDRAW for delete and redraw of resources
void update(int scrollbars,
int do_canvas,
int timebar,
void update_proxy_toggle();
void update_plugintoggles();
void update_scrollbars(int flush);
- void draw_canvas(int mode, int hide_cursor);
+ void draw_canvas(int redraw, int hide_cursor);
void flash_canvas(int flush);
int show_window(int flush=1);
void deactivate_timeline();
int keyboard_listener(BC_WindowBase *wp);
int key_listener(int key);
void use_android_remote(int on);
+ int keyev_grab_remote();
int close_event();
int quit();
void stop_drawing();
int menu_w();
int menu_h();
// Draw on the status bar only.
- void show_message(const char *message, int color=-1);
+ void show_message(const char *message, int msg_color=-1, int box_color=-1);
void update_default_message();
void reset_default_message();
void default_message();
DbWindow *db_window;
SWindow *swindow;
// Popup menus
+ TrackPopup *track_menu;
EditPopup *edit_menu;
PluginPopup *plugin_menu;
KeyframePopup *keyframe_menu;
MButtons *mbuttons;
FFMpegToggle *ffmpeg_toggle;
ProxyToggle *proxy_toggle;
+ StackButton *stack_button;
PaneDivider *x_divider;
PaneDivider *y_divider;
TimelinePane *pane[TOTAL_PANES];
// remote control
AndroidControl *android_control;
RemoteControl *remote_control;
- CWindowRemoteHandler *cwindow_remote_handler;
- RecordRemoteHandler *record_remote_handler;
+ WinTV *wintv;
+ X10TV *x10tv;
+ RemoteHandler *cwindow_remote_handler;
+ RemoteHandler *record_remote_handler;
};
#endif