mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
Added 2 private methods for showing/hiding WinBorders. Added a BLocker member.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fde7aed2ee
commit
1cd22df0dc
@ -72,6 +72,8 @@ public:
|
||||
|
||||
void AddWinBorder(WinBorder *winBorder);
|
||||
void RemoveWinBorder(WinBorder *winBorder);
|
||||
void HideWinBorder(WinBorder* winBorder);
|
||||
void ShowWinBorder(WinBorder* winBorder);
|
||||
WinBorder* WinBorderAt(const BPoint& pt);
|
||||
void ChangeWorkspacesFor(WinBorder *winBorder, uint32 newWorkspaces);
|
||||
bool SetFrontWinBorder(WinBorder *winBorder);
|
||||
@ -108,6 +110,12 @@ public:
|
||||
|
||||
CursorManager& GetCursorManager() { return fCursorManager; }
|
||||
|
||||
// Other methods
|
||||
bool Lock() { return fAllRegionsLock.Lock(); }
|
||||
void Unlock() { fAllRegionsLock.Unlock(); }
|
||||
bool IsLocked() { return fAllRegionsLock.IsLocked(); }
|
||||
void RunThread();
|
||||
|
||||
// Debug methods
|
||||
void PrintToStream(void);
|
||||
|
||||
@ -118,10 +126,15 @@ public:
|
||||
BLocker fMainLock;
|
||||
|
||||
private:
|
||||
|
||||
void show_winBorder(WinBorder* winBorder);
|
||||
void hide_winBorder(WinBorder* winBorder);
|
||||
|
||||
Desktop *fDesktop;
|
||||
BMessage *fDragMessage;
|
||||
WinBorder *fMouseTarget;
|
||||
CursorManager fCursorManager;
|
||||
BLocker fAllRegionsLock;
|
||||
|
||||
thread_id fThreadID;
|
||||
port_id fListenPort;
|
||||
|
Loading…
x
Reference in New Issue
Block a user