mono_highlight.h (1016B)
1 /* mono theme with highlighting of the active panel. 2 The faint attribute may not work on all terminals though. 3 The combination bold with faint generally does not work either. */ 4 #define THEME_ITEM_NORMAL() 5 #define THEME_ITEM_FOCUS() 6 #define THEME_ITEM_BOLD() do { if (p->focused || !selected) attrmode(ATTR_BOLD_ON); } while(0) 7 #define THEME_ITEM_SELECTED() do { attrmode(ATTR_REVERSE_ON); if (!p->focused) attrmode(ATTR_FAINT_ON); } while(0) 8 #define THEME_SCROLLBAR_FOCUS() 9 #define THEME_SCROLLBAR_NORMAL() do { attrmode(ATTR_FAINT_ON); } while(0) 10 #define THEME_SCROLLBAR_TICK_FOCUS() do { attrmode(ATTR_REVERSE_ON); } while(0) 11 #define THEME_SCROLLBAR_TICK_NORMAL() do { attrmode(ATTR_REVERSE_ON); } while(0) 12 #define THEME_LINEBAR() do { attrmode(ATTR_FAINT_ON); } while(0) 13 #define THEME_STATUSBAR() do { attrmode(ATTR_REVERSE_ON); } while(0) 14 #define THEME_INPUT_LABEL() do { attrmode(ATTR_REVERSE_ON); } while(0) 15 #define THEME_INPUT_NORMAL()