Spelling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34081 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2035,16 +2035,16 @@ BWindow::Frame() const
|
|||||||
BRect
|
BRect
|
||||||
BWindow::DecoratorFrame() const
|
BWindow::DecoratorFrame() const
|
||||||
{
|
{
|
||||||
BRect decortatorFrame(Frame());
|
BRect decoratorFrame(Frame());
|
||||||
float borderWidth;
|
float borderWidth;
|
||||||
float tabHeight;
|
float tabHeight;
|
||||||
_GetDecoratorSize(&borderWidth, &tabHeight);
|
_GetDecoratorSize(&borderWidth, &tabHeight);
|
||||||
// TODO: Broken for tab on left window side windows...
|
// TODO: Broken for tab on left window side windows...
|
||||||
decortatorFrame.top -= tabHeight;
|
decoratorFrame.top -= tabHeight;
|
||||||
decortatorFrame.left -= borderWidth;
|
decoratorFrame.left -= borderWidth;
|
||||||
decortatorFrame.right += borderWidth;
|
decoratorFrame.right += borderWidth;
|
||||||
decortatorFrame.bottom += borderWidth;
|
decoratorFrame.bottom += borderWidth;
|
||||||
return decortatorFrame;
|
return decoratorFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user