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:
Stephan Aßmus
2005-03-25 17:29:45 +00:00
parent 10612543aa
commit 1f154920f6
3 changed files with 533 additions and 199 deletions
+3 -1
View File
@@ -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;