mirror of
https://git.zap.org.au/git/trader.git
synced 2025-01-03 14:57:41 -05:00
Redefine the cursor type as an enum instead of as macros
This commit is contained in:
parent
e8590e68eb
commit
d5951adb4f
10
src/system.h
10
src/system.h
@ -72,10 +72,12 @@
|
||||
************************************************************************/
|
||||
|
||||
// Visibility of the cursor in Curses
|
||||
#define CURS_INVISIBLE (0)
|
||||
#define CURS_NORMAL (1)
|
||||
#define CURS_VISIBLE (1)
|
||||
#define CURS_VERYVISIBLE (2)
|
||||
typedef enum curs_type {
|
||||
CURS_INVISIBLE = 0,
|
||||
CURS_NORMAL = 1,
|
||||
CURS_VISIBLE = 1,
|
||||
CURS_VERYVISIBLE = 2
|
||||
} curs_type_t;
|
||||
|
||||
|
||||
// Compiler __attributes__ for less-capable compilers
|
||||
|
Loading…
Reference in New Issue
Block a user