Rev 8016 | Rev 8278 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8016 | Rev 8020 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | #include "..\lib\patterns\toolbar_button.h" |
30 | #include "..\lib\patterns\toolbar_button.h" |
31 | #include "..\lib\patterns\restart_process.h" |
31 | #include "..\lib\patterns\restart_process.h" |
Line 32... | Line 32... | ||
32 | 32 | ||
Line 33... | Line 33... | ||
33 | #define URL_SIZE 4000 |
33 | #define URL_SIZE 4000 |
Line 34... | Line 34... | ||
34 | 34 | ||
35 | char version[]="WebView 2.65"; |
35 | char version[]="WebView 2.65b"; |
36 | 36 | ||
37 | #include "texts.h" |
37 | #include "texts.h" |
Line 787... | Line 787... | ||
787 | DrawBar(address_box.left-1, address_box.top+20, persent*address_box.width+16/100, 2, 0x72B7EB); |
787 | DrawBar(address_box.left-1, address_box.top+20, persent*address_box.width+16/100, 2, 0x72B7EB); |
788 | } |
788 | } |
Line 789... | Line 789... | ||
789 | 789 | ||
790 | void EventShowPageMenu() |
790 | void EventShowPageMenu() |
791 | { |
791 | { |
792 | open_lmenu(Form.left + mouse.x+4, Form.top + skin_height + mouse.y, MENU_ALIGN_TOP_LEFT, NULL, #rmb_menu); |
792 | open_lmenu(mouse.x, mouse.y, MENU_TOP_LEFT, NULL, #rmb_menu); |
793 | menu_id = VIEW_SOURCE; |
793 | menu_id = VIEW_SOURCE; |
Line 794... | Line 794... | ||
794 | } |
794 | } |
795 | 795 | ||
796 | void EventShowLinkMenu() |
796 | void EventShowLinkMenu() |
797 | { |
797 | { |
798 | open_lmenu(Form.left + mouse.x+4, Form.top + skin_height + mouse.y, MENU_ALIGN_TOP_LEFT, NULL, #link_menu); |
798 | open_lmenu(mouse.x, mouse.y, MENU_TOP_LEFT, NULL, #link_menu); |
Line 799... | Line 799... | ||
799 | menu_id = IN_NEW_TAB; |
799 | menu_id = IN_NEW_TAB; |
800 | } |
800 | } |
801 | 801 | ||
802 | void EventShowMainMenu() |
802 | void EventShowMainMenu() |
803 | { |
803 | { |
804 | open_lmenu(Form.left + Form.cwidth - PADDING, Form.top + skin_height + PADDING + TSZE + 3, |
804 | open_lmenu(Form.cwidth - PADDING -4, PADDING + TSZE + 3, |
Line 805... | Line 805... | ||
805 | MENU_ALIGN_TOP_RIGHT, NULL, #main_menu); |
805 | MENU_TOP_RIGHT, NULL, #main_menu); |
806 | menu_id = OPEN_FILE; |
806 | menu_id = OPEN_FILE; |
807 | } |
807 | } |
- | 808 | ||
808 | 809 | void EventShowEncodingsList() |
|
809 | void EventShowEncodingsList() |
810 | { |
810 | { |
811 | open_lmenu(Form.cwidth-4, Form.cheight - STATUSBAR_H + 12, |
Line 811... | Line 812... | ||
811 | open_lmenu(Form.left + Form.cwidth, Form.top + skin_height + Form.cheight - STATUSBAR_H + 12, |
812 | MENU_BOT_RIGHT, WB1.cur_encoding + 1, |
812 | MENU_ALIGN_BOT_RIGHT, WB1.cur_encoding + 1, "UTF-8\nKOI8-RU\nCP1251\nCP1252\nISO8859-5\nCP866"); |
813 | "UTF-8\nKOI8-RU\nCP1251\nCP1252\nISO8859-5\nCP866"); |