Separata la customize_colors
git-svn-id: svn://10.65.10.50/trunk@1450 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6c05641638
commit
5b0c008301
include
@ -554,7 +554,8 @@ void dispatch_e_scroll(WINDOW win, KEY key)
|
||||
if (w != SC_NONE) xvt_win_dispatch_event(win, &e);
|
||||
}
|
||||
|
||||
void customize_controls(bool on)
|
||||
void customize_colors()
|
||||
|
||||
{
|
||||
TConfig colors(CONFIG_USER, "Colors");
|
||||
|
||||
@ -567,7 +568,12 @@ void customize_controls(bool on)
|
||||
DISABLED_BACK_COLOR = colors.get_color("DisabledBack", NULL, -1, DISABLED_BACK_COLOR);
|
||||
FOCUS_COLOR = colors.get_color("Focus", NULL, -1, FOCUS_COLOR);
|
||||
FOCUS_BACK_COLOR = colors.get_color("FocusBack", NULL, -1, FOCUS_BACK_COLOR);
|
||||
}
|
||||
|
||||
void customize_controls(bool on)
|
||||
|
||||
{
|
||||
customize_colors();
|
||||
if (on)
|
||||
{
|
||||
#if XVTWS == WMWS
|
||||
|
@ -47,6 +47,7 @@ WINDOW xvt_create_window
|
||||
|
||||
void beep();
|
||||
void do_events();
|
||||
void customize_colors();
|
||||
void customize_controls(bool on);
|
||||
KEY e_char_to_key(const EVENT* ep);
|
||||
void dispatch_e_menu(WINDOW win, MENU_TAG item);
|
||||
|
Loading…
x
Reference in New Issue
Block a user