Rev 8911 | Rev 9473 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8911 | Rev 8946 | ||
---|---|---|---|
Line 642... | Line 642... | ||
642 | } |
642 | } |
Line 643... | Line 643... | ||
643 | 643 | ||
644 | void DrawStatusBar(dword _in_text) |
644 | void DrawStatusBar(dword _in_text) |
645 | { |
645 | { |
646 | static char status_text[64]; |
646 | static char status_text[64]; |
647 | if (Form.status_window>2) return; |
647 | if (Form.status_window&ROLLED_UP) return; |
648 | if (_in_text) strncpy(#status_text, _in_text, sizeof(status_text)); |
648 | if (_in_text) strncpy(#status_text, _in_text, sizeof(status_text)); |
649 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, sc.work_graph); |
649 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, sc.work_graph); |
650 | DrawBar(0,Form.cheight - STATUSBAR_H+1, Form.cwidth,STATUSBAR_H-1, sc.work); |
650 | DrawBar(0,Form.cheight - STATUSBAR_H+1, Form.cwidth,STATUSBAR_H-1, sc.work); |
651 | WriteText(5, Form.cheight - STATUSBAR_H + 4, 0x80, sc.work_text, #status_text); |
651 | WriteText(5, Form.cheight - STATUSBAR_H + 4, 0x80, sc.work_text, #status_text); |
Line 662... | Line 662... | ||
662 | int old_w = list.w; |
662 | int old_w = list.w; |
663 | if (CheckActiveProcess(Form.ID)) EventMenuClick(); |
663 | if (CheckActiveProcess(Form.ID)) EventMenuClick(); |
664 | DefineAndDrawWindow(Form.left,Form.top,Form.width,Form.height,0x73,0,#title,0); |
664 | DefineAndDrawWindow(Form.left,Form.top,Form.width,Form.height,0x73,0,#title,0); |
665 | GetProcessInfo(#Form, SelfInfo); |
665 | GetProcessInfo(#Form, SelfInfo); |
666 | sc.get(); |
666 | sc.get(); |
667 | if (Form.status_window>2) return; |
667 | if (Form.status_window&ROLLED_UP) return; |
668 | if (Form.width < 450) { MoveSize(OLD,OLD,450,OLD); return; } |
668 | if (Form.width < 450) { MoveSize(OLD,OLD,450,OLD); return; } |
669 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); return; } |
669 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); return; } |
Line 670... | Line 670... | ||
670 | 670 | ||
671 | button.init(40); |
671 | button.init(40); |