X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fcwindowgui.h;h=7dbfde86142c4d7e9157965069eade20b1fec116;hb=98e035865979cda9805a58a85d52f8d70a7ec54e;hp=f2ae71c393e25b2a16e8572154c3f67ad1674ac9;hpb=da1e39d85e138b0d552e932d875c05e8dc743244;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cwindowgui.h b/cinelerra-5.1/cinelerra/cwindowgui.h index f2ae71c3..7dbfde86 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: @@ -62,8 +68,7 @@ public: void create_objects(); int resize_event(int w, int h); - void zoom_canvas(double value, int update_menu); - float get_auto_zoom(); + void update_canvas(int redraw=1); // Events for the fullscreen canvas fall through to here. int button_press_event(); @@ -187,6 +192,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; @@ -279,6 +285,8 @@ public: int get_xscroll(); int get_yscroll(); float get_zoom(); + void zoom_auto(); + int do_scroll(EDL *edl, float cursor_x, float cursor_y); int do_eyedrop(int &rerender, int button_press, int draw); int do_mask(int &redraw, int &rerender, @@ -311,7 +319,7 @@ public: void reset_camera(); void reset_projector(); void draw_crophandle(int x, int y); - void zoom_auto(); + int set_fullscreen(int on, int unlock); // Draw the camera/projector overlay in different colors. void draw_outlines(int do_camera); @@ -319,9 +327,12 @@ public: void calculate_origin(); void toggle_controls(); int get_cwindow_controls(); + int get_clear_color(); MWindow *mwindow; CWindowGUI *gui; + float last_xscroll, last_yscroll; + float last_zoom; }; #endif