FreeNOS
|
Go to the source code of this file.
Data Structures | |
struct | teken_pos_t |
struct | teken_rect_t |
struct | teken_attr_t |
struct | teken_span_t |
struct | teken_funcs_t |
struct | __teken |
Macros | |
#define | TF_BOLD 0x01 |
#define | TF_UNDERLINE 0x02 |
#define | TF_BLINK 0x04 |
#define | TF_REVERSE 0x08 |
#define | TC_BLACK 0 |
#define | TC_RED 1 |
#define | TC_GREEN 2 |
#define | TC_BROWN 3 |
#define | TC_BLUE 4 |
#define | TC_MAGENTA 5 |
#define | TC_CYAN 6 |
#define | TC_WHITE 7 |
#define | TC_NCOLORS 8 |
#define | TP_SHOWCURSOR 0 |
#define | TP_CURSORKEYS 1 |
#define | TP_KEYPADAPP 2 |
#define | TP_AUTOREPEAT 3 |
#define | TP_SWITCHVT 4 |
#define | TP_132COLS 5 |
#define | TP_SETBELLPD 6 |
#define | TP_SETBELLPD_PITCH(pd) ((pd) >> 16) |
#define | TP_SETBELLPD_DURATION(pd) ((pd) & 0xffff) |
#define | T_NUMSIZE 8 |
#define | T_NUMCOL 160 |
Typedefs | |
typedef unsigned char | teken_char_t |
typedef unsigned short | teken_unit_t |
typedef unsigned char | teken_format_t |
typedef unsigned char | teken_color_t |
typedef struct __teken | teken_t |
typedef void | teken_state_t(teken_t *, teken_char_t) |
typedef void | tf_bell_t(void *) |
typedef void | tf_cursor_t(void *, const teken_pos_t *) |
typedef void | tf_putchar_t(void *, const teken_pos_t *, teken_char_t, const teken_attr_t *) |
typedef void | tf_fill_t(void *, const teken_rect_t *, teken_char_t, const teken_attr_t *) |
typedef void | tf_copy_t(void *, const teken_rect_t *, const teken_pos_t *) |
typedef void | tf_param_t(void *, int, unsigned int) |
typedef void | tf_respond_t(void *, const void *, size_t) |
Functions | |
C void | teken_init (teken_t *, const teken_funcs_t *, void *) |
C void | teken_input (teken_t *, const void *, size_t) |
const C teken_attr_t * | teken_get_curattr (teken_t *) |
const C teken_attr_t * | teken_get_defattr (teken_t *) |
C void | teken_set_cursor (teken_t *, const teken_pos_t *) |
C void | teken_set_curattr (teken_t *, const teken_attr_t *) |
C void | teken_set_defattr (teken_t *, const teken_attr_t *) |
C void | teken_set_winsize (teken_t *, const teken_pos_t *) |
typedef unsigned char teken_char_t |
typedef unsigned char teken_color_t |
typedef unsigned char teken_format_t |
typedef void teken_state_t(teken_t *, teken_char_t) |
typedef unsigned short teken_unit_t |
typedef void tf_copy_t(void *, const teken_rect_t *, const teken_pos_t *) |
typedef void tf_cursor_t(void *, const teken_pos_t *) |
typedef void tf_fill_t(void *, const teken_rect_t *, teken_char_t, const teken_attr_t *) |
typedef void tf_putchar_t(void *, const teken_pos_t *, teken_char_t, const teken_attr_t *) |
const C teken_attr_t* teken_get_curattr | ( | teken_t * | ) |
Definition at line 309 of file teken.c.
References __teken::t_curattr.
const C teken_attr_t* teken_get_defattr | ( | teken_t * | ) |
Definition at line 323 of file teken.c.
References __teken::t_defattr.
C void teken_init | ( | teken_t * | , |
const teken_funcs_t * | , | ||
void * | |||
) |
Definition at line 173 of file teken.c.
References __teken::t_defattr, __teken::t_funcs, __teken::t_nextstate, __teken::t_softc, teken_attr_t::ta_bgcolor, teken_attr_t::ta_fgcolor, teken_attr_t::ta_format, TC_BLACK, TC_WHITE, teken_set_winsize(), teken_state_init, teken_subr_do_reset(), and teken_pos_t::tp_row.
Referenced by Terminal::initialize().
Definition at line 289 of file teken.c.
References teken_input_byte().
Referenced by Terminal::writeTerminal().
C void teken_set_curattr | ( | teken_t * | , |
const teken_attr_t * | |||
) |
Definition at line 316 of file teken.c.
References __teken::t_curattr.
C void teken_set_cursor | ( | teken_t * | , |
const teken_pos_t * | |||
) |
Definition at line 298 of file teken.c.
References __teken::t_cursor, __teken::t_winsize, teken_assert, teken_pos_t::tp_col, and teken_pos_t::tp_row.
C void teken_set_defattr | ( | teken_t * | , |
const teken_attr_t * | |||
) |
Definition at line 330 of file teken.c.
References __teken::t_curattr, __teken::t_defattr, and __teken::t_saved_curattr.
C void teken_set_winsize | ( | teken_t * | , |
const teken_pos_t * | |||
) |
Definition at line 337 of file teken.c.
References __teken::t_originreg, __teken::t_scrollreg, __teken::t_winsize, teken_pos_t::tp_row, teken_span_t::ts_begin, and teken_span_t::ts_end.
Referenced by Terminal::initialize(), and teken_init().