just a bit of clean up and added const where appropriate
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14732 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,11 +57,11 @@ class ServerCursor : public ServerBitmap {
|
|||||||
color_space format);
|
color_space format);
|
||||||
ServerCursor(const ServerCursor* cursor);
|
ServerCursor(const ServerCursor* cursor);
|
||||||
|
|
||||||
virtual ~ServerCursor(void);
|
virtual ~ServerCursor();
|
||||||
|
|
||||||
//! Returns the cursor's hot spot
|
//! Returns the cursor's hot spot
|
||||||
void SetHotSpot(BPoint pt);
|
void SetHotSpot(BPoint pt);
|
||||||
BPoint GetHotSpot(void)
|
BPoint GetHotSpot() const
|
||||||
{ return fHotSpot; }
|
{ return fHotSpot; }
|
||||||
|
|
||||||
void SetAppSignature(const char* signature);
|
void SetAppSignature(const char* signature);
|
||||||
@@ -70,11 +70,11 @@ class ServerCursor : public ServerBitmap {
|
|||||||
|
|
||||||
void SetOwningTeam(team_id tid)
|
void SetOwningTeam(team_id tid)
|
||||||
{ fOwningTeam = tid; }
|
{ fOwningTeam = tid; }
|
||||||
team_id OwningTeam(void) const
|
team_id OwningTeam() const
|
||||||
{ return fOwningTeam; }
|
{ return fOwningTeam; }
|
||||||
|
|
||||||
//! Returns the cursor's ID
|
//! Returns the cursor's ID
|
||||||
int32 ID()
|
int32 ID() const
|
||||||
{ return fToken; }
|
{ return fToken; }
|
||||||
private:
|
private:
|
||||||
friend class CursorManager;
|
friend class CursorManager;
|
||||||
|
|||||||
Reference in New Issue
Block a user