X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=ui.h;h=3e7483b2c06d497f5bcf1b0b1c18ae10fa9ee41e;hb=9c6906a1c6bf3c13ccd84b92638d0252987744cb;hp=ebffcd8d9112f0c3fdfa696cc664889bb5dc11b7;hpb=4909ba20244f55ee7326a40d751cf6737c2bc2b6;p=pkg%2Fabook.git diff --git a/ui.h b/ui.h index ebffcd8..3e7483b 100644 --- a/ui.h +++ b/ui.h @@ -10,18 +10,21 @@ enum { int is_ui_initialized(); void ui_init_curses(); +void ui_init_color_pairs_user(); int init_ui(); void close_ui(); void headerline(const char *str); void refresh_screen(); int statusline_msg(const char *msg); -int statusline_askchoice(const char *msg, const char *choices, short dflt); -char *ask_filename(char *prompt); -int statusline_ask_boolean(char *msg, int def); +int statusline_askchoice(const char *msg, const char *choices, + short dflt); +char *ask_filename(const char *prompt); +int statusline_ask_boolean(const char *msg, int def); void clear_statusline(); void display_help(int help); void statusline_addstr(const char *str); -char * ui_readline(char *prompt, char *s, size_t limit, bool use_completion); +char * ui_readline(const char *prompt, char *s, size_t limit, + bool use_completion); void refresh_statusline(); void get_commands(); void ui_remove_items();