step 3, exracted code from DisplayDriver into DisplayDriverImpl, adjusted the existing implementations to derive from the new class, got rid of some "friend" stuff along the way, essentially I made room for the new Painter based DisplayDriver implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11987 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#define CURSORHANDLER_H
|
||||
|
||||
#include "GraphicsBuffer.h"
|
||||
#include "LayerData.h"
|
||||
#include "ServerCursor.h"
|
||||
#include "ServerBitmap.h"
|
||||
|
||||
@@ -48,7 +49,7 @@ public:
|
||||
void SetCursor(ServerCursor *cursor);
|
||||
ServerCursor *GetCursor(void) const { return fCursor; }
|
||||
|
||||
void MoveTo(const BPoint &pt);
|
||||
void MoveTo(BPoint pt);
|
||||
BPoint GetPosition(void) const { return fPosition.LeftTop(); }
|
||||
|
||||
void Hide(void);
|
||||
@@ -70,6 +71,7 @@ private:
|
||||
UtilityBitmap *fSavedData;
|
||||
ServerCursor *fCursor;
|
||||
int8 fHideLevel;
|
||||
DrawData fDrawData;
|
||||
|
||||
bool fDriverHidden;
|
||||
bool fIsObscured;
|
||||
|
||||
Reference in New Issue
Block a user