wintv remote control + kernel patch, add codec fileref, amp up OpenEDL, add loadmode...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mwindowgui.h
index 592e38767f674270337fdabf3d157d900a743cc8..4ac94fed5262e6bd7bd253d2c68fb32b6eff8e70 100644 (file)
@@ -42,7 +42,6 @@
 #include "pluginpopup.inc"
 #include "record.inc"
 #include "remotecontrol.h"
-#include "record.inc"
 #include "renderengine.inc"
 #include "resourcepixmap.h"
 #include "resourcethread.inc"
@@ -56,6 +55,7 @@
 #include "trackpopup.inc"
 #include "trackscroll.inc"
 #include "transitionpopup.inc"
+#include "wintv.inc"
 #include "zoombar.inc"
 
 
@@ -79,6 +79,16 @@ public:
        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:
@@ -164,7 +174,7 @@ public:
        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();
@@ -225,6 +235,7 @@ public:
        MButtons *mbuttons;
        FFMpegToggle *ffmpeg_toggle;
        ProxyToggle *proxy_toggle;
+       StackButton *stack_button;
        PaneDivider *x_divider;
        PaneDivider *y_divider;
        TimelinePane *pane[TOTAL_PANES];
@@ -259,8 +270,9 @@ public:
 // remote control
        AndroidControl *android_control;
        RemoteControl *remote_control;
-       CWindowRemoteHandler *cwindow_remote_handler;
-       RecordRemoteHandler *record_remote_handler;
+       WinTV *wintv;
+       RemoteHandler *cwindow_remote_handler;
+       RemoteHandler *record_remote_handler;
 };
 
 #endif