X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindowtool.h;h=5654e8825cd7b181f2c76bbdb0a546800780b02d;hp=951d30e4d36c6c5c61ca2ebe430a92323f8b3c57;hb=134e3b2ef6322953b40f7ec2567e8b883eb42830;hpb=e5efe8eb05910bbd7e002f351c5468d894b0c71d diff --git a/cinelerra-5.1/cinelerra/cwindowtool.h b/cinelerra-5.1/cinelerra/cwindowtool.h index 951d30e4..5654e882 100644 --- a/cinelerra-5.1/cinelerra/cwindowtool.h +++ b/cinelerra-5.1/cinelerra/cwindowtool.h @@ -323,6 +323,26 @@ public: CWindowMaskGUI *gui; }; +class CWindowMaskSmooth : public BC_GenericButton +{ +public: + CWindowMaskSmooth(MWindow *mwindow, CWindowMaskGUI *gui, + int x, int y); + int handle_event(); + MWindow *mwindow; + CWindowMaskGUI *gui; +}; + +class CWindowMaskGangSmooth : public BC_Button +{ +public: + CWindowMaskGangSmooth(MWindow *mwindow, CWindowMaskGUI *gui, + int x, int y); + int handle_event(); + MWindow *mwindow; + CWindowMaskGUI *gui; +}; + class CWindowMaskAffectedPoint : public BC_TumbleTextBox { public: @@ -456,9 +476,10 @@ public: void update(); int close_event(); void done_event(); + void handle_event(); void set_focused(int v, float cx, float cy); void update_buttons(MaskAuto *keyframe, int k); - void handle_event(); + int smooth_mask(int gang); void get_keyframe(Track* &track, MaskAutos* &autos, MaskAuto* &keyframe, SubMask* &mask, MaskPoint* &point, int create_it); @@ -482,6 +503,8 @@ public: CWindowMaskFocus *focus; int focused; CWindowMaskGangFocus *gang_focus; + CWindowMaskSmooth *smooth; + CWindowMaskGangSmooth *gang_smooth; CWindowMaskHelp *help; int helped, help_y, help_h; CWindowMaskDrawMarkers *draw_markers;