Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7605 → Rev 7604

/programs/cmm/eolite/include/properties.h
250,12 → 250,9
break;
 
default:
if (key_modifier & KEY_LCTRL) || (key_modifier & KEY_RCTRL) {
EAX = key_editbox;
edit_box_key stdcall(#file_name_ed);
edit_box_key stdcall(#path_to_file_ed);
}
}
break;
case evReDraw:
/programs/cmm/eolite/include/translations.h
1,5 → 1,5
#define TITLE "Eolite File Manager 4.07"
#define ABOUT_TITLE "EOLITE 4.07"
#define TITLE "Eolite File Manager 4.06"
#define ABOUT_TITLE "EOLITE 4.06"
 
#ifdef LANG_RUS
?define T_FILE "” ©«"
/programs/cmm/software_widget/software_widget.c
1,5 → 1,5
/*
SOFTWARE CENTER v2.85
SOFTWARE CENTER v2.81
*/
 
#define MEMSIZE 4096 * 15
31,8 → 31,6
char window_title[128],
settings_ini_path[256] = "/sys/settings/";
 
bool small_screen = false;
 
#define LIST_BACKGROUND_COLOR 0xF3F3F3
 
block ipos[128];
79,12 → 77,6
 
DrawList();
window_height = row+1*list.item_h + list_pos + skin_height + 15;
if (window_height>screen.height) {
window_width = screen.width;
list.item_h -= 5;
window_height = row+1*list.item_h + list_pos + skin_height + 15;
small_screen = true;
}
 
loop() switch(WaitEvent())
{
106,20 → 98,13
system.color.get();
DefineAndDrawWindow(screen.width-window_width/2,screen.height-window_height/2,window_width,window_height,0x74,system.color.work,"",0);
GetProcessInfo(#Form, SelfInfo);
if (Form.status_window>2) {
DrawTitle(#window_title);
break;
}
if (small_screen) {
DrawTitle(#window_title);
list.y = 0;
} else {
DrawTitle(NULL);
if (Form.status_window>2) { DrawTitle(#window_title); break; } else DrawTitle("");
draw_top_bar();
}
DrawList();
DrawBar(0, row +1 * list.item_h + list_pos, Form.cwidth, -row - 1 * list.item_h - list_pos + Form.cheight, LIST_BACKGROUND_COLOR);
//if (list.cur_y == list.count)
DrawSelection();
break;
}
}
 
185,14 → 170,11
}
col = 0;
old_row = row;
 
if (!small_screen) {
DrawBar(0, row * list.item_h + list_pos, Form.cwidth , 29, LIST_BACKGROUND_COLOR);
text_len = kfont.WriteIntoWindow(10, row * list.item_h + 10 + list_pos, LIST_BACKGROUND_COLOR, 0, 15, sec_name);
DrawBar(text_len+20, row * list.item_h + list_pos + 20, Form.cwidth-text_len-20, 1, 0xDCDCDC);
DrawBar(text_len+20, row * list.item_h + list_pos + 21, Form.cwidth-text_len-20, 1, 0xFCFCFC);
list_pos += 29;
}
ini_enum_keys stdcall (f_name, sec_name, #draw_icons_from_section);
return true;
}