fix segv for plugin render_gui when plugin moved up/dn, opencv build fixes, opts...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / cwindowgui.h
index c23db9bdbba6220080f28fa0f00561ec53a49cb6..ddbfa372a1831220f54c8c81518c99f49c5f8085 100644 (file)
@@ -54,6 +54,12 @@ class CWindowEditing;
 
 #define AUTO_ZOOM N_("Auto")
 
+#define CROP_REFORMAT 0
+#define CROP_RESIZE 1
+#define CROP_SHRINK 2
+#define CROP_MODES 3
+
+
 class CWindowGUI : public BC_Window
 {
 public:
@@ -101,6 +107,7 @@ public:
        CTimeBar *timebar;
        BC_Pixmap *active;
        BC_Pixmap *inactive;
+       VFrame *focus_frame;
 //     MainClock *clock;
 
 
@@ -186,6 +193,7 @@ public:
        void panel_fit_autos(int all);
        void panel_set_editing_mode(int mode);
        void panel_set_auto_keyframes(int v);
+       void panel_set_span_keyframes(int v);
        void panel_set_labels_follow_edits(int v);
 
        MWindow *mwindow;
@@ -284,6 +292,7 @@ public:
                int button_press,
                int cursor_motion,
                int draw);
+       int do_mask_focus();
        void draw_refresh(int flash = 1);
        int need_overlays();
        void draw_overlays();
@@ -311,12 +320,13 @@ public:
        void draw_crophandle(int x, int y);
        void zoom_auto();
 
-// Draw the projector overlay in different colors.
-       void draw_bezier(int do_camera);
+// Draw the camera/projector overlay in different colors.
+       void draw_outlines(int do_camera);
        void draw_crop();
        void calculate_origin();
        void toggle_controls();
        int get_cwindow_controls();
+       int get_clear_color();
 
        MWindow *mwindow;
        CWindowGUI *gui;