Added DecoratorFrame() method, which returns the outer frame of the window

on screen (ie including the decorator border and tab). Plus the necessary
refactoring as well as some TODO notes about windows with the tab on the left
side.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29820 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-03-31 13:34:16 +00:00
parent 8d8da849c8
commit f247113640
2 changed files with 56 additions and 11 deletions
+4
View File
@@ -186,6 +186,7 @@ public:
BRect Bounds() const;
BRect Frame() const;
BRect DecoratorFrame() const;
const char* Title() const;
void SetTitle(const char* title);
bool IsFront() const;
@@ -331,6 +332,9 @@ private:
bool _HandleKeyDown(BMessage* event);
void _KeyboardNavigation();
void _GetDecoratorSize(float* _borderWidth,
float* _tabHeight) const;
private:
char* fTitle;
int32 _unused0;