mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[draw] enum screen_char_attr -> screen_char_attr_T
This commit is contained in:
parent
d839efc9f4
commit
199f1c60ff
@ -404,7 +404,7 @@ draw_menu_left_text_hk(struct terminal *term, char *text,
|
||||
{
|
||||
struct color_pair *hk_color = get_bfu_color(term, "menu.hotkey.normal");
|
||||
struct color_pair *hk_color_sel = get_bfu_color(term, "menu.hotkey.selected");
|
||||
enum screen_char_attr hk_attr = get_opt_bool("ui.dialogs.underline_hotkeys", NULL)
|
||||
screen_char_attr_T hk_attr = get_opt_bool("ui.dialogs.underline_hotkeys", NULL)
|
||||
? SCREEN_ATTR_UNDERLINE : 0;
|
||||
unsigned char c;
|
||||
int xbase = x + L_TEXT_SPACE;
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
static inline void
|
||||
init_template(struct screen_char *template_, struct document_options *options,
|
||||
enum screen_char_attr attr, color_T foreground, color_T background)
|
||||
screen_char_attr_T attr, color_T foreground, color_T background)
|
||||
{
|
||||
struct text_style style = INIT_TEXT_STYLE((int)attr, foreground, background);
|
||||
|
||||
|
@ -38,6 +38,8 @@ enum screen_char_attr {
|
||||
SCREEN_ATTR_FRAME = 0x80,
|
||||
};
|
||||
|
||||
typedef unsigned short screen_char_attr_T;
|
||||
|
||||
/** One position in the terminal screen's image. */
|
||||
struct screen_char {
|
||||
/** Contains either character value or frame data.
|
||||
|
Loading…
Reference in New Issue
Block a user