diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-05 16:20:53 +0900 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-07 09:57:48 +0200 |
commit | 32a776c83b86db3efaa7177c479e9327f28fbf46 (patch) | |
tree | 8b729dad1a14867f36854afda9481551df56de29 /cui | |
parent | 9e0bc2685a427ff6dfae637c7d4260817c3b4700 (diff) |
Refactor Buttons to use RenderContext when painting
Change-Id: I4ebecb2bda44319a3590a62a2c113c73c94ba974
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index eb8b195c6e22..69632fa0dcdd 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -234,7 +234,7 @@ namespace svx } - void RubyRadioButton::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& ) + void RubyRadioButton::Paint( vcl::RenderContext& rRenderContext, const Rectangle& ) { HideFocus(); @@ -289,7 +289,7 @@ namespace svx aImageLocation.Top() = aPrimaryTextLocation.Top() + ( nTextHeight - aImageSize.Height() ) / 2; aImageLocation.Bottom() = aImageLocation.Top() + aImageSize.Height(); SetStateRect( aImageLocation ); - DrawRadioButtonState( ); + DrawRadioButtonState(rRenderContext); // mouse clicks should be recognized in a rect which is one pixel larger in each direction, plus // includes the image |