| 16 | struct dialog_info dlg; |
| 17 | |
| 18 | static void set_mono_theme(void) |
| 19 | { |
| 20 | dlg.screen.atr = A_NORMAL; |
| 21 | dlg.shadow.atr = A_NORMAL; |
| 22 | dlg.dialog.atr = A_NORMAL; |
| 23 | dlg.title.atr = A_BOLD; |
| 24 | dlg.border.atr = A_NORMAL; |
| 25 | dlg.button_active.atr = A_REVERSE; |
| 26 | dlg.button_inactive.atr = A_DIM; |
| 27 | dlg.button_key_active.atr = A_REVERSE; |
| 28 | dlg.button_key_inactive.atr = A_BOLD; |
| 29 | dlg.button_label_active.atr = A_REVERSE; |
| 30 | dlg.button_label_inactive.atr = A_NORMAL; |
| 31 | dlg.inputbox.atr = A_NORMAL; |
| 32 | dlg.inputbox_border.atr = A_NORMAL; |
| 33 | dlg.searchbox.atr = A_NORMAL; |
| 34 | dlg.searchbox_title.atr = A_BOLD; |
| 35 | dlg.searchbox_border.atr = A_NORMAL; |
| 36 | dlg.position_indicator.atr = A_BOLD; |
| 37 | dlg.menubox.atr = A_NORMAL; |
| 38 | dlg.menubox_border.atr = A_NORMAL; |
| 39 | dlg.item.atr = A_NORMAL; |
| 40 | dlg.item_selected.atr = A_REVERSE; |
| 41 | dlg.tag.atr = A_BOLD; |
| 42 | dlg.tag_selected.atr = A_REVERSE; |
| 43 | dlg.tag_key.atr = A_BOLD; |
| 44 | dlg.tag_key_selected.atr = A_REVERSE; |
| 45 | dlg.check.atr = A_BOLD; |
| 46 | dlg.check_selected.atr = A_REVERSE; |
| 47 | dlg.uarrow.atr = A_BOLD; |
| 48 | dlg.darrow.atr = A_BOLD; |
| 49 | } |
| 50 | |
| 51 | #define DLG_COLOR(dialog, f, b, h) \ |
| 52 | do { \ |