#include "dialog.h"
#include "colors.h"
Include dependency graph for util.c:
Go to the source code of this file.
Functions | |
void | attr_clear (WINDOW *win, int height, int width, chtype attr) |
void | dialog_clear (void) |
void | init_dialog (void) |
void | color_setup (void) |
void | end_dialog (void) |
void | print_autowrap (WINDOW *win, const char *prompt, int width, int y, int x) |
void | print_button (WINDOW *win, const char *label, int y, int x, int selected) |
void | draw_box (WINDOW *win, int y, int x, int height, int width, chtype box, chtype border) |
void | draw_shadow (WINDOW *win, int y, int x, int height, int width) |
int | first_alpha (const char *string, const char *exempt) |
Variables | |
bool | use_colors = 1 |
const char * | backtitle = NULL |
const char * | dialog_result |
chtype | attributes [] |
int | color_table [][3] |
|
Definition at line 112 of file util.c. Referenced by dialog_clear(), dialog_textbox(), and main(). |
|
Definition at line 164 of file util.c. References ATTRIBUTE_COUNT, attributes, C_ATTR, and color_table. Referenced by init_dialog(). |
|
Definition at line 125 of file util.c. References ACS_HLINE, attr_clear(), backtitle, and screen_attr. Referenced by init_dialog(). Here is the call graph for this function: ![]() |
|
Definition at line 286 of file util.c. References ACS_HLINE, ACS_LLCORNER, ACS_LRCORNER, ACS_ULCORNER, ACS_URCORNER, and ACS_VLINE. Referenced by dialog_checklist(), dialog_inputbox(), dialog_menu(), dialog_msgbox(), dialog_textbox(), and dialog_yesno(). |
|
Definition at line 321 of file util.c. References shadow_attr. Referenced by dialog_checklist(), dialog_inputbox(), dialog_menu(), dialog_msgbox(), dialog_textbox(), and dialog_yesno(). |
|
Definition at line 185 of file util.c. Referenced by main(). |
|
Definition at line 343 of file util.c. Referenced by dialog_menu(), and print_item(). |
|
Definition at line 145 of file util.c. References color_setup(), dialog_clear(), and use_colors. Referenced by main(). Here is the call graph for this function: ![]() |
|
Definition at line 198 of file util.c. References MAX_LEN. Referenced by dialog_checklist(), dialog_inputbox(), dialog_menu(), dialog_msgbox(), and dialog_yesno(). |
|
Definition at line 258 of file util.c. References button_active_attr, button_inactive_attr, button_key_active_attr, button_key_inactive_attr, button_label_active_attr, button_label_inactive_attr, and label. Referenced by dialog_msgbox(), dialog_textbox(), and print_buttons(). |
|
Definition at line 35 of file util.c. Referenced by color_setup(). |
|
Definition at line 28 of file util.c. Referenced by dialog_clear(), and main(). |
|
Definition at line 74 of file util.c. Referenced by color_setup(). |
|
|
Definition at line 26 of file util.c. Referenced by init_dialog(). |