X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcolorpicker.C;h=a99896dd3325275828dba84113e64cb29364fe0a;hb=6338f0b010dfd93ae6a823970d853cfdd5279500;hp=5c43fb93da1c49afe173a8970e5e0710cd26925e;hpb=28600526f736ffd4f104f29495a4bb36497e1ea8;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/colorpicker.C b/cinelerra-5.1/cinelerra/colorpicker.C index 5c43fb93..a99896dd 100644 --- a/cinelerra-5.1/cinelerra/colorpicker.C +++ b/cinelerra-5.1/cinelerra/colorpicker.C @@ -21,6 +21,7 @@ #include "bcbutton.h" #include "bccapture.h" +#include "bccolors.h" #include "bcdisplayinfo.h" #include "colorpicker.h" #include "condition.h" @@ -28,15 +29,12 @@ #include "language.h" #include "mutex.h" #include "mwindow.h" -#include "cicolors.h" +#include "bccolors.h" #include "vframe.h" #include #include -#undef MSGQUAL -#define MSGQUAL "colorpicker" - #define PALETTE_DATA "palette.dat" ColorPicker::ColorPicker(int do_alpha, const char *title) @@ -315,7 +313,7 @@ int ColorWindow::handle_event() void ColorWindow::get_screen_sample() { int cx, cy; - get_abs_cursor_xy(cx, cy); + get_abs_cursor(cx, cy); BC_Capture capture_bitmap(1, 1, 0); VFrame vframe(1,1,BC_RGB888); capture_bitmap.capture_frame(&vframe, cx,cy);