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

[group] _node

This commit is contained in:
Witold Filipczyk 2022-03-18 18:46:34 +01:00
parent 1db4844920
commit b99c7cfb03

View File

@ -28,7 +28,7 @@ dlg_format_group(struct dialog_data *dlg_data,
int space_between_widgets = 1; int space_between_widgets = 1;
int line_width = 0; int line_width = 0;
int xpos; int xpos;
struct color_pair *color = get_bfu_color(term, "dialog.text"); unsigned int color_node = get_bfu_color_node(term, "dialog.text");
assert(n > 0); assert(n > 0);
if_assert_failed return; if_assert_failed return;
@ -88,18 +88,18 @@ dlg_format_group(struct dialog_data *dlg_data,
text, text,
label_length, label_length,
NULL); NULL);
draw_dlg_text(dlg_data, xpos + width draw_dlg_text_node(dlg_data, xpos + width
+ label_padding, + label_padding,
*y, text, lb, 0, *y, text, lb, 0,
color); color_node);
} else } else
#endif /* CONFIG_UTF8 */ #endif /* CONFIG_UTF8 */
{ {
draw_dlg_text(dlg_data, xpos + width draw_dlg_text_node(dlg_data, xpos + width
+ label_padding, + label_padding,
*y, text, *y, text,
label_length, 0, label_length, 0,
color); color_node);
} }
} }
@ -114,14 +114,14 @@ dlg_format_group(struct dialog_data *dlg_data,
text, text,
label_length, label_length,
NULL); NULL);
draw_dlg_text(dlg_data, xpos, *y, draw_dlg_text_node(dlg_data, xpos, *y,
text, lb, 0, color); text, lb, 0, color_node);
} else } else
#endif /* CONFIG_UTF8 */ #endif /* CONFIG_UTF8 */
{ {
draw_dlg_text(dlg_data, xpos, *y, draw_dlg_text_node(dlg_data, xpos, *y,
text, label_length, text, label_length,
0, color); 0, color_node);
} }
} }