~strahinja/poe

0f600dd827d995799c1ea5bdb3c06ee668aeb88a — Страхиња Радић 4 months ago 6604a5e
Remove config.h

Signed-off-by: Страхиња Радић <contact@strahinja.org>
1 files changed, 0 insertions(+), 70 deletions(-)

D config.h
D config.h => config.h +0 -70
@@ 1,70 0,0 @@
/* See the file LICENSE for copyright and license details. */

#define SAVE_WRAP_WIDTH 70
#define WRAP_FIRST_MSGSTR 0

#define DLG_FG				TB_BLACK
#define DLG_BG				TB_WHITE
#define EDIT_MSGID_FG			TB_BLACK | TB_BOLD
#define EDIT_MSGID_BG			TB_WHITE
#define EDIT_MSGID_FOCUS_FG		TB_BLACK
#define EDIT_MSGID_FOCUS_BG		TB_WHITE
#define EDIT_MSGID_HEADING_FG		TB_WHITE | TB_BOLD
#define EDIT_MSGID_HEADING_BG		TB_WHITE
#define EDIT_MSGSTR_FG			TB_BLACK | TB_BOLD
#define EDIT_MSGSTR_BG			TB_BLACK
#define EDIT_MSGSTR_FOCUS_FG		TB_YELLOW | TB_BOLD
#define EDIT_MSGSTR_FOCUS_BG		TB_BLACK
#define ERROR_FG			TB_WHITE | TB_BOLD
#define ERROR_BG			TB_RED
#define FLAG_FG				TB_YELLOW | TB_BOLD
#define FLAG_BG				TB_DEFAULT
#define LIST_FLAGS_FG			TB_YELLOW | TB_BOLD
#define LIST_FLAGS_BG			TB_DEFAULT
#define LIST_FLAGS_SEL_FG		TB_WHITE | TB_BOLD
#define LIST_FLAGS_SEL_BG		TB_BLUE
#define LIST_MSGID_FG			TB_WHITE
#define LIST_MSGID_BG			TB_DEFAULT
#define LIST_MSGID_SEL_FG		TB_WHITE
#define LIST_MSGID_SEL_BG		TB_BLUE
#define LIST_MSGID_SPECIAL_FG		TB_YELLOW | TB_BOLD
#define LIST_MSGID_SPECIAL_BG		TB_DEFAULT
#define LIST_MSGID_SPECIAL_SEL_FG	TB_WHITE | TB_BOLD
#define LIST_MSGID_SPECIAL_SEL_BG	TB_BLUE
#define LIST_MSGSTR_FG			TB_GREEN
#define LIST_MSGSTR_BG			TB_DEFAULT
#define LIST_MSGSTR_SEL_FG		TB_WHITE | TB_BOLD
#define LIST_MSGSTR_SEL_BG		TB_BLUE
#define LIST_SEL_FG			TB_WHITE
#define LIST_SEL_BG			TB_BLUE
#define MSGID_FG			TB_GREEN
#define MSGID_BG			TB_DEFAULT
#define MSGSTR_FG			TB_WHITE
#define MSGSTR_BG			TB_DEFAULT
#define PROMPT_FG			TB_YELLOW | TB_BOLD
#define PROMPT_BG			TB_MAGENTA
#define SEARCH_FG                       TB_BLACK
#define SEARCH_BG                       TB_WHITE
#define SEARCH_EDIT_FG                  TB_WHITE | TB_BOLD
#define SEARCH_EDIT_BG                  TB_BLACK
#define SEARCH_HL_FG                    TB_WHITE | TB_BOLD
#define SEARCH_HL_BG                    TB_GREEN
#define SHADOW_FG			TB_BLACK
#define SHADOW_BG			TB_BLACK | TB_BOLD
#define TITLE_FG			TB_BLACK
#define TITLE_BG			TB_WHITE

void format_filename(char* result, size_t result_size, const char* format,
		const struct DrawState* state);
void format_msgs(char* result, size_t result_size, const char* format,
		const struct DrawState* state);

static const struct StatusSegment status_segments[] = {
	{ .format = "%s%s",		.callback = format_filename, 
	  .fg = TB_BLACK,		.bg = TB_WHITE,	.alignment = LEFT },
	{ .format = "%ld/%ld (%ldu/%ldf/%ldo)",	
					.callback = format_msgs,
	  .fg = TB_WHITE | TB_BOLD,	.bg = TB_BLUE,	.alignment = CENTER },
	{ .format = "H=HELP, q=QUIT",	.callback = NULL,
	  .fg = TB_BLACK,		.bg = TB_WHITE,	.alignment = RIGHT },
};