Changeset View
Changeset View
Standalone View
Standalone View
sys/teken/teken.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
#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. */ | #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_YELLOW 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 | ||||
#define TC_WHITE 7 | #define TC_WHITE 7 | ||||
#define TC_NCOLORS 8 | #define TC_NCOLORS 8 | ||||
#define TC_LIGHT 8 /* ORed with the others. */ | #define TC_LIGHT 8 /* ORed with the others. */ | ||||
typedef struct { | typedef struct { | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |