/programs/cmm/browser/history.h |
---|
20,6 → 20,7 |
strcat(history_pointer, "</a><br>"); |
} |
/* |
strcat(history_pointer, "<br><b>Cached images</b><br>"); |
for (i=1; i<cache.url.count; i++) if (cache.type.get(i) == IMG) |
{ |
28,6 → 29,7 |
strcat(history_pointer, cache.url.get(i)); |
strcat(history_pointer, "'><br>"); |
} |
*/ |
LoadInternalPage(history_pointer, strlen(history_pointer)); |
free(history_pointer); |
/programs/cmm/eolite/Eolite.c |
---|
8,9 → 8,9 |
- 70.5 - get volume info and label |
*/ |
#define ABOUT_TITLE "EOLITE 5.01 Gold" |
#define TITLE_EOLITE "Eolite File Manager 5.01 Gold" |
#define TITLE_KFM "Kolibri File Manager 2.01 Gold"; |
#define ABOUT_TITLE "EOLITE 5.02 Gold" |
#define TITLE_EOLITE "Eolite File Manager 5.02 Gold" |
#define TITLE_KFM "Kolibri File Manager 2.02 Gold"; |
#define MEMSIZE 1024 * 250 |
#include "../lib/clipboard.h" |
/programs/cmm/eolite/include/left_panel.h |
---|
136,7 → 136,7 |
int optionsy = SELECTY+KFM2_DEVH+1; |
char dev_name[15], disc_name[100], i, dev_icon, is_active=0; |
for (i=0; i<30; i++) DeleteButton(100+i); |
SystemDiscs.Get(); |
DrawPopup(draw_x, optionsy, DDW, list.count*KFM2_DEVH, 1, -1, sc.work_graph); |
/programs/cmm/lib/gui/text_view_area.h |
---|
8,7 → 8,7 |
{ |
dword write_start; |
dword buf_end; |
int line_h = 15; |
#define LINE_H 17 |
int label_length_max; |
int write_length; |
bool end_found; |
19,9 → 19,9 |
loop() |
{ |
if (bg_col!=-1) DrawBar(x, y, w+1, line_h, bg_col); |
if (bg_col!=-1) DrawBar(x, y, w+1, LINE_H, bg_col); |
end_found = false; |
write_length = strchr(write_start, '\n') - write_start; //search normal line break |
write_length = strchr(write_start, '\n') - write_start +1; //search normal line break |
if (write_length > label_length_max) || (write_length<=0) //check its position: exceeds maximum line length or not found |
{ |
if (buf_end - write_start < label_length_max) //check does current line the last |
46,9 → 46,9 |
// WriteTextB(-write_start+buf_start+editpos * 8 + x - 5 +1, y, 0x90, 0xFF0000, "|"); |
// } |
write_start += write_length + 1; |
y += line_h; |
y += LINE_H; |
if (write_start >= buf_end) break; |
} |
if (bg_col!=-1) DrawBar(x,y,w+1,h-y+line_h-4,bg_col); |
return y+line_h; |
if (bg_col!=-1) DrawBar(x,y,w+1,h-y+LINE_H-4,bg_col); |
return y+LINE_H; |
} |
/programs/cmm/misc/osupdate.c |
---|
28,7 → 28,6 |
#define T_EXIT "ë室" |
#define IMG_URL "http://builds.kolibrios.org/rus/data/data/kolibri.img" |
#define KS "®åà ¨âì áâனª¨" |
#define RA "¥à¥§ ¯ãáâ¨âì ¢á¥ ¯à®£à ¬¬ë" |
#else |
#define T_WINDOW_TITLE "KolibriOS Online Updater" |
#define T_TITLE_H1 "ONLINE UPDATE" |
40,13 → 39,11 |
#define T_EXIT "Exit" |
#define IMG_URL "http://builds.kolibrios.org/eng/data/data/kolibri.img" |
#define KS "Keep settings folder" |
#define RA "Restart all apps" |
#endif |
char accept_language[]="en"; //not used, necessary for http.get() |
void Operation_Draw_Progress(dword f) {} //not used, necessary for copyf() |
checkbox keep_settings = { KS, true }; |
checkbox restart_apps = { RA, true }; |
void main() |
{ |
62,7 → 59,6 |
if (btn<=2) ExitProcess(); |
if (btn==9) goto _INSTALL; |
keep_settings.click(btn); |
restart_apps.click(btn); |
break; |
case evKey: |
90,7 → 86,6 |
if (http.transfer<=0) { |
DrawCaptButton(WINW-110/2, WINH-70, 110, 28, 9, 0x0092D8, 0xFFFfff, T_INSTALL); |
keep_settings.draw(30, WINH - 210); |
restart_apps.draw(30, WINH - 185); |
} |
} else { |
DrawIcon32(WINW-32/2, 140, sc.work, 49); |
181,7 → 176,6 |
copyf("/sys", #backup); |
copyf(#latest, "/sys"); |
if (keep_settings.checked) copyf(#backup_settings, "/sys/settings"); |
if (restart_apps.checked) RestartAllProcess(); |
install_complete = true; |
} |
} |