Rev 7654 | Rev 7928 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7654 | Rev 7806 | ||
---|---|---|---|
Line 144... | Line 144... | ||
144 | GetKeys(); |
144 | GetKeys(); |
145 | if (key_scancode == SCAN_CODE_ESC) ExitProcess(); |
145 | if (key_scancode == SCAN_CODE_ESC) ExitProcess(); |
146 | break; |
146 | break; |
Line 147... | Line 147... | ||
147 | 147 | ||
148 | case evReDraw: |
148 | case evReDraw: |
149 | system.color.get(); |
149 | sc.get(); |
150 | DefineAndDrawWindow(130, 150, 465, 398 + skin_height, 0x34, system.color.work, WINDOW_TITLE, 0); |
150 | DefineAndDrawWindow(130, 150, 465, 398 + skin_height, 0x34, sc.work, WINDOW_TITLE, 0); |
151 | GetProcessInfo(#Form, SelfInfo); |
151 | GetProcessInfo(#Form, SelfInfo); |
152 | if (Form.status_window>2) break; |
152 | if (Form.status_window>2) break; |
153 | DrawWindowContent(); |
153 | DrawWindowContent(); |
154 | } |
154 | } |
Line 168... | Line 168... | ||
168 | 168 | ||
169 | frame_y = 15; |
169 | frame_y = 15; |
170 | y.n = frame_y; |
170 | y.n = frame_y; |
171 | DefineButton(22, y.inc(18), PIMG_W-1, PIMG_H-1, 100 + BT_HIDE, 0); |
171 | DefineButton(22, y.inc(18), PIMG_W-1, PIMG_H-1, 100 + BT_HIDE, 0); |
172 | DrawPanelsImage(y.n, tbAttachment); |
172 | DrawPanelsImage(y.n, tbAttachment); |
173 | WriteTextWithBg(68, y.inc(7), 0xD0, system.color.work_text, CHANGE_POS, system.color.work); |
173 | WriteTextWithBg(68, y.inc(7), 0xD0, sc.work_text, CHANGE_POS, sc.work); |
174 | tbSoftenUp.draw(22, y.inc(35)); |
174 | tbSoftenUp.draw(22, y.inc(35)); |
175 | tbClock.draw(win_center_x, y.n); |
175 | tbClock.draw(win_center_x, y.n); |
176 | tbSoftenDown.draw(22, y.inc(24)); |
176 | tbSoftenDown.draw(22, y.inc(24)); |
177 | tbCpuUsage.draw(win_center_x, y.n); |
177 | tbCpuUsage.draw(win_center_x, y.n); |
Line 186... | Line 186... | ||
186 | taskbar_on.draw(22, frame_y-7); |
186 | taskbar_on.draw(22, frame_y-7); |
187 | //DOCKY |
187 | //DOCKY |
188 | frame_y = calc(y.inc(20)); |
188 | frame_y = calc(y.inc(20)); |
189 | DefineButton(22, y.inc(18), PIMG_W-1, PIMG_H-1, 200 + BT_HIDE, 0); |
189 | DefineButton(22, y.inc(18), PIMG_W-1, PIMG_H-1, 200 + BT_HIDE, 0); |
190 | DrawPanelsImage(y.n, dkLocation+1); |
190 | DrawPanelsImage(y.n, dkLocation+1); |
191 | WriteTextWithBg(68, y.inc(7), 0xD0, system.color.work_text, CHANGE_POS, system.color.work); |
191 | WriteTextWithBg(68, y.inc(7), 0xD0, sc.work_text, CHANGE_POS, sc.work); |
192 | dkFsize.draw(22, y.inc(35)); |
192 | dkFsize.draw(22, y.inc(35)); |
193 | dkAshow.draw(win_center_x, y.n); |
193 | dkAshow.draw(win_center_x, y.n); |
194 | DrawFrame(PD, frame_y, Form.cwidth-PD-PD, Form.cheight-frame_y-PD, DOCK_FRAME_T); |
194 | DrawFrame(PD, frame_y, Form.cwidth-PD-PD, Form.cheight-frame_y-PD, DOCK_FRAME_T); |
195 | docky_on.draw(22, frame_y-7); |
195 | docky_on.draw(22, frame_y-7); |
196 | } |
196 | } |