Rev 7782 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7782 | Rev 7806 | ||
---|---|---|---|
Line 477... | Line 477... | ||
477 | if (Form.status_window>2) return; |
477 | if (Form.status_window>2) return; |
Line 478... | Line 478... | ||
478 | 478 | ||
479 | if (Form.width < 200) { MoveSize(OLD,OLD,200,OLD); return; } |
479 | if (Form.width < 200) { MoveSize(OLD,OLD,200,OLD); return; } |
Line 480... | Line 480... | ||
480 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); return; } |
480 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); return; } |
Line 481... | Line 481... | ||
481 | 481 | ||
482 | system.color.get(); |
482 | sc.get(); |
Line 483... | Line 483... | ||
483 | 483 | ||
Line 542... | Line 542... | ||
542 | } |
542 | } |
Line 543... | Line 543... | ||
543 | 543 | ||
544 | PathShow_data status_text = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, 0, NULL, 0}; |
544 | PathShow_data status_text = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, 0, NULL, 0}; |
545 | void DrawStatusBar(dword _status_text) |
545 | void DrawStatusBar(dword _status_text) |
546 | { |
546 | { |
547 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,STATUSBAR_H, system.color.work); |
547 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,STATUSBAR_H, sc.work); |
Line 548... | Line 548... | ||
548 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, 0x8C8C8C); |
548 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, 0x8C8C8C); |
549 | 549 | ||
550 | if (_status_text) { |
550 | if (_status_text) { |
551 | status_text.start_x = 7; |
551 | status_text.start_x = 7; |
552 | status_text.start_y = Form.cheight - STATUSBAR_H + 3; |
552 | status_text.start_y = Form.cheight - STATUSBAR_H + 3; |
553 | status_text.area_size_x = Form.cwidth - status_text.start_x -3; |
553 | status_text.area_size_x = Form.cwidth - status_text.start_x -3; |
554 | status_text.font_color = system.color.work_text; |
554 | status_text.font_color = sc.work_text; |
555 | status_text.text_pointer = _status_text; |
555 | status_text.text_pointer = _status_text; |
556 | PathShow_prepare stdcall(#status_text); |
556 | PathShow_prepare stdcall(#status_text); |
557 | PathShow_draw stdcall(#status_text); |
557 | PathShow_draw stdcall(#status_text); |