X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindowtool.h;h=92fa72b9e6251fe01c899148a184624e2d9b7906;hb=21eb2e0b479adf7bf846b835e5c7d9613b6f1a6d;hp=651627e0860f8206d12aac83fa23f4edbb3b274b;hpb=4784a8d70bc39f9b7e467f93304d2df3f23fd2df;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/cwindowtool.h b/cinelerra-5.1/cinelerra/cwindowtool.h index 651627e0..92fa72b9 100644 --- a/cinelerra-5.1/cinelerra/cwindowtool.h +++ b/cinelerra-5.1/cinelerra/cwindowtool.h @@ -253,7 +253,7 @@ public: }; - +class CWindowEyedropCheckBox; class CWindowEyedropGUI : public CWindowToolGUI { public: @@ -266,12 +266,27 @@ public: 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 { @@ -428,11 +443,12 @@ public: // Update the gui void handle_event(); - BC_Title *current; - BC_Title *point1; - BC_Title *point2; - BC_Title *distance; - BC_Title *angle; + BC_TextBox *current; + BC_TextBox *point1; + BC_TextBox *point2; + BC_TextBox *deltas; + BC_TextBox *distance; + BC_TextBox *angle; };