X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindowtool.h;h=92fa72b9e6251fe01c899148a184624e2d9b7906;hb=5621db270ccbeabc106e0f438941dba6f930652b;hp=2fb3ab9ff63891ce1c6f90909015b3341601964c;hpb=87141f1b454130848c34efdea9cf832d17463830;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/cwindowtool.h b/cinelerra-5.1/cinelerra/cwindowtool.h index 2fb3ab9f..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: @@ -264,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 { @@ -426,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; };