summaryrefslogtreecommitdiffstats
path: root/base/gfx/gtk_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/gfx/gtk_util.cc')
-rwxr-xr-xbase/gfx/gtk_util.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/gfx/gtk_util.cc b/base/gfx/gtk_util.cc
index 0808193..047d9f0 100755
--- a/base/gfx/gtk_util.cc
+++ b/base/gfx/gtk_util.cc
@@ -12,8 +12,11 @@
namespace gfx {
+const GdkColor kGdkWhite = GDK_COLOR_RGB(0xff, 0xff, 0xff);
+const GdkColor kGdkBlack = GDK_COLOR_RGB(0x00, 0x00, 0x00);
+
void SubtractRectanglesFromRegion(GdkRegion* region,
- const std::vector<gfx::Rect>& cutouts) {
+ const std::vector<Rect>& cutouts) {
for (size_t i = 0; i < cutouts.size(); ++i) {
GdkRectangle rect = cutouts[i].ToGdkRectangle();
GdkRegion* rect_region = gdk_region_rectangle(&rect);