13
0

Pixel hunt cairo-packer (status-bar, selection-clock border)

This commit is contained in:
Robin Gareus 2016-12-11 01:31:31 +01:00
parent 39903a0023
commit 6015481377

View File

@ -36,7 +36,7 @@ CairoPacker::draw_background (Gtk::Widget& w, GdkEventExpose*)
Gdk::Color bg = get_bg ();
context->set_source_rgba (bg.get_red_p(), bg.get_green_p(), bg.get_blue_p(), 1.0);
Gtkmm2ext::rounded_rectangle (context, x, y, w.get_allocation().get_width(), w.get_allocation().get_height(), 4);
Gtkmm2ext::rounded_rectangle (context, x + 1, y + 1, w.get_allocation().get_width() - 2, w.get_allocation().get_height() - 2, 4);
context->fill ();
}
}