X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fcwindowgui.h;h=ddbfa372a1831220f54c8c81518c99f49c5f8085;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hp=01ff0cebdbfc69d451a9dd74c9513fe1be75e45b;hpb=2778975bea06a53d8165a5e37bdacde1ae5f3320;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cwindowgui.h b/cinelerra-5.1/cinelerra/cwindowgui.h index 01ff0ceb..ddbfa372 100644 --- a/cinelerra-5.1/cinelerra/cwindowgui.h +++ b/cinelerra-5.1/cinelerra/cwindowgui.h @@ -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: @@ -86,7 +92,7 @@ public: void keyboard_zoomout(); void update_meters(); void stop_transport(const char *lock_msg); - void sync_parameters(int change_type, int tool=0, int overlay=0); + void sync_parameters(int change_type, int redraw=0, int overlay=0); MWindow *mwindow; CWindow *cwindow; @@ -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(); @@ -294,8 +303,6 @@ public: int cursor_motion_event(); int button_press_event(); int button_release_event(); - int get_fullscreen(); - void set_fullscreen(int value); int test_crop(int button_press, int &redraw); int test_bezier(int button_press, int &redraw, @@ -313,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;