Scaleform::Platform::SystemCursorState
class SystemCursorState;
SystemCursorState is a helper class that tracks different cursor states and applies and/or hides system cursor based on states. This class considers:
- NonClient area. If cursor is in non-client area, show arrow.
- Software state, causes HW cursor to be hidden.
- Enabled state, required to display cursor in client area.
Method |
Description |
Enables the cursor and is displayed in the client area. | |
Returns the type of the cursor set for the current window. | |
Checks if the cursor is enabled. | |
Checks if the cursor is rendered in software state. | |
Checks if a system cursor is available. | |
Called when after a system requests a change in cursor type (for example from pointer to i-beam). | |
Sets the type of the cursor state for the current window. | |
Sets the cursor to be rendered in software, causing HW cursor to be hidden. | |
SystemCursorState constructor. |
Platform_SystemCursorManager.h