* Fixed regression; the key labels could be drawn out of the button border.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29735 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-03-26 17:21:15 +00:00
parent 661d0430d0
commit d1996fdfd6
2 changed files with 2 additions and 2 deletions
@@ -378,7 +378,7 @@ KeyboardLayoutView::_LayoutKeyboard()
void
KeyboardLayoutView::_DrawKeyButton(BView* view, BRect rect, BRect updateRect,
KeyboardLayoutView::_DrawKeyButton(BView* view, BRect& rect, BRect updateRect,
rgb_color base, rgb_color background, bool pressed)
{
be_control_look->DrawButtonFrame(view, rect, updateRect, base,
+1 -1
View File
@@ -51,7 +51,7 @@ private:
};
void _LayoutKeyboard();
void _DrawKeyButton(BView* view, BRect rect,
void _DrawKeyButton(BView* view, BRect& rect,
BRect updateRect, rgb_color base,
rgb_color background, bool pressed);
void _DrawKey(BView* view, BRect updateRect,