diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 22:02:24 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 22:02:24 +0000 |
commit | b1594d0f4e1b523e72c84b13ebe9bf7e2377648e (patch) | |
tree | 89b4ea435e92e5ee181f26f1a27963d24dc44e90 /skia/ext | |
parent | 5e1d37e5d4c6c573b4e9d0e3290fb3b2748981c3 (diff) | |
download | chromium_src-b1594d0f4e1b523e72c84b13ebe9bf7e2377648e.zip chromium_src-b1594d0f4e1b523e72c84b13ebe9bf7e2377648e.tar.gz chromium_src-b1594d0f4e1b523e72c84b13ebe9bf7e2377648e.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).
Review URL: http://codereview.chromium.org/42414
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-rw-r--r-- | skia/ext/platform_canvas_linux.h | 4 |
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_); |