Rev 7493 | Rev 7984 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7493 | Rev 7806 | ||
---|---|---|---|
Line 75... | Line 75... | ||
75 | GetKeys(); |
75 | GetKeys(); |
76 | if (select_list.ProcessKey(key_scancode)) ClipViewSelectListDraw(); |
76 | if (select_list.ProcessKey(key_scancode)) ClipViewSelectListDraw(); |
77 | break; |
77 | break; |
Line 78... | Line 78... | ||
78 | 78 | ||
79 | case evReDraw: |
79 | case evReDraw: |
80 | system.color.get(); |
80 | sc.get(); |
81 | DefineAndDrawWindow(screen.width-700/2,80,700,454+skin_height,0x73,0xE4DFE1,WINDOW_HEADER,0); |
81 | DefineAndDrawWindow(screen.width-700/2,80,700,454+skin_height,0x73,0xE4DFE1,WINDOW_HEADER,0); |
82 | GetProcessInfo(#Form, SelfInfo); |
82 | GetProcessInfo(#Form, SelfInfo); |
83 | IF (Form.status_window>=2) break; |
83 | IF (Form.status_window>=2) break; |
84 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); break; } |
84 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); break; } |
Line 101... | Line 101... | ||
101 | } |
101 | } |
Line 102... | Line 102... | ||
102 | 102 | ||
103 | void DrawWindowContent() |
103 | void DrawWindowContent() |
104 | { |
104 | { |
105 | int button_x = select_list.x; |
105 | int button_x = select_list.x; |
106 | DrawBar(0,0, Form.cwidth, PANEL_TOP_H, system.color.work); |
106 | DrawBar(0,0, Form.cwidth, PANEL_TOP_H, sc.work); |
107 | DrawBar(0,Form.cheight-PANEL_BOTTOM_H, Form.cwidth, PANEL_BOTTOM_H, system.color.work); |
107 | DrawBar(0,Form.cheight-PANEL_BOTTOM_H, Form.cwidth, PANEL_BOTTOM_H, sc.work); |
108 | DrawWideRectangle(select_list.x-LIST_PADDING, select_list.y-LIST_PADDING, LIST_PADDING*2+select_list.w+scroll1.size_x, LIST_PADDING*2+select_list.h, LIST_PADDING-2, system.color.work); |
108 | DrawWideRectangle(select_list.x-LIST_PADDING, select_list.y-LIST_PADDING, LIST_PADDING*2+select_list.w+scroll1.size_x, LIST_PADDING*2+select_list.h, LIST_PADDING-2, sc.work); |
109 | button_x += DrawStandartCaptButton(button_x, select_list.y + select_list.h + 8, BT_DELETE_LAST_SLOT, T_DELETE_LAST_SLOT); |
109 | button_x += DrawStandartCaptButton(button_x, select_list.y + select_list.h + 8, BT_DELETE_LAST_SLOT, T_DELETE_LAST_SLOT); |
110 | button_x += DrawStandartCaptButton(button_x, select_list.y + select_list.h + 8, BT_DELETE_ALL_SLOTS, T_DELETE_ALL_SLOTS); |
110 | button_x += DrawStandartCaptButton(button_x, select_list.y + select_list.h + 8, BT_DELETE_ALL_SLOTS, T_DELETE_ALL_SLOTS); |
111 | button_x += DrawStandartCaptButton(button_x, select_list.y + select_list.h + 8, BT_UNLOCK, T_RESET_BUFFER_LOCK); |
111 | button_x += DrawStandartCaptButton(button_x, select_list.y + select_list.h + 8, BT_UNLOCK, T_RESET_BUFFER_LOCK); |
112 | WriteText(select_list.x+12, select_list.y - 23, select_list.font_type, system.color.work_text, T_COLUMNS_TITLE); |
112 | WriteText(select_list.x+12, select_list.y - 23, select_list.font_type, sc.work_text, T_COLUMNS_TITLE); |
113 | WriteText(select_list.x+select_list.w - 88-14, select_list.y - 23, select_list.font_type, system.color.work_text, T_COLUMN_VIEW); |
113 | WriteText(select_list.x+select_list.w - 88-14, select_list.y - 23, select_list.font_type, sc.work_text, T_COLUMN_VIEW); |
114 | ClipViewSelectListDraw(); |
114 | ClipViewSelectListDraw(); |
115 | SelectList_DrawBorder(); |
115 | SelectList_DrawBorder(); |
Line 116... | Line 116... | ||
116 | } |
116 | } |