Rev 5530 | Rev 5534 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5530 | Rev 5531 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | #include "..\lib\patterns\libimg_load_skin.h" |
30 | #include "..\lib\patterns\libimg_load_skin.h" |
Line 31... | Line 31... | ||
31 | 31 | ||
Line 32... | Line 32... | ||
32 | char homepage[] = FROM "html\\homepage.htm"; |
32 | char homepage[] = FROM "html\\homepage.htm"; |
33 | 33 | ||
34 | #ifdef LANG_RUS |
34 | #ifdef LANG_RUS |
35 | char version[]=" ¥ªáâ®¢ë© ¡à 㧥à 1.11"; |
35 | char version[]=" ¥ªáâ®¢ë© ¡à 㧥à 1.12"; |
36 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
36 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
37 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
37 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
38 | char loading[] = " £à㧪 áâà ¨æë... |
38 | char loading[] = " £à㧪 áâà ¨æë... |
39 | char page_not_found[] = FROM "html\page_not_found_ru.htm"; |
39 | char page_not_found[] = FROM "html\page_not_found_ru.htm"; |
40 | char accept_language[]= "Accept-Language: ru\n"; |
40 | char accept_language[]= "Accept-Language: ru\n"; |
41 | #else |
41 | #else |
42 | char version[]=" Text-based Browser 1.11"; |
42 | char version[]=" Text-based Browser 1.12"; |
43 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
43 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
44 | ?define T_LAST_SLIDE "This slide is the last" |
44 | ?define T_LAST_SLIDE "This slide is the last" |
45 | char loading[] = "Loading... |
45 | char loading[] = "Loading... |
Line 198... | Line 198... | ||
198 | if (btn==1) ExitProcess(); |
198 | if (btn==1) ExitProcess(); |
199 | Scan(btn); |
199 | Scan(btn); |
200 | break; |
200 | break; |
201 | case evKey: |
201 | case evKey: |
202 | key = GetKey(); |
202 | key = GetKey(); |
203 | if (address_box.flags & 0b10) && (key!=ASCII_KEY_ENTER) |
203 | if (address_box.flags & 0b10) |
204 | { |
204 | { |
- | 205 | if (key==ASCII_KEY_ENTER) Scan(key); else |
|
205 | if (key<>0x0d) && (key<>183) && (key<>184) {EAX=key<<8; edit_box_key stdcall(#address_box);} |
206 | if (key<>0x0d) && (key<>183) && (key<>184) {EAX=key<<8; edit_box_key stdcall(#address_box);} |
206 | } |
207 | } |
207 | else Scan(key); |
208 | else Scan(key); |
208 | break; |
209 | break; |