Rev 3336 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3336 | Rev 3401 | ||
---|---|---|---|
Line 191... | Line 191... | ||
191 | unsigned int disk_pos_x[]={13,13,13,83,83,83,153,153,153,223,223,223}; |
191 | unsigned int disk_pos_x[]={13,13,13,83,83,83,153,153,153,223,223,223}; |
192 | unsigned int disk_pos_y[]={40,65,90,40,65,90,40,65,90,40,65,90}; |
192 | unsigned int disk_pos_y[]={40,65,90,40,65,90,40,65,90,40,65,90}; |
Line 193... | Line 193... | ||
193 | 193 | ||
194 | void DrawTmpDisks() |
194 | void DrawTmpDisks() |
195 | { |
195 | { |
196 | int i; |
196 | int i,FreeRAM=GetFreeRAM()/1024; |
197 | DrawBar(0,31, Form.cwidth,Form.cheight-TOPPANELH-BOTPANELH-2, 0xFFFFFF); |
197 | DrawBar(0,31, Form.cwidth,Form.cheight-TOPPANELH-BOTPANELH-2, 0xFFFFFF); |
198 | DrawBar(0,Form.cheight-BOTPANELH-1, Form.cwidth,1, sc.work_graph); |
198 | DrawBar(0,Form.cheight-BOTPANELH-1, Form.cwidth,1, sc.work_graph); |
199 | DrawBar(0,Form.cheight-BOTPANELH, Form.cwidth,BOTPANELH, sc.work); |
199 | DrawBar(0,Form.cheight-BOTPANELH, Form.cwidth,BOTPANELH, sc.work); |
200 | WriteText(10, Form.cheight-13, 0x80, sc.work_text, "Free RAM size:"); |
200 | WriteText(10, Form.cheight-13, 0x80, sc.work_text, "Free RAM size:"); |
201 | WriteText(100, Form.cheight-13, 0x80, sc.work_text, itoa(GetFreeRAM()/2048)); |
201 | WriteText(100, Form.cheight-13, 0x80, sc.work_text, itoa(FreeRAM)); |
202 | WriteText(strlen(itoa(GetFreeRAM()/2048))*6 + 100, Form.cheight-13, 0x80, sc.work_text, " MB"); |
202 | WriteText(strlen(itoa(FreeRAM))*6 + 100, Form.cheight-13, 0x80, sc.work_text, " MB"); |
203 | if (disk_num==0) |
203 | if (disk_num==0) |
204 | { |
204 | { |
205 | WriteText(17,45, 0x90, 0x777777, INTRO_TEXT_1); |
205 | WriteText(17,45, 0x90, 0x777777, INTRO_TEXT_1); |
206 | WriteText(17,45+15, 0x90, 0x777777, INTRO_TEXT_2); |
206 | WriteText(17,45+15, 0x90, 0x777777, INTRO_TEXT_2); |