Rev 7661 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7661 | Rev 7806 | ||
---|---|---|---|
Line 75... | Line 75... | ||
75 | 75 | ||
76 | #define WINW 400 |
76 | #define WINW 400 |
77 | #define WINH 300 |
77 | #define WINH 300 |
78 | void draw_window() |
78 | void draw_window() |
79 | { |
79 | { |
80 | system.color.get(); |
80 | sc.get(); |
81 | DefineAndDrawWindow(screen.width-WINW/2,screen.height-WINH/2, |
81 | DefineAndDrawWindow(screen.width-WINW/2,screen.height-WINH/2, |
82 | WINW+9,WINH+skin_height,0x34,system.color.work,"KolibriN10",0); |
82 | WINW+9,WINH+skin_height,0x34,sc.work,"KolibriN10",0); |
83 | DrawLogo(); |
83 | DrawLogo(); |
84 | if (install_complete) DrawInstallComplete(); else DrawIntro(); |
84 | if (install_complete) DrawInstallComplete(); else DrawIntro(); |
Line 85... | Line 85... | ||
85 | } |
85 | } |
86 | 86 | ||
87 | void DrawIntro() |
87 | void DrawIntro() |
88 | { |
88 | { |
89 | DrawTextViewArea(30, 140, WINW-60, WINH-80, |
89 | DrawTextViewArea(30, 140, WINW-60, WINH-80, |
90 | T_INTRO, -1, system.color.work_text); |
90 | T_INTRO, -1, sc.work_text); |
91 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, B_INSTALL, |
91 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, B_INSTALL, |
Line 92... | Line 92... | ||
92 | 0x0092D8, 0xFFFfff, T_INSTALL); |
92 | 0x0092D8, 0xFFFfff, T_INSTALL); |
93 | } |
93 | } |
94 | 94 | ||
95 | void DrawInstallComplete() |
95 | void DrawInstallComplete() |
96 | { |
96 | { |
97 | DrawIcon32(WINW-32/2, 140, system.color.work, 49); |
97 | DrawIcon32(WINW-32/2, 140, sc.work, 49); |
98 | WriteTextCenter(0,185, WINW, system.color.work_text, T_COMPLETE); |
98 | WriteTextCenter(0,185, WINW, sc.work_text, T_COMPLETE); |
Line 99... | Line 99... | ||
99 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, CLOSE_BTN, |
99 | DrawCaptButton(WINW-110/2, WINH-70, 110, 28, CLOSE_BTN, |