X-Git-Url: https://git.tokkee.org/?p=ncmpc.git;a=blobdiff_plain;f=src%2Fcolors.h;h=deb910561cfa24a7cf203393f20bf4fdb5c1510a;hp=c166c363be4378e7c774eff76cc099a1b50a78a0;hb=474623a0d69139a235bc797a559d0bddb25b0588;hpb=92cb9c45ac41c2e1f7a9517a66e239ee2cb8ccc4 diff --git a/src/colors.h b/src/colors.h index c166c36..deb9105 100644 --- a/src/colors.h +++ b/src/colors.h @@ -24,6 +24,8 @@ #include "ncmpc_curses.h" #include "Compiler.h" +#include + enum color { COLOR_TITLE = 1, COLOR_TITLE_BOLD, @@ -47,8 +49,11 @@ gcc_pure int colors_str2color(const char *str); #ifdef ENABLE_COLORS -int colors_assign(const char *name, const char *value); -int colors_define(const char *name, short r, short g, short b); +bool +colors_assign(const char *name, const char *value); + +bool +colors_define(const char *name, short r, short g, short b); void colors_start(void);