summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 23:54:35 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 23:54:35 +0000
commit30bcc77df38a8775b28f6628a6f4270658b171e5 (patch)
tree225e1be3cb6a59fbd280db511941d13ec76c989e /skia/ext
parentfffc27d58ee6b52ea104b3d29a8a0ab7904410f4 (diff)
downloadchromium_src-30bcc77df38a8775b28f6628a6f4270658b171e5.zip
chromium_src-30bcc77df38a8775b28f6628a6f4270658b171e5.tar.gz
chromium_src-30bcc77df38a8775b28f6628a6f4270658b171e5.tar.bz2
Now have a TextButton rendering (sort of; doesn't respond to mouse events so
I don't know if it'll draw the border correctly). Now with fixes to compile under Windows. Review URL: http://codereview.chromium.org/42427 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-rw-r--r--skia/ext/platform_canvas_linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/ext/platform_canvas_linux.h b/skia/ext/platform_canvas_linux.h
index 63ffd62..818b70c 100644
--- a/skia/ext/platform_canvas_linux.h
+++ b/skia/ext/platform_canvas_linux.h
@@ -108,6 +108,10 @@ class CanvasPaintT : public T {
return rectangle_.width == 0 || rectangle_.height == 0;
}
+ const GdkRectangle& rectangle() const {
+ return rectangle_;
+ }
+
private:
void init(bool opaque) {
gdk_window_begin_paint_rect(window_, &rectangle_);