WoW:API SetCursor: Difference between revisions
Jump to navigation
Jump to search
(fixed formatting, added {{WoW API}}) |
(Note new (1.11) possibility to pass path to graphic. Note that it is uncertain how it can be used.) |
||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
SetCursor(cursor); | |||
== Parameters == | |||
=== Arguments === | |||
;cursor: String - Can be one of these: | |||
:* "ATTACK_CURSOR" | |||
:* "ATTACK_ERROR_CURSOR" | |||
:* "BUY_CURSOR" | |||
:* "BUY_ERROR_CURSOR" | |||
:* "CAST_CURSOR" | |||
:* "CAST_ERROR_CURSOR" | |||
:* "POINT_CURSOR" | |||
:* "POINT_ERROR_CURSOR" | |||
:* nil - resets cursor | |||
:* A path to a 32x32 cursor graphic | |||
== Details == | |||
* The option to pass ''nil'' was added in 1.11. | |||
* The option to pass a path to a bitmap was added in 1.11. It is yet unclear if it is possible to use graphics outside Blizzard's .mpq's. | |||
Revision as of 19:27, 25 June 2006
SetCursor(cursor);
Parameters
Arguments
- cursor
- String - Can be one of these:
- "ATTACK_CURSOR"
- "ATTACK_ERROR_CURSOR"
- "BUY_CURSOR"
- "BUY_ERROR_CURSOR"
- "CAST_CURSOR"
- "CAST_ERROR_CURSOR"
- "POINT_CURSOR"
- "POINT_ERROR_CURSOR"
- nil - resets cursor
- A path to a 32x32 cursor graphic
Details
- The option to pass nil was added in 1.11.
- The option to pass a path to a bitmap was added in 1.11. It is yet unclear if it is possible to use graphics outside Blizzard's .mpq's.