Rev 9341 | Rev 9453 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9341 | Rev 9439 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | #include "../lib/io.h" |
3 | #include "../lib/io.h" |
4 | #include "../lib/gui.h" |
4 | #include "../lib/gui.h" |
5 | #include "../lib/copyf.h" |
5 | #include "../lib/copyf.h" |
Line 6... | Line 6... | ||
6 | 6 | ||
7 | #include "../lib/obj/libini.h" |
- | |
Line 8... | Line 7... | ||
8 | #include "../lib/obj/libimg.h" |
7 | #include "../lib/obj/libini.h" |
Line 9... | Line 8... | ||
9 | 8 | ||
10 | #include "../lib/patterns/restart_process.h" |
9 | #include "../lib/patterns/restart_process.h" |
Line 38... | Line 37... | ||
38 | 37 | ||
39 | void main() |
38 | void main() |
40 | { |
39 | { |
41 | word btn; |
40 | word btn; |
42 | load_dll(libini, #lib_init,1); |
- | |
43 | load_dll(libimg, #libimg_init,1); |
41 | load_dll(libini, #lib_init,1); |
44 | loop() switch(WaitEventTimeout(300) & 0xFF) |
42 | loop() switch(@WaitEventTimeout(300)) |
45 | { |
43 | { |
46 | case evButton: |
44 | case evButton: |
47 | btn = GetButtonID(); |
45 | btn = GetButtonID(); |
48 | if (btn == 1) || (B_EXIT == btn) ExitProcess(); |
46 | if (btn == 1) || (B_EXIT == btn) ExitProcess(); |
Line 87... | Line 85... | ||
87 | 0x0092D8, 0xFFFfff, T_INSTALL); |
85 | 0x0092D8, 0xFFFfff, T_INSTALL); |
88 | } |
86 | } |
Line 89... | Line 87... | ||
89 | 87 | ||
90 | void DrawInstallComplete() |
88 | void DrawInstallComplete() |
91 | { |
89 | { |
92 | DrawIcon32(WINW-32/2, 140, sc.work, 49); |
90 | draw_icon_32(WINW-32/2, 140, sc.work, 49); |
93 | WriteTextCenter(0,185, WINW, sc.work_text, T_COMPLETE); |
91 | WriteTextCenter(0,185, WINW, sc.work_text, T_COMPLETE); |
94 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, B_EXIT, |
92 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, B_EXIT, |
95 | 0x0092D8, 0xFFFfff, T_EXIT); |
93 | 0x0092D8, 0xFFFfff, T_EXIT); |