improve delays created by vicon drawing locks, reset_cache segv fix, gang track toolt...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / editpanel.h
index 9e0d3bcb3725c5d48a624e6d7c887a6c8b16453c..9adbaf62b567be40dc2c015ff9f7ebf45a211b4b 100644 (file)
@@ -355,6 +355,7 @@ public:
        void toggle_event();
        int translation_event();
        int resize_event(int w, int h);
+       void update_scope();
 
        MWindow *mwindow;
        EditPanelScopeDialog *dialog;
@@ -366,6 +367,7 @@ public:
        EditPanelScopeDialog(MWindow *mwindow, EditPanel *panel);
        ~EditPanelScopeDialog();
 
+       void handle_close_event(int result);
        void handle_done_event(int result);
        BC_Window* new_gui();
        void process(VFrame *output_frame);
@@ -377,6 +379,21 @@ public:
        VFrame *output_frame;
 };
 
+class EditPanelGangTracks : public BC_Button
+{
+       static VFrame **gang_images[TOTAL_GANGS];
+       static const char *gang_tips[TOTAL_GANGS];
+public:
+       EditPanelGangTracks(MWindow *mwindow, EditPanel *panel, int x, int y);
+       ~EditPanelGangTracks();
+       VFrame **get_images(MWindow *mwindow);
+       void update(int gang);
+       int handle_event();
+       EditPanel *panel;
+       MWindow *mwindow;
+};
+
+
 class EditPanelScope : public BC_Toggle
 {
 public:
@@ -410,7 +427,8 @@ public:
                int use_commerical,
                int use_goto,
                int use_clk2play,
-               int use_scope);
+               int use_scope,
+               int use_gang_tracks);
        ~EditPanel();
 
        void set_meters(MeterPanel *meter_panel);
@@ -448,6 +466,7 @@ public:
        virtual void panel_set_auto_keyframes(int v) = 0;
        virtual void panel_set_span_keyframes(int v) = 0;
        virtual void panel_set_labels_follow_edits(int v) = 0;
+       virtual void panel_set_gang_tracks(int mode) = 0;
 
        MWindow *mwindow;
        BC_WindowBase *subwindow;
@@ -473,6 +492,7 @@ public:
        int use_goto;
        int use_clk2play;
        int use_scope;
+       int use_gang_tracks;
 
        EditFit *fit;
        EditFitAutos *fit_autos;
@@ -496,6 +516,7 @@ public:
        EditNextLabel *nextlabel;
        EditPrevEdit *prevedit;
        EditNextEdit *nextedit;
+       EditPanelGangTracks *gang_tracks;
        EditUndo *undo;
        EditRedo *redo;
        MeterShow *meters;