X-Git-Url: https://git.danieliu.xyz/?p=taskasaur.git;a=blobdiff_plain;f=config.h;h=153eb9c3545b6285f6227e5865bc66840ad4bb9c;hp=b3ec85d66dbd0d95921e9754e834977fe72b82b9;hb=7cd288f609ab7d99e5fb5b8da07d2c1b6f32907d;hpb=1de5e2eefa511626bc6dbbff4bc3ad098237989a diff --git a/config.h b/config.h index b3ec85d..153eb9c 100644 --- a/config.h +++ b/config.h @@ -1,6 +1,34 @@ +#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_SELECT '\n' +#endif