]> git.deb.at Git - pkg/abook.git/blobdiff - ui.h
vCard parser: use item_fput() to store phone numbers into the right fields
[pkg/abook.git] / ui.h
diff --git a/ui.h b/ui.h
index 25bc8509db2070d224f907808bf50acf1de9079d..fd7670e6fbed3beb91bae4fc89bf94ae2f8c121b 100644 (file)
--- a/ui.h
+++ b/ui.h
@@ -10,6 +10,8 @@ enum {
 
 int            is_ui_initialized();
 void           ui_init_curses();
+void           ui_init_color_pairs_user();
+void           ui_enable_mouse(bool enabled);
 int            init_ui();
 void           close_ui();
 void           headerline(const char *str);
@@ -35,6 +37,9 @@ char          *get_surname(char *s);
 void           ui_print_database();
 void           ui_open_datafile();
 
+#if NCURSES_MOUSE_VERSION != 2
+#define BUTTON5_PRESSED (0x80 | 0x8000000)
+#endif
 
 #include "options.h" /* needed for options_get_bool */