Example #1
0
 fwk::RgbColour gdkcolor_to_rgbcolour(const Gdk::RGBA & colour)
 {
   fwk::RgbColour rgbcolour(colour.get_red_u(), colour.get_green_u(), colour.get_blue_u());
   return rgbcolour;
 }
Example #2
0
 fwk::RgbColourPtr gdkcolor_to_rgbcolour(const Gdk::RGBA & colour)
 {
   return fwk::rgbcolour_new(colour.get_red_u(), colour.get_green_u(), colour.get_blue_u());
 }