Appendix B: Global Variables — Display
1221
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
CU_cursorState
Declaration:
CU_STATE
CU_cursorState
Category(ies):
Display, Interrupts
Description:
Holds the current state of the cursor, either CU_CURSOR_ON or
CU_CURSOR_OFF.
Do not fetch or modify the value of
CU_cursorState
directly. Use
CU_state
and
CU_restore
to get and set the current cursor state, or
CU_start
or
CU_stop
to start or stop cursor flash.
Inputs:
Not applicable.
Outputs:
Not applicable.
Assumptions:
Access_AMS_Global_Variables must be defined.
Side Effects:
Not applicable.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: CU_state, CU_restore, CU_start, CU_stop
Example:
CU_STATE cs = CU_state(); /* save cursor state */
CU_stop() /* turn off cursor */
.
. /* do something with cursor off */
.
CU_restore(cs); /* restore cursor state */