|
|
mono_highlight.h - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed) |
|
|
 |
git clone git://git.codemadness.org/sfeed_curses (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
|
mono_highlight.h (1224B) |
|
|
|
--- |
|
|
|
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() do { } while(0) |
|
|
|
5 #define THEME_ITEM_FOCUS() do { } while(0) |
|
|
|
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() do { } while(0) |
|
|
|
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() do { } while(0) |
|