Rev 8996 | Rev 9301 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8996 | Rev 9201 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | #define T_INSTALL "¡®¢¨âì" |
26 | #define T_INSTALL "¡®¢¨âì" |
27 | #define T_COMPLETE "¡®¢«¥¨¥ § ¢¥à襮" |
27 | #define T_COMPLETE "¡®¢«¥¨¥ § ¢¥à襮" |
28 | #define T_EXIT "ë室" |
28 | #define T_EXIT "ë室" |
29 | #define IMG_URL "http://builds.kolibrios.org/rus/data/data/kolibri.img" |
29 | #define IMG_URL "http://builds.kolibrios.org/rus/data/data/kolibri.img" |
30 | #define KS "®åà ¨âì áâனª¨" |
30 | #define KS "®åà ¨âì áâனª¨" |
- | 31 | #define checkbox_h 190 |
|
31 | #else |
32 | #else |
32 | #define T_WINDOW_TITLE "KolibriOS Online Updater" |
33 | #define T_WINDOW_TITLE "KolibriOS Online Updater" |
33 | #define T_TITLE_H1 "ONLINE UPDATE" |
34 | #define T_TITLE_H1 "ONLINE UPDATE" |
34 | #define T_INTRO "This app will download the latest KolibriOS dirsto and update your RAM-disk with it. Kernel won't be restarted. |
35 | #define T_INTRO "This app will download the latest KolibriOS dirsto and update your RAM-disk with it. Kernel won't be restarted. |
35 | Please close all opened apps before start. |
36 | Please close all opened apps before start. |
Line 37... | Line 38... | ||
37 | #define T_INSTALL "Update" |
38 | #define T_INSTALL "Update" |
38 | #define T_COMPLETE "Update complete" |
39 | #define T_COMPLETE "Update complete" |
39 | #define T_EXIT "Exit" |
40 | #define T_EXIT "Exit" |
40 | #define IMG_URL "http://builds.kolibrios.org/eng/data/data/kolibri.img" |
41 | #define IMG_URL "http://builds.kolibrios.org/eng/data/data/kolibri.img" |
41 | #define KS "Keep settings folder" |
42 | #define KS "Keep settings folder" |
- | 43 | #define checkbox_h 210 |
|
42 | #endif |
44 | #endif |
43 | char accept_language[]="en"; //not used, necessary for http.get() |
45 | char accept_language[]="en"; //not used, necessary for http.get() |
44 | void Operation_Draw_Progress(dword f) {} //not used, necessary for copyf() |
46 | void Operation_Draw_Progress(dword f) {} //not used, necessary for copyf() |
Line 45... | Line 47... | ||
45 | 47 | ||
Line 83... | Line 85... | ||
83 | if (!install_complete) { |
85 | if (!install_complete) { |
84 | DrawTextViewArea(30, 50, WINW-60, WINH-80, T_INTRO, -1, sc.work_text); |
86 | DrawTextViewArea(30, 50, WINW-60, WINH-80, T_INTRO, -1, sc.work_text); |
85 | progress.set_size(30, WINH-130, WINW-60, 20); |
87 | progress.set_size(30, WINH-130, WINW-60, 20); |
86 | if (http.transfer<=0) { |
88 | if (http.transfer<=0) { |
87 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, 9, 0x0092D8, 0xFFFfff, T_INSTALL); |
89 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, 9, 0x0092D8, 0xFFFfff, T_INSTALL); |
88 | keep_settings.draw(30, WINH - 210); |
90 | keep_settings.draw(30, WINH - checkbox_h); |
89 | } |
91 | } |
90 | } else { |
92 | } else { |
91 | DrawIcon32(WINW-32/2, 140, sc.work, 49); |
93 | DrawIcon32(WINW-32/2, 140, sc.work, 49); |
92 | WriteTextCenter(0,185, WINW, sc.work_text, T_COMPLETE); |
94 | WriteTextCenter(0,185, WINW, sc.work_text, T_COMPLETE); |
93 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, 2, |
95 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, 2, |