#ifndef __RGB_INT_H #define __RGB_INT_H #include #include #include #include using namespace std; class RgbInt : public Fl_Group { public: RgbInt(int x, int y); void setRGB(int r, int g, int b); void getRGB(uchar &r, uchar &g, uchar &b); private: int margen; Fl_Value_Input *viRed, *viGreen, *viBlue; Fl_Box *frame; private: static void cambioCB(Fl_Widget *, long color); void _setRGB(int r, int g, int b); }; #endif