1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[format] enum text_style_format -> text_style_format_T

This commit is contained in:
Witold Filipczyk 2022-01-28 15:16:34 +01:00
parent e8df90f7b0
commit 58c07356b9
4 changed files with 6 additions and 4 deletions

View File

@ -74,7 +74,7 @@ union css_property_value {
color_T color;
enum css_display display;
struct {
enum text_style_format add, rem;
text_style_format_T add, rem;
} font_attribute;
enum format_align text_align;
enum css_list_style list_style;

View File

@ -25,13 +25,15 @@ enum text_style_format {
AT_NO_ENTITIES = 64,
};
typedef unsigned short text_style_format_T;
struct text_style_color {
color_T foreground;
color_T background;
};
struct text_style {
enum text_style_format attr;
text_style_format_T attr;
struct text_style_color color;
};

View File

@ -194,7 +194,7 @@ put_image_label(char *a, char *label,
struct html_context *html_context)
{
color_T saved_foreground;
enum text_style_format saved_attr;
text_style_format_T saved_attr;
/* This is not 100% appropriate for <img>, but well, accepting
* accesskey and tabindex near <img> is just our little

View File

@ -1768,7 +1768,7 @@ put_image_label(struct source_renderer *renderer, void *node, unsigned char *lab
{
struct html_context *html_context = renderer->html_context;
color_T saved_foreground;
enum text_style_format saved_attr;
text_style_format_T saved_attr;
/* This is not 100% appropriate for <img>, but well, accepting
* accesskey and tabindex near <img> is just our little