aboutsummaryrefslogtreecommitdiffstats
path: root/wavemon.h
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-06 21:13:09 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-06 21:13:09 +0100
commitd0faeb165ac7cd3ce0d1f22f15b0e90072bed969 (patch)
treea723545835f20a19a9620407b10259c10e8d3246 /wavemon.h
parentc20edfe61df77fa1b31572b26473fd12029a35b7 (diff)
parent3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 (diff)
downloadwavemon-d0faeb165ac7cd3ce0d1f22f15b0e90072bed969.tar.gz
Merge tag 'upstream/0.7.5'
Upstream version 0.7.5
Diffstat (limited to 'wavemon.h')
-rw-r--r--wavemon.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/wavemon.h b/wavemon.h
index db1e08a..3a249e5 100644
--- a/wavemon.h
+++ b/wavemon.h
@@ -181,11 +181,11 @@ struct conf_item {
enum wavemon_screen {
SCR_INFO, /* F1 */
SCR_LHIST, /* F2 */
- SCR_APLIST, /* F3 */
+ SCR_SCAN, /* F3 */
SCR_EMPTY_F4, /* placeholder */
SCR_EMPTY_F5, /* placeholder */
SCR_EMPTY_F6, /* placeholder */
- SCR_CONF, /* F7 */
+ SCR_PREFS, /* F7 */
SCR_HELP, /* F8 */
SCR_ABOUT, /* F9 */
SCR_QUIT /* F10 */
@@ -223,7 +223,13 @@ extern WINDOW *wmenubar(const enum wavemon_screen active);
extern void wclrtoborder(WINDOW *win);
extern void mvwclrtoborder(WINDOW *win, int y, int x);
-extern void waddstr_b(WINDOW * win, const char *s);
+
+extern void wadd_attr_str(WINDOW *win, const int attrs, const char *s);
+static inline void waddstr_b(WINDOW * win, const char *s)
+{
+ wadd_attr_str(win, A_BOLD, s);
+}
+
extern void waddstr_center(WINDOW * win, int y, const char *s);
extern const char *curtail(const char *str, const char *sep, int len);