Rev 4063 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4063 | Rev 4072 | ||
---|---|---|---|
Line 104... | Line 104... | ||
104 | 104 | ||
105 | case evKey: |
105 | case evKey: |
106 | key = GetKey(); |
106 | key = GetKey(); |
107 | if (key==27) ExitProcess(); |
107 | if (key==27) ExitProcess(); |
108 | if (key==13) { RunProgram(#app_paths[app_list.current].item, #file_path); ExitProcess(); } |
- | |
109 | if (key==177) |
- | |
110 | { |
- | |
111 | if (app_list.KeyDown()) DrawAppList(); |
- | |
112 | } |
- | |
113 | if (key==178) |
- | |
114 | { |
- | |
115 | if (app_list.KeyUp()) DrawAppList(); |
- | |
116 | } |
- | |
117 | if (key==180) |
- | |
118 | { |
108 | if (key==13) { RunProgram(#app_paths[app_list.current].item, #file_path); ExitProcess(); } |
119 | if (app_list.KeyHome()) DrawAppList(); |
- | |
120 | } |
- | |
121 | if (key==181) |
- | |
122 | { |
- | |
123 | if (app_list.KeyEnd()) DrawAppList(); |
- | |
124 | } |
109 | if (app_list.ProcessKey(key)) DrawAppList(); |
Line 125... | Line 110... | ||
125 | break; |
110 | break; |
126 | 111 | ||
127 | case evReDraw: _APP_LIST_DRAW: |
112 | case evReDraw: _APP_LIST_DRAW: |