X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.h;h=a38ea9489021cdadac0816bed00519b971b9c671;hb=11705fff523e2180e53a3b91fc92dc65ac7969b7;hp=b3ec85d66dbd0d95921e9754e834977fe72b82b9;hpb=1de5e2eefa511626bc6dbbff4bc3ad098237989a;p=taskasaur.git diff --git a/config.h b/config.h index b3ec85d..a38ea94 100644 --- a/config.h +++ b/config.h @@ -1,6 +1,36 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +#include + static char font[] = "Source Code Pro:size=12"; -static char default_board_file[] = "board.md"; +/* COLORS */ + +/* Use the ncurses defined colors, here's a list of them: + * COLOR_BLACK + * COLOR_RED + * COLOR_GREEN + * COLOR_YELLOW + * COLOR_BLUE + * COLOR_MAGENTA + * COLOR_CYAN + * COLOR_WHITE +*/ + +static int selected_color = COLOR_CYAN; +static int non_selected_color = COLOR_WHITE; +/* KEYS */ +#define BINDING_QUIT 'q' +#define BINDING_SCROLL_UP 'k' +#define BINDING_SCROLL_DOWN 'j' +#define BINDING_JUMP_TOP 'g' +#define BINDING_JUMP_BOTTOM 'G' +#define BINDING_MOVE_ITEM_UP 'K' +#define BINDING_MOVE_ITEM_DOWN 'J' +#define BINDING_DELETE_ITEM 'D' +#define BINDING_SELECT '\n' +#endif