X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=options.c;h=6f75a06db368f215c85f6731b3415222badb2a41;hb=b1c882049db5d6d7d5770134cd93e14934ace6c1;hp=92d56703c22d1782728aa895597f83f41e3b87df;hpb=6f33a81fa948039f42f38cb96f736820be524539;p=pkg%2Fabook.git diff --git a/options.c b/options.c index 92d5670..6f75a06 100644 --- a/options.c +++ b/options.c @@ -1,6 +1,6 @@ /* - * $Id: options.c,v 1.33 2006/09/06 08:48:33 jheinonen Exp $ + * $Id$ * * by JH * @@ -67,7 +67,30 @@ static struct option abook_vars[] = { { "preserve_fields", OT_STR, STR_PRESERVE_FIELDS, UL "standard" }, { "sort_field", OT_STR, STR_SORT_FIELD, UL "nick" }, { "show_cursor", OT_BOOL, BOOL_SHOW_CURSOR, FALSE }, - + { "use_mouse", OT_BOOL, BOOL_USE_MOUSE, FALSE }, + { "scroll_speed", OT_INT, INT_SCROLL_SPEED, UL 2 }, + { "use_colors", OT_BOOL, BOOL_USE_COLORS, FALSE }, + { "color_header_fg", OT_STR, STR_COLOR_HEADER_FG, UL "blue" }, + { "color_header_fg", OT_STR, STR_COLOR_HEADER_FG, UL "blue" }, + { "color_header_bg", OT_STR, STR_COLOR_HEADER_BG, UL "red" }, + { "color_footer_fg", OT_STR, STR_COLOR_FOOTER_FG, UL "red" }, + { "color_footer_bg", OT_STR, STR_COLOR_FOOTER_BG, UL "default" }, + { "color_list_even_fg", OT_STR, STR_COLOR_LIST_EVEN_FG, UL "yellow" }, + { "color_list_even_bg", OT_STR, STR_COLOR_LIST_EVEN_BG, UL "default" }, + { "color_list_odd_fg", OT_STR, STR_COLOR_LIST_ODD_FG, UL "default" }, + { "color_list_odd_bg", OT_STR, STR_COLOR_LIST_ODD_BG, UL "default" }, + { "color_list_header_fg", OT_STR, STR_COLOR_LIST_HEADER_FG, UL "white" }, + { "color_list_header_bg", OT_STR, STR_COLOR_LIST_HEADER_BG, UL "blue" }, + { "color_list_highlight_fg", OT_STR, STR_COLOR_LIST_HIGHLIGHT_FG, UL "black" }, + { "color_list_highlight_bg", OT_STR, STR_COLOR_LIST_HIGHLIGHT_BG, UL "green" }, + { "color_tab_border_fg", OT_STR, STR_COLOR_TAB_BORDER_FG, UL "cyan" }, + { "color_tab_border_bg", OT_STR, STR_COLOR_TAB_BORDER_BG, UL "default" }, + { "color_tab_label_fg", OT_STR, STR_COLOR_TAB_LABEL_FG, UL "magenta" }, + { "color_tab_label_bg", OT_STR, STR_COLOR_TAB_LABEL_BG, UL "default" }, + { "color_field_name_fg", OT_STR, STR_COLOR_FIELD_NAME_FG, UL "yellow" }, + { "color_field_name_bg", OT_STR, STR_COLOR_FIELD_NAME_BG, UL "default" }, + { "color_field_value_fg", OT_STR, STR_COLOR_FIELD_VALUE_FG, UL "green" }, + { "color_field_value_bg", OT_STR, STR_COLOR_FIELD_VALUE_BG, UL "default" }, { NULL } };