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