Subversion Repositories Kolibri OS

Rev

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

Rev 6050 Rev 6176
Line 80... Line 80...
80
}
80
}
81
 
81
 
Line 82... Line 82...
82
void DrawSettingsCheckBoxes()
82
void DrawSettingsCheckBoxes()
83
{
83
{
84
	CheckBox2(10, 11, 20, SHOW_DEVICE_CLASS,  show_dev_name);
84
	CheckBox(10, 11, 20, SHOW_DEVICE_CLASS,  show_dev_name);
85
	CheckBox2(10, 33, 21, SHOW_REAL_NAMES,  real_files_names_case);
85
	CheckBox(10, 33, 21, SHOW_REAL_NAMES,  real_files_names_case);
86
	CheckBox2(10, 55, 22, NOTIFY_COPY_END,  info_after_copy);
86
	CheckBox(10, 55, 22, NOTIFY_COPY_END,  info_after_copy);
87
	CheckBox2(10, 77, 24, USE_TWO_PANELS,  two_panels);
87
	CheckBox(10, 77, 24, USE_TWO_PANELS,  two_panels);
88
	MoreLessBox(10, 105, 18, 25, 26, #system.color, files.item_h, LIST_LINE_HEIGHT);
88
	MoreLessBox(10, 105, 25, 26, files.item_h, LIST_LINE_HEIGHT);
89
	if (label.font) MoreLessBox(10, 132, 18, 30, 31, #system.color, label.size.pt, FONT_SIZE_LABEL);
89
	if (label.font) MoreLessBox(10, 132, 30, 31, label.size.pt, FONT_SIZE_LABEL);
90
}
90
}
Line 91... Line 91...
91
 
91
 
92
 
92
 
Line 145... Line 145...
145
void SetAppColors()
145
void SetAppColors()
146
{
146
{
147
	system.color.work = 0xE4DFE1;
147
	system.color.work = 0xE4DFE1;
148
	system.color.work_text = 0;
148
	system.color.work_text = 0;
149
	system.color.work_graph  = 0x9098B0; //A0A0B8; //0x819FC5;
149
	system.color.work_graph  = 0x7E87A3; //A0A0B8;
150
	system.color.work_button = 0xD2D3D3;
150
	system.color.work_button = 0x7E87A3;
151
	system.color.work_button_text = 0x000000;
151
	system.color.work_button_text = 0x000000;
152
	col_padding = 0xC8C9C9;
152
	col_padding = 0xC8C9C9;
153
	col_selec   = 0x94AECE;
153
	col_selec   = 0x94AECE;
154
	col_lpanel  = 0x00699C;
154
	col_lpanel  = 0x00699C;
155
}
155
}
Line 160... Line 160...
160
	files.item_h = label.size.pt + 4;
160
	files.item_h = label.size.pt + 4;
161
	if (files.item_h<18) files.item_h = 18;
161
	if (files.item_h<18) files.item_h = 18;
162
	files_active.item_h = files_inactive.item_h = files.item_h;
162
	files_active.item_h = files_inactive.item_h = files.item_h;
163
}
163
}
164
 
164
165
 
-
 
166
void CheckBox2(dword x, y, id, text, byte value) {
-
 
167
	CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);
-
 
168
}
-
 
169
-
 
170
165