Changeset View
Changeset View
Standalone View
Standalone View
sys/teken/teken.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
typedef uint32_t teken_char_t; | typedef uint32_t teken_char_t; | ||||
typedef unsigned short teken_unit_t; | typedef unsigned short teken_unit_t; | ||||
typedef unsigned char teken_format_t; | typedef unsigned char teken_format_t; | ||||
#define TF_BOLD 0x01 /* Bold character. */ | #define TF_BOLD 0x01 /* Bold character. */ | ||||
#define TF_UNDERLINE 0x02 /* Underline character. */ | #define TF_UNDERLINE 0x02 /* Underline character. */ | ||||
#define TF_BLINK 0x04 /* Blinking character. */ | #define TF_BLINK 0x04 /* Blinking character. */ | ||||
#define TF_REVERSE 0x08 /* Reverse rendered character. */ | #define TF_REVERSE 0x08 /* Reverse rendered character. */ | ||||
#define TF_CJK_RIGHT 0x10 /* Right-hand side of CJK character. */ | #define TF_CJK_RIGHT 0x10 /* Right-hand side of CJK character. */ | ||||
#define TF_IMAGE 0x20 /* This character space has image. */ | |||||
typedef unsigned char teken_color_t; | typedef unsigned char teken_color_t; | ||||
#define TC_BLACK 0 | #define TC_BLACK 0 | ||||
#define TC_RED 1 | #define TC_RED 1 | ||||
#define TC_GREEN 2 | #define TC_GREEN 2 | ||||
#define TC_BROWN 3 | #define TC_BROWN 3 | ||||
#define TC_BLUE 4 | #define TC_BLUE 4 | ||||
#define TC_MAGENTA 5 | #define TC_MAGENTA 5 | ||||
#define TC_CYAN 6 | #define TC_CYAN 6 | ||||
▲ Show 20 Lines • Show All 163 Lines • Show Last 20 Lines |