Rev 9274 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9274 | Rev 9602 | ||
---|---|---|---|
Line 98... | Line 98... | ||
98 | GetProcessInfo(#Form, SelfInfo); |
98 | GetProcessInfo(#Form, SelfInfo); |
99 | if (Form.status_window&ROLLED_UP) break; |
99 | if (Form.status_window&ROLLED_UP) break; |
100 | if (Form.height<140) { MoveSize(OLD,OLD,OLD,140); break; } |
100 | if (Form.height<140) { MoveSize(OLD,OLD,OLD,140); break; } |
101 | if (Form.width<400) { MoveSize(OLD,OLD,400,OLD); break; } |
101 | if (Form.width<400) { MoveSize(OLD,OLD,400,OLD); break; } |
102 | DrawBar(0, 0, Form.cwidth, TOPH, sc.work); //top bg |
102 | DrawBar(0, 0, Form.cwidth, TOPH, sc.work); //top bg |
103 | DrawBar(0, TOPH, Form.cwidth, 1, sc.work_graph); |
103 | DrawBar(0, TOPH, Form.cwidth, 1, sc.line); |
104 | edit1.width = Form.cwidth-edit1.left-edit1.left - 116; |
104 | edit1.width = Form.cwidth-edit1.left-edit1.left - 116; |
105 | edit_box_draw stdcall(#edit1); |
105 | edit_box_draw stdcall(#edit1); |
106 | DrawWideRectangle(edit1.left-2, edit1.top-2, edit1.width+3, 25, 2, 0xffffff); |
106 | DrawWideRectangle(edit1.left-2, edit1.top-2, edit1.width+3, 25, 2, 0xffffff); |
107 | DrawRectangle(edit1.left-3, edit1.top-3, edit1.width+4, 26, sc.work_graph); |
107 | DrawRectangle(edit1.left-3, edit1.top-3, edit1.width+4, 26, sc.line); |
108 | DrawTranslation(); |
108 | DrawTranslation(); |
109 | DrawLangButtons(); |
109 | DrawLangButtons(); |
110 | } |
110 | } |
111 | } |
111 | } |
Line 193... | Line 193... | ||
193 | DeleteButton(15); |
193 | DeleteButton(15); |
194 | DrawBar(x,y,23,20,0xFFFFFF); |
194 | DrawBar(x,y,23,20,0xFFFFFF); |
195 | } else { |
195 | } else { |
196 | DefineHiddenButton(x-5, y-5, 23+10, 20+9, BTN_SPEAKER); |
196 | DefineHiddenButton(x-5, y-5, 23+10, 20+9, BTN_SPEAKER); |
197 | if (!GetProcessSlot(speaker_id)) { |
197 | if (!GetProcessSlot(speaker_id)) { |
198 | _PutImage(x, y, 23,20, #speaker); |
198 | PutImage(x, y, 23,20, #speaker); |
199 | } else { |
199 | } else { |
200 | _PutImage(x, y, 23,20, 23*20*3+#speaker); |
200 | PutImage(x, y, 23,20, 23*20*3+#speaker); |
201 | } |
201 | } |
202 | } |
202 | } |
203 | } |
203 | } |
Line 204... | Line 204... | ||
204 | 204 |