Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6175 → Rev 6176

/programs/cmm/eolite/include/gui.h
50,11 → 50,14
PutPixel(x+width-1, y+1, col_padding);
DrawFilledBar(x+2, y+2, width-3, height-3);
if (id) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF);
if (height<18)
WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,system.color.work_text,text);
else
WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,system.color.work_text,text);
if (height<18) {
WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,MixColors(system.color.work_text,0xFFFfff,210),text);
}
else {
DrawRectangle3D(x-1,y-1,width+2,height+2,system.color.work,MixColors(system.color.work,system.color.work_graph,200));
WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,MixColors(system.color.work_text,0xFFFfff,210),text);
}
}
 
void DrawFilledBar(dword x, y, w, h)
{
/programs/cmm/eolite/include/properties.h
373,7 → 373,7
 
void DrawPropertiesCheckBoxes()
{
CheckBox2(22, flags_frame.start_y + 14, 20, PR_T_ONLY_READ, atr_readonly);
CheckBox2(22, flags_frame.start_y + 36, 21, PR_T_HIDDEN, atr_hidden);
CheckBox2(22, flags_frame.start_y + 58, 22, PR_T_SYSTEM, atr_system);
CheckBox(22, flags_frame.start_y + 14, 20, PR_T_ONLY_READ, atr_readonly);
CheckBox(22, flags_frame.start_y + 36, 21, PR_T_HIDDEN, atr_hidden);
CheckBox(22, flags_frame.start_y + 58, 22, PR_T_SYSTEM, atr_system);
}
/programs/cmm/eolite/include/settings.h
82,12 → 82,12
 
void DrawSettingsCheckBoxes()
{
CheckBox2(10, 11, 20, SHOW_DEVICE_CLASS, show_dev_name);
CheckBox2(10, 33, 21, SHOW_REAL_NAMES, real_files_names_case);
CheckBox2(10, 55, 22, NOTIFY_COPY_END, info_after_copy);
CheckBox2(10, 77, 24, USE_TWO_PANELS, two_panels);
MoreLessBox(10, 105, 18, 25, 26, #system.color, files.item_h, LIST_LINE_HEIGHT);
if (label.font) MoreLessBox(10, 132, 18, 30, 31, #system.color, label.size.pt, FONT_SIZE_LABEL);
CheckBox(10, 11, 20, SHOW_DEVICE_CLASS, show_dev_name);
CheckBox(10, 33, 21, SHOW_REAL_NAMES, real_files_names_case);
CheckBox(10, 55, 22, NOTIFY_COPY_END, info_after_copy);
CheckBox(10, 77, 24, USE_TWO_PANELS, two_panels);
MoreLessBox(10, 105, 25, 26, files.item_h, LIST_LINE_HEIGHT);
if (label.font) MoreLessBox(10, 132, 30, 31, label.size.pt, FONT_SIZE_LABEL);
}
 
 
147,8 → 147,8
{
system.color.work = 0xE4DFE1;
system.color.work_text = 0;
system.color.work_graph = 0x9098B0; //A0A0B8; //0x819FC5;
system.color.work_button = 0xD2D3D3;
system.color.work_graph = 0x7E87A3; //A0A0B8;
system.color.work_button = 0x7E87A3;
system.color.work_button_text = 0x000000;
col_padding = 0xC8C9C9;
col_selec = 0x94AECE;
162,8 → 162,3
if (files.item_h<18) files.item_h = 18;
files_active.item_h = files_inactive.item_h = files.item_h;
}
 
 
void CheckBox2(dword x, y, id, text, byte value) {
CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);
}