13 #ifndef mitkApplicationCursor_h
14 #define mitkApplicationCursor_h
32 virtual void PushCursor(
const char *XPM[],
int hotspotX,
int hotspotY) = 0;
35 virtual void PushCursor(std::istream &,
int hotspotX,
int hotspotY) = 0;
71 void PushCursor(
const char *XPM[],
int hotspotX = -1,
int hotspotY = -1);
74 void PushCursor(std::istream &,
int hotspotX = -1,
int hotspotY = -1);
Toolkit specific implementation of mitk::ApplicationCursor.
virtual void PopCursor()=0
Restore the previous cursor.
virtual const Point2I GetCursorPosition()=0
Get absolute mouse position on screen.
virtual ~ApplicationCursorImplementation()
virtual void SetCursorPosition(const Point2I &)=0
Set absolute mouse position on screen.
virtual void PushCursor(std::istream &, int hotspotX, int hotspotY)=0
Change the current application cursor.
virtual void PushCursor(const char *XPM[], int hotspotX, int hotspotY)=0
Change the current application cursor.
Allows to override the application's cursor.
const Point2I GetCursorPosition()
void SetCursorPosition(const Point2I &)
Set absolute mouse position on screen.
static void RegisterImplementation(ApplicationCursorImplementation *implementation)
To be called by a toolkit specific ApplicationCursorImplementation.
void PopCursor()
Restore the previous cursor.
ApplicationCursor()
Purposely hidden - singleton.
void PushCursor(const char *XPM[], int hotspotX=-1, int hotspotY=-1)
Change the current application cursor.
void PushCursor(std::istream &, int hotspotX=-1, int hotspotY=-1)
Change the current application cursor.
static ApplicationCursor * GetInstance()
This class is a singleton.
Find image slices visible on a given plane.