Subversion Repositories Kolibri OS

Rev

Rev 5748 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5748 Rev 5793
Line -... Line 1...
-
 
1
byte current_theme;
-
 
2
enum {
-
 
3
	THEME_DARK,
-
 
4
	THEME_LIGHT
-
 
5
};
-
 
6
 
1
char config_section[] = "Config";
7
char config_section[] = "Config";
Line 2... Line 8...
2
 
8
 
3
void LoadIniConfig()
9
void LoadIniConfig()
4
{
10
{
Line 62... Line 68...
62
	theme.color_list_scroller = 0xBBBbbb;
68
	theme.color_list_scroller = 0xBBBbbb;
63
	theme.color_list_border = 0x121212;
69
	theme.color_list_border = 0x121212;
64
	scroll1.bckg_col = theme.color_list_bg;
70
	scroll1.bckg_col = theme.color_list_bg;
65
	scroll1.frnt_col = theme.color_list_border;
71
	scroll1.frnt_col = theme.color_list_border;
66
	scroll1.line_col = theme.color_list_border;
72
	scroll1.line_col = theme.color_list_border;
67
	DrawWindow();
73
	draw_window();
68
}
74
}
Line 69... Line 75...
69
 
75
 
70
 
76
 
Line 82... Line 88...
82
	theme.color_list_scroller = 0xBBBbbb;
88
	theme.color_list_scroller = 0xBBBbbb;
83
	theme.color_list_border = 0x736D65;
89
	theme.color_list_border = 0x736D65;
84
	scroll1.bckg_col = theme.color_list_bg;
90
	scroll1.bckg_col = theme.color_list_bg;
85
	scroll1.frnt_col = theme.color_list_border;
91
	scroll1.frnt_col = theme.color_list_border;
86
	scroll1.line_col = theme.color_list_border;
92
	scroll1.line_col = theme.color_list_border;
87
	DrawWindow();
93
	draw_window();
88
}
94
}
89
95