This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
new:mouse [2018/02/17 03:02] – korshun | new:mouse [2018/02/17 13:59] – korshun | ||
---|---|---|---|
Line 19: | Line 19: | ||
The cursor library fully supports widescreen thanks to ACSUtils [[Widescreeen|widescreen support functions]]. | The cursor library fully supports widescreen thanks to ACSUtils [[Widescreeen|widescreen support functions]]. | ||
- | The cursor library doesn' | + | The cursor library doesn' |
<note important> | <note important> | ||
Line 27: | Line 27: | ||
===== A complete example ===== | ===== A complete example ===== | ||
- | An example using [[HudMessage]]: | + | An example using [[HudMessage]] |
< | < | ||
Line 62: | Line 62: | ||
===== Moving the cursor ===== | ===== Moving the cursor ===== | ||
- | ==== SetCursorPosition ==== | + | * '' |
- | + | | |
- | '' | + | |
- | + | ||
- | Teleports the cursor to a new position. | + | |
- | + | ||
- | ==== CenterCursor ==== | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | Teleports the cursor to the center of the screen. | + | |
===== Cursor settings ===== | ===== Cursor settings ===== | ||
Line 83: | Line 73: | ||
SetCursorSpeed(2.0); | SetCursorSpeed(2.0); | ||
EnableCursorWrap(true); | EnableCursorWrap(true); | ||
+ | |||
while (true) | while (true) | ||
{ | { |