Rev 9516 | Rev 9602 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9516 | Rev 9597 | ||
---|---|---|---|
Line 72... | Line 72... | ||
72 | load_ini_config(#settings_ini_path); |
72 | load_ini_config(#settings_ini_path); |
73 | list.cur_y = -1; |
73 | list.cur_y = -1; |
74 | list.y = 32; |
74 | list.y = 32; |
Line 75... | Line 75... | ||
75 | 75 | ||
76 | DrawList(); |
76 | DrawList(); |
77 | window_height = row+1*list.item_h + list_pos + skin_height + 15; |
77 | window_height = row+1*list.item_h + list_pos + skin_h + 15; |
78 | if (window_height>screen.height) { |
78 | if (window_height>screen.h) { |
79 | window_width = screen.width; |
79 | window_width = screen.w; |
80 | list.item_h -= 5; |
80 | list.item_h -= 5; |
81 | window_height = row+1*list.item_h + list_pos + skin_height + 15; |
81 | window_height = row+1*list.item_h + list_pos + skin_h + 15; |
82 | small_screen = true; |
82 | small_screen = true; |
Line 83... | Line 83... | ||
83 | } |
83 | } |
84 | 84 | ||
Line 98... | Line 98... | ||
98 | if (id>=100) EventIconClick(id-100); |
98 | if (id>=100) EventIconClick(id-100); |
99 | break; |
99 | break; |
Line 100... | Line 100... | ||
100 | 100 | ||
101 | case evReDraw: |
101 | case evReDraw: |
102 | SetAppColors(); |
102 | SetAppColors(); |
103 | DefineAndDrawWindow(screen.width-window_width/2,screen.height-window_height/2,window_width,window_height,0x74,sc.work,"",0); |
103 | DefineAndDrawWindow(screen.w-window_width/2,screen.h-window_height/2,window_width,window_height,0x74,sc.work,"",0); |
104 | GetProcessInfo(#Form, SelfInfo); |
104 | GetProcessInfo(#Form, SelfInfo); |
105 | if (Form.status_window&ROLLED_UP) { |
105 | if (Form.status_window&ROLLED_UP) { |
106 | DrawTitle(#window_title); |
106 | DrawTitle(#window_title); |
107 | break; |
107 | break; |