#include "bcbutton.h"
#include "bccapture.h"
+#include "bccolors.h"
#include "bcdisplayinfo.h"
#include "colorpicker.h"
#include "condition.h"
#include "language.h"
#include "mutex.h"
#include "mwindow.h"
-#include "cicolors.h"
+#include "bccolors.h"
#include "vframe.h"
#include <string.h>
#include <unistd.h>
-#undef MSGQUAL
-#define MSGQUAL "colorpicker"
-
#define PALETTE_DATA "palette.dat"
ColorPicker::ColorPicker(int do_alpha, const char *title)
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);