예제 #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;
 }
예제 #2
0
파일: gdkutils.cpp 프로젝트: GNOME/niepce
 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());
 }