
Public Member Functions | |
| virtual void MCCOMAPI | Hide (void)=0 |
| virtual void MCCOMAPI | Show (void)=0 |
| virtual void MCCOMAPI | ForceCursorVisible (void)=0 |
| virtual void MCCOMAPI | SetCursorPosition (TMCPoint &inPos)=0 |
| virtual void MCCOMAPI | SetCursor (uint32 inCursorID)=0 |
| virtual void MCCOMAPI | CreatePerpetualMouseHelper (IMFPerpetualMouse **outPerpetualMouse)=0 |
| virtual void MCCOMAPI IShMouseUtilities::Hide | ( | void | ) | [pure virtual] |
When Hide() is called, it hides the cursor if the cursor level is 0. It then always decrements the cursor level, indicating that something wants to hide the cursor.
| virtual void MCCOMAPI IShMouseUtilities::Show | ( | void | ) | [pure virtual] |
When Show() is called, it increments the cursor level, and if this brings the level to 0, shows the cursor.
| virtual void MCCOMAPI IShMouseUtilities::ForceCursorVisible | ( | void | ) | [pure virtual] |
Generally not needed. Use Show() instead if possible. This shows the cursor and forces the cursor level to 0.
| virtual void MCCOMAPI IShMouseUtilities::SetCursorPosition | ( | TMCPoint & | inPos | ) | [pure virtual] |
Sets the cursor position. Very slow on MacOS X, so use sparingly.
| inPos | Position to set. |
| virtual void MCCOMAPI IShMouseUtilities::SetCursor | ( | uint32 | inCursorID | ) | [pure virtual] |
Sets the cursor icon to use.
| inCursorID | ID number of cursor to use. See MCCursorTypes.h for a list of cursors. |
| virtual void MCCOMAPI IShMouseUtilities::CreatePerpetualMouseHelper | ( | IMFPerpetualMouse ** | outPerpetualMouse | ) | [pure virtual] |
SetCursorPosition() is very slow on MacOS X, so instead create a PerpetualMouse and use it. This can be used for supporting perpetual mouse movement. But usually, it's better and easier to just derive a class from TBasicMouseAction and override the ConstrainedToView(), IsPerpetualMouseAction(), and ShouldHideCursor() functions.
| outPerpetualMouse | Returns a pointer to the IMFPerpetualMouse |
1.5.3