Rev 5817 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5817 | Rev 5981 | ||
---|---|---|---|
Line 149... | Line 149... | ||
149 | img_draw stdcall(skin.image, col*cell_w+tmp-10, row*cell_h+5 + list_pos, 32, 32, 0, icon_id*32); |
149 | img_draw stdcall(skin.image, col*cell_w+tmp-10, row*cell_h+5 + list_pos, 32, 32, 0, icon_id*32); |
150 | //WriteTextCenter(col*cell_w+7,row*cell_h+47 + list_pos,cell_w,0xDCDCDC,key_name); |
150 | //WriteTextCenter(col*cell_w+7,row*cell_h+47 + list_pos,cell_w,0xDCDCDC,key_name); |
151 | //WriteTextCenter(col*cell_w+6,row*cell_h+46 + list_pos,cell_w,0x000000,key_name); |
151 | //WriteTextCenter(col*cell_w+6,row*cell_h+46 + list_pos,cell_w,0x000000,key_name); |
152 | font.size = 12; |
152 | font.size = 12; |
153 | font.color = 0xDCDCDC; |
153 | font.color = 0xDCDCDC; |
154 | font.weight = false; |
154 | font.bold = false; |
155 | font.bg_color = LIST_BACKGROUND_COLOR; |
155 | font.bg_color = LIST_BACKGROUND_COLOR; |
156 | font.textcenter(col*cell_w+7,row*cell_h+47 + list_pos,cell_w,0,key_name); |
156 | font.textcenter(col*cell_w+7,row*cell_h+47 + list_pos,cell_w,0,key_name); |
157 | font.show(); |
157 | font.show(); |
158 | font.color = 0; |
158 | font.color = 0; |
159 | font.textcenter(col*cell_w+6,row*cell_h+46 + list_pos,cell_w,0,key_name); |
159 | font.textcenter(col*cell_w+6,row*cell_h+46 + list_pos,cell_w,0,key_name); |
Line 186... | Line 186... | ||
186 | col = 0; |
186 | col = 0; |
187 | old_row = row; |
187 | old_row = row; |
188 | DrawBar(0, row * cell_h + list_pos, Form.cwidth , 29, LIST_BACKGROUND_COLOR); |
188 | DrawBar(0, row * cell_h + list_pos, Form.cwidth , 29, LIST_BACKGROUND_COLOR); |
189 | //WriteTextB(10, row * cell_h + 9 + list_pos, 0x90, 0x000000, sec_name); |
189 | //WriteTextB(10, row * cell_h + 9 + list_pos, 0x90, 0x000000, sec_name); |
190 | font.size=14; |
190 | font.size=14; |
191 | font.weight=true; |
191 | font.bold=true; |
192 | font.bg_color = LIST_BACKGROUND_COLOR; |
192 | font.bg_color = LIST_BACKGROUND_COLOR; |
193 | text_len = font.prepare(10, row * cell_h + 10 + list_pos,sec_name); |
193 | text_len = font.prepare(10, row * cell_h + 10 + list_pos,sec_name); |
194 | font.show(); |
194 | font.show(); |
195 | DrawBar(text_len+20, row * cell_h + list_pos + 20, Form.cwidth-text_len-20, 1, 0xDCDCDC); |
195 | DrawBar(text_len+20, row * cell_h + list_pos + 20, Form.cwidth-text_len-20, 1, 0xDCDCDC); |
196 | DrawBar(text_len+20, row * cell_h + list_pos + 21, Form.cwidth-text_len-20, 1, 0xFCFCFC); |
196 | DrawBar(text_len+20, row * cell_h + list_pos + 21, Form.cwidth-text_len-20, 1, 0xFCFCFC); |
Line 204... | Line 204... | ||
204 | { |
204 | { |
205 | int top_position = 26; |
205 | int top_position = 26; |
206 | DrawBar(0,0,Form.cwidth, top_position-1, system.color.work); |
206 | DrawBar(0,0,Form.cwidth, top_position-1, system.color.work); |
207 | DrawBar(0,top_position-1, Form.cwidth, 1, system.color.work_graph); |
207 | DrawBar(0,top_position-1, Form.cwidth, 1, system.color.work_graph); |
208 | font.size = 17; |
208 | font.size = 17; |
209 | font.weight = false; |
209 | font.bold = false; |
210 | font.bg_color = system.color.work; |
210 | font.bg_color = system.color.work; |
211 | font.prepare(Form.cwidth-font.getsize(#window_title)/2,0,#window_title); |
211 | font.prepare(Form.cwidth-font.getsize(#window_title)/2,0,#window_title); |
212 | font.show(); |
212 | font.show(); |
213 | list_top = top_position; |
213 | list_top = top_position; |
214 | list_pos = list_top; |
214 | list_pos = list_top; |