X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcolorpicker.h;h=1fffa252250cd1b4dca24892c45de5cab58b281e;hb=3f801b05e0de577b00e98019b099ed38d66b9550;hp=a5d203d29fc47fa31506cb9030e30a6c9eb0b1c4;hpb=258d9cb69d560f40961acdd20866e12e940c2f93;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/colorpicker.h b/cinelerra-5.1/cinelerra/colorpicker.h index a5d203d2..1fffa252 100644 --- a/cinelerra-5.1/cinelerra/colorpicker.h +++ b/cinelerra-5.1/cinelerra/colorpicker.h @@ -83,6 +83,7 @@ public: void update_yuv(float y, float u, float v); void update_rgb_hex(const char *hex); int rgb888(); + int alpha8(); ColorPicker *thread; PaletteWheel *wheel; @@ -364,6 +365,7 @@ public: virtual void handle_done_event(int result); void close_picker(); + void update_gui(int color, int alpha); void update_gui(int color); int handle_event(); @@ -381,9 +383,11 @@ class ColorButtonPicker : public ColorPicker public: ColorButtonPicker(ColorButton *color_button); ~ColorButtonPicker(); + void update(int color, int alpha); int handle_new_color(int color, int alpha); void handle_done_event(int result); void update_gui(); + void update_gui(int color, int alpha); ColorButton *color_button; };