CWindowMaskGUI *gui;
};
+class CWindowMaskSmoothButton : public BC_Button
+{
+public:
+ CWindowMaskSmoothButton(MWindow *mwindow, CWindowMaskGUI *gui,
+ const char *tip, int type, int on, int x, int y, const char *images);
+ int handle_event();
+ MWindow *mwindow;
+ CWindowMaskGUI *gui;
+ int type, on;
+};
+
class CWindowMaskAffectedPoint : public BC_TumbleTextBox
{
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 typ, int on);
void get_keyframe(Track* &track, MaskAutos* &autos, MaskAuto* &keyframe,
SubMask* &mask, MaskPoint* &point, int create_it);
CWindowMaskGangFader *gang_fader;
CWindowMaskAffectedPoint *active_point;
CWindowMaskDelPoint *del_point;
+ CWindowMaskSmoothButton *mask_pnt_linear, *mask_pnt_smooth;
+ CWindowMaskSmoothButton *mask_crv_linear, *mask_crv_smooth;
+ CWindowMaskSmoothButton *mask_all_linear, *mask_all_smooth;
CWindowCoord *x, *y;
CWindowMaskFocus *focus;
int focused;