RootLayer now has a stack allocated CursorManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10885 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
#include "Layer.h"
|
#include "Layer.h"
|
||||||
#include "FMWList.h"
|
#include "FMWList.h"
|
||||||
#include "CursorHandler.h"
|
#include "CursorHandler.h"
|
||||||
|
#include "CursorManager.h"
|
||||||
|
|
||||||
class RGBColor;
|
class RGBColor;
|
||||||
class Workspace;
|
class Workspace;
|
||||||
@@ -105,12 +106,14 @@ public:
|
|||||||
|
|
||||||
static int32 WorkingThread(void *data);
|
static int32 WorkingThread(void *data);
|
||||||
|
|
||||||
|
CursorManager& GetCursorManager() { return fCursorManager; }
|
||||||
|
|
||||||
// Debug methods
|
// Debug methods
|
||||||
void PrintToStream(void);
|
void PrintToStream(void);
|
||||||
|
|
||||||
// "Private" to app_server :-) - they should not be used
|
// "Private" to app_server :-) - they should not be used
|
||||||
void RemoveAppWindow(WinBorder *wb);
|
void RemoveAppWindow(WinBorder *wb);
|
||||||
|
|
||||||
FMWList fMainFMWList;
|
FMWList fMainFMWList;
|
||||||
BLocker fMainLock;
|
BLocker fMainLock;
|
||||||
|
|
||||||
@@ -118,6 +121,7 @@ private:
|
|||||||
Desktop *fDesktop;
|
Desktop *fDesktop;
|
||||||
BMessage *fDragMessage;
|
BMessage *fDragMessage;
|
||||||
WinBorder *fMouseTarget;
|
WinBorder *fMouseTarget;
|
||||||
|
CursorManager fCursorManager;
|
||||||
|
|
||||||
thread_id fThreadID;
|
thread_id fThreadID;
|
||||||
port_id fListenPort;
|
port_id fListenPort;
|
||||||
|
|||||||
Reference in New Issue
Block a user