X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindowtool.h;h=9361034200c5977c233984da6fe3d38c36049565;hb=a94468d6de897136e77c70662177f4b8b4454b6b;hp=0e6b1a705921907a202fde4fc6a81f369a1a1103;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/cwindowtool.h b/cinelerra-5.1/cinelerra/cwindowtool.h index 0e6b1a70..93610342 100644 --- a/cinelerra-5.1/cinelerra/cwindowtool.h +++ b/cinelerra-5.1/cinelerra/cwindowtool.h @@ -178,6 +178,18 @@ public: CWindowToolGUI *gui; }; + +class CWindowMaskAffectedPoint : public BC_TumbleTextBox +{ +public: + CWindowMaskAffectedPoint(MWindow *mwindow, CWindowToolGUI *gui, int x, int y); + ~CWindowMaskAffectedPoint(); + int handle_event(); + MWindow *mwindow; + CWindowToolGUI *gui; +}; + + class CWindowMaskFeather : public BC_TumbleTextBox { public: @@ -206,8 +218,13 @@ public: CWindowToolGUI *gui; }; - - +class CWindowDisableOpenGLMasking : public BC_CheckBox +{ +public: + CWindowDisableOpenGLMasking(CWindowToolGUI *gui, int x, int y); + int handle_event(); + CWindowToolGUI *gui; +}; class CWindowMaskGUI : public CWindowToolGUI { @@ -225,16 +242,18 @@ public: CWindowMaskMode *mode; CWindowMaskFeather *feather; CWindowMaskDelete *delete_point; + CWindowMaskAffectedPoint *active_point; // Not necessary if all keyframes have same points // CWindowMaskCycleNext *next_point; // CWindowMaskCyclePrev *prev_point; CWindowMaskNumber *number; CWindowMaskValue *value; CWindowMaskBeforePlugins *apply_before_plugins; + CWindowDisableOpenGLMasking *disable_opengl_masking; }; - +class CWindowEyedropCheckBox; class CWindowEyedropGUI : public CWindowToolGUI { public: @@ -245,12 +264,29 @@ public: void create_objects(); void update(); + BC_Title *current; CWindowCoord *radius; + CWindowEyedropCheckBox *use_max; BC_Title *red, *green, *blue, *y, *u, *v; + BC_Title *rgb_hex, *yuv_hex; BC_SubWindow *sample; }; +class CWindowEyedropCheckBox : public BC_CheckBox +{ +public: + CWindowEyedropCheckBox(MWindow *mwindow, + CWindowEyedropGUI *gui, + int x, + int y); + + int handle_event(); + MWindow *mwindow; + CWindowEyedropGUI *gui; +}; + + class CWindowCameraGUI : public CWindowToolGUI {