X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcolorpicker.C;h=b9db0c76e96a8d4fed7c8ab129e6829b82bbd9ec;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hp=924d989bed530f5108a0d255e3be83afe9171862;hpb=0ac6a1397cf8ee19cf75f3fe893c27e9f4fc0ea5;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/colorpicker.C b/cinelerra-5.1/cinelerra/colorpicker.C index 924d989b..b9db0c76 100644 --- a/cinelerra-5.1/cinelerra/colorpicker.C +++ b/cinelerra-5.1/cinelerra/colorpicker.C @@ -313,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); @@ -578,7 +578,7 @@ PaletteWheelValue::~PaletteWheelValue() void PaletteWheelValue::create_objects() { - frame = new VFrame(0, -1, get_w(), get_h(), BC_RGB888, -1); + frame = new VFrame(get_w(), get_h(), BC_RGB888); draw(window->hsv.h, window->hsv.s, window->hsv.v); flash(); }