Gtk3 by Hombre, issue 2807

This commit is contained in:
Morgan Hardwood
2015-08-12 16:07:19 +02:00
parent 91f67f0cb6
commit 56a0805bc7
133 changed files with 3950 additions and 2626 deletions

View File

@@ -71,15 +71,15 @@ Cairo::RefPtr<Cairo::ImageSurface> LWButton::getIcon ()
return icon;
}
void LWButton::setColors (const Gdk::Color& bg, const Gdk::Color& fg)
void LWButton::setColors (const Gdk::RGBA& bg, const Gdk::RGBA& fg)
{
bgr = bg.get_red_p ();
bgg = bg.get_green_p ();
bgb = bg.get_blue_p ();
fgr = fg.get_red_p ();
fgg = fg.get_green_p ();
fgb = fg.get_blue_p ();
bgr = bg.get_red ();
bgg = bg.get_green ();
bgb = bg.get_blue ();
fgr = fg.get_red ();
fgg = fg.get_green ();
fgb = fg.get_blue ();
}
bool LWButton::inside (int x, int y)