* 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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user