95 |
/* Turn on/off the cursor. */ |
/* Turn on/off the cursor. */ |
96 |
void (*setcursor) (int on); |
void (*setcursor) (int on); |
97 |
|
|
98 |
|
/* Update the screen. */ |
99 |
|
void (*refresh) (void); |
100 |
|
|
101 |
/* The feature flags defined above. */ |
/* The feature flags defined above. */ |
102 |
pupa_uint32_t flags; |
pupa_uint32_t flags; |
103 |
|
|
124 |
void EXPORT_FUNC(pupa_setcolor) (pupa_uint8_t normal_color, |
void EXPORT_FUNC(pupa_setcolor) (pupa_uint8_t normal_color, |
125 |
pupa_uint8_t highlight_color); |
pupa_uint8_t highlight_color); |
126 |
int EXPORT_FUNC(pupa_setcursor) (int on); |
int EXPORT_FUNC(pupa_setcursor) (int on); |
127 |
|
void EXPORT_FUNC(pupa_refresh) (void); |
128 |
|
|
129 |
/* For convenience. */ |
/* For convenience. */ |
130 |
#define PUPA_TERM_ASCII_CHAR(c) ((c) & 0xff) |
#define PUPA_TERM_ASCII_CHAR(c) ((c) & 0xff) |