Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5702 → Rev 5703

/programs/cmm/eolite/include/gui.h
5,9 → 5,9
void Scroll() {
dword i;
 
word sc_x = Form.cwidth - 18;
word sc_y = 57;
word sc_h = Form.cheight - 18 - sc_y;
word sc_x = files.x + files.w;
word sc_y = files.y;
word sc_h = files.h - 16;
word sc_slider_y;
 
if (files.count<=0)
34,11 → 34,11
DrawBar(sc_x+2, sc_y+1, 14, sc_slider_y-sc_y-1, 0xCED0D0);
}
//area after slider
if (sc_h-sc_slider_h+55>sc_slider_y)
if (sc_h-sc_slider_h+sc_y-2>sc_slider_y)
{
DrawBar(sc_x+1, sc_slider_y + sc_slider_h+1, 15, 1, 0xC7C9C9);
DrawBar(sc_x+1, sc_slider_y + sc_slider_h+2, 1, sc_h-sc_slider_h-sc_slider_y+55, 0xC7C9C9);
DrawBar(sc_x+2, sc_slider_y + sc_slider_h+2, 14, sc_h-sc_slider_h-sc_slider_y+55, 0xCED0D0);
DrawBar(sc_x+1, sc_slider_y + sc_slider_h+2, 1, sc_h-sc_slider_h-sc_slider_y+sc_y-2, 0xC7C9C9);
DrawBar(sc_x+2, sc_slider_y + sc_slider_h+2, 14, sc_h-sc_slider_h-sc_slider_y+sc_y-2, 0xCED0D0);
}
}
 
/programs/cmm/eolite/include/left_panel.h
112,7 → 112,7
void DrawSystemDiscs()
{
char dev_name[15], disc_name[100], i, dev_icon, is_active;
int pos_y, pos_x;
int pos_y, pos_x=2;
for (i=disc_num; i<30; i++) DeleteButton(100+i);
for (i=0;i<disc_num;i++)
180,16 → 180,21
}
else
{
pos_y = 41;
pos_x = i*80 + files.x;
pos_y = 43;
DrawBar(pos_x, pos_y, 80, 17, 0xFFFFFF);
DefineButton(pos_x, pos_y, 79, 16, 100+i+BT_HIDE,0xFFFFFF);
DefineButton(pos_x+2, pos_y, strlen(#dev_name)*6 + 33, 16, 100+i+BT_HIDE,0xFFFFFF);
_PutImage(pos_x + 5, pos_y, 18,17, is_active*6+dev_icon*17*18*3+#devices);
WriteText(pos_x + 24, pos_y+5, 0x80, 0, #dev_name);
pos_x += strlen(#dev_name)*6 + 37;
}
}
if (two_panels) DrawBar(pos_x + 80, pos_y, files.x + files.w - pos_x - 80 + 17, 17, system.color.work);
if (two_panels)
{
DrawBar(pos_x, pos_y, Form.cwidth - pos_x - 2, 17, 0xFFFFFF);
DrawBar(2, pos_y-2, Form.cwidth - 4, 2, 0xFFFFFF);
DrawBar(2, pos_y+17, Form.cwidth - 4, 2, 0xFFFFFF);
}
}
 
 
void ActionsDraw()
/programs/cmm/eolite/include/translations.h
1,5 → 1,5
#define TITLE "Eolite File Manager v3.0 beta 4"
#define ABOUT_TITLE "Eolite 3.0 beta 4"
#define TITLE "Eolite File Manager v3.0 beta 5"
#define ABOUT_TITLE "Eolite 3.0 beta 5"
 
#ifdef LANG_RUS
?define T_FILE "” ©«"