Enum PointerStyle
Definition
Namespace: StardewUI.Input
Assembly: StardewUI.dll
The vanilla pointer styles that can be drawn as a mouse cursor.
Inheritance
Object ⇦ ValueType ⇦ Enum ⇦ PointerStyle
Remarks
These are the values supported and expected in vanilla menus via drawMouse(SpriteBatch, Boolean, Int32). Unlike Cursor, the available options are limited to standard 16x16 rectangles on the main Cursors tilesheet.
Fields
Name | Value | Description |
---|---|---|
Default | -1 | The default pointer for the given input device. Automatically switches between Arrow and Finger depending on whether gamepad controls are active. |
Arrow | 0 | The default arrow cursor, used for mouse input when no special circumstances are present. |
Hourglass | 1 | Wait cursor, used e.g. when loading a save game. |
Hand | 2 | An open hand. Often used to indicate picking up items, opening doors or chests, petting animals, etc. In a UI, can also be used to indicate panning or dragging. |
Gift | 3 | Arrow tip with a wrapped gift box. Used to indicate gifting an NPC. |
Dialogue | 4 | Arrow tip with a speech bubble. Used to indicate the initiation of dialogue with an NPC. |
Search | 5 | Small magnifying glass denoting some type of search function. |
Harvest | 6 | Standard arrow pointer next to a plus, used for harvesting. The same icon is also used for stamina. |
Health | 7 | Standard arrow pointer next to a heart. |
Finger | 44 | Closed hand with pointed index finger, used for gamepad focus. |
ControllerA | 45 | The "A" button on a gamepad controller, without an explicit pointer. |
ControllerX | 46 | The "X" button on a gamepad controller, without an explicit pointer. |
ControllerB | 47 | The "B" button on a gamepad controller, without an explicit pointer. |
ControllerY | 48 | The "Y" button on a gamepad controller, without an explicit pointer. |