Rev 5705 | Rev 5709 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5705 | Rev 5706 | ||
---|---|---|---|
Line 144... | Line 144... | ||
144 | 144 | ||
145 | 145 | ||
146 | void main() |
146 | void main() |
147 | { |
- | |
148 | int id, mouse_clicked; |
- | |
Line 149... | Line 147... | ||
149 | word key_ascii, key_scancode; |
147 | { |
150 | dword status_key; |
148 | int id, mouse_clicked; |
151 | 149 | ||
152 | SetEventMask(0x27); |
150 | SetEventMask(0x27); |
Line 193... | Line 191... | ||
193 | if (id==2) TabClick(WALLPAPERS); |
191 | if (id==2) TabClick(WALLPAPERS); |
194 | if (id==3) TabClick(SKINS); |
192 | if (id==3) TabClick(SKINS); |
195 | break; |
193 | break; |
Line 196... | Line 194... | ||
196 | 194 | ||
197 | case evKey: |
195 | case evKey: |
198 | GetFullKey(); |
- | |
199 | key_ascii = AH; |
- | |
200 | $shr eax,16 |
- | |
201 | key_scancode = AL; |
- | |
202 | status_key = GetStatusKey(); |
196 | GetKeys(); |
203 | if (list[SKINS].active) && (list[SKINS].ProcessKey(key_scancode)) Apply(); |
197 | if (list[SKINS].active) && (list[SKINS].ProcessKey(key_scancode)) Apply(); |
204 | if (list[WALLPAPERS].active) && (list[WALLPAPERS].ProcessKey(key_scancode)) Apply(); |
198 | if (list[WALLPAPERS].active) && (list[WALLPAPERS].ProcessKey(key_scancode)) Apply(); |
205 | IF (key_scancode==SCAN_CODE_ENTER) OpenFile(); |
199 | IF (key_scancode==SCAN_CODE_ENTER) OpenFile(); |
206 | if (key_scancode==SCAN_CODE_TAB) if (list[SKINS].active) TabClick(WALLPAPERS); else TabClick(SKINS); |
200 | if (key_scancode==SCAN_CODE_TAB) if (list[SKINS].active) TabClick(WALLPAPERS); else TabClick(SKINS); |