Rev 5656 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5656 | Rev 5674 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | #include "..\lib\obj\libimg_lib.h" |
12 | #include "..\lib\obj\libimg_lib.h" |
13 | #include "..\lib\obj\libini.h" |
13 | #include "..\lib\obj\libini.h" |
Line 14... | Line 14... | ||
14 | 14 | ||
Line 15... | Line -... | ||
15 | #include "..\lib\patterns\libimg_load_skin.h" |
- | |
16 | 15 | #include "..\lib\patterns\libimg_load_skin.h" |
|
Line 17... | Line 16... | ||
17 | system_colors sc; |
16 | |
Line 18... | Line 17... | ||
18 | proc_info Form; |
17 | proc_info Form; |
Line 95... | Line 94... | ||
95 | item_id_need_to_run = -1; |
94 | item_id_need_to_run = -1; |
96 | } |
95 | } |
97 | break; |
96 | break; |
Line 98... | Line 97... | ||
98 | 97 | ||
99 | case evReDraw: |
98 | case evReDraw: |
100 | sc.get(); |
99 | system.color.get(); |
101 | DefineAndDrawWindow(GetScreenWidth()-window_width/2,GetScreenHeight()-window_height/2,window_width,window_height,0x74,sc.work,""); |
100 | DefineAndDrawWindow(GetScreenWidth()-window_width/2,GetScreenHeight()-window_height/2,window_width,window_height,0x74,system.color.work,""); |
102 | GetProcessInfo(#Form, SelfInfo); |
101 | GetProcessInfo(#Form, SelfInfo); |
103 | if (Form.status_window>2) { DrawTitle(#window_title); break; } else DrawTitle(""); |
102 | if (Form.status_window>2) { DrawTitle(#window_title); break; } else DrawTitle(""); |
104 | kolibrios_mounted = isdir("/kolibrios"); |
103 | kolibrios_mounted = isdir("/kolibrios"); |
105 | col_max = Form.cwidth - 10 / cell_w; |
104 | col_max = Form.cwidth - 10 / cell_w; |
Line 185... | Line 184... | ||
185 | } |
184 | } |
Line 186... | Line 185... | ||
186 | 185 | ||
187 | void draw_top_bar() |
186 | void draw_top_bar() |
188 | { |
187 | { |
189 | int top_position = 25; |
188 | int top_position = 25; |
190 | DrawBar(0,0,Form.cwidth, top_position-1, sc.work); |
189 | DrawBar(0,0,Form.cwidth, top_position-1, system.color.work); |
191 | DrawBar(0,top_position-1, Form.cwidth, 1, sc.work_graph); |
190 | DrawBar(0,top_position-1, Form.cwidth, 1, system.color.work_graph); |
192 | WriteTextB(Form.cwidth/2-70, 9, 0x90, sc.work_text, #window_title); |
191 | WriteTextB(Form.cwidth/2-70, 9, 0x90, system.color.work_text, #window_title); |
193 | list_top = top_position; |
192 | list_top = top_position; |
194 | list_pos = list_top; |
193 | list_pos = list_top; |
195 | row = -1; |
194 | row = -1; |