2 new methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12076 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -74,6 +74,12 @@ public:
|
||||
WinBorder* WinBorderAt(const BPoint& pt) const;
|
||||
inline WinBorder* FocusWinBorder() const { return fWorkspace[fActiveWksIndex]->Focus(); }
|
||||
inline WinBorder* FrontWinBorder() const { return fWorkspace[fActiveWksIndex]->Front(); }
|
||||
inline WinBorder* ActiveWinBorder() const {
|
||||
return (fWorkspace[fActiveWksIndex]->Focus() ==
|
||||
fWorkspace[fActiveWksIndex]->Front()
|
||||
&& fWorkspace[fActiveWksIndex]->Front() != NULL)?
|
||||
fWorkspace[fActiveWksIndex]->Front(): NULL;
|
||||
}
|
||||
|
||||
inline void SetWorkspaceCount(int32 wksCount);
|
||||
inline int32 WorkspaceCount() const { return fWsCount; }
|
||||
@@ -139,6 +145,8 @@ friend class Desktop;
|
||||
void invalidate_layer(Layer *layer, const BRegion ®ion);
|
||||
void redraw_layer(Layer *layer, const BRegion ®ion);
|
||||
|
||||
void winborder_activation(WinBorder* exActive);
|
||||
|
||||
// Input related methods
|
||||
void MouseEventHandler(int32 code, BPortLink& link);
|
||||
void KeyboardEventHandler(int32 code, BPortLink& link);
|
||||
|
||||
Reference in New Issue
Block a user