Rev 9341 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9341 | Rev 9350 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | if (tag.is("html")) { t_html = tag.opened; return; } |
54 | if (tag.is("html")) { t_html = tag.opened; return; } |
55 | if (tag.is("table")) { tag_table(); return; } |
55 | if (tag.is("table")) { tag_table(); return; } |
56 | if (tag.is("tr")) { tag_table(); return; } |
56 | if (tag.is("tr")) { tag_table(); return; } |
57 | if (tag.is("th")) { tag_table(); return; } |
57 | if (tag.is("th")) { tag_table(); return; } |
58 | if (tag.is("td")) { tag_table(); return; } |
58 | if (tag.is("td")) { tag_table(); return; } |
- | 59 | ||
- | 60 | if (application_mode) { |
|
- | 61 | if (tag.is("exit")) { ExitProcess(); return; } |
|
- | 62 | } |
|
59 | } |
63 | } |
Line 60... | Line 64... | ||
60 | 64 | ||
61 | void TWebBrowser::tag_p() |
65 | void TWebBrowser::tag_p() |
62 | { |
66 | { |
Line 142... | Line 146... | ||
142 | if (EAX!=-1) ChangeEncoding(EAX); |
146 | if (EAX!=-1) ChangeEncoding(EAX); |
143 | } |
147 | } |
144 | if (streq(tag.get_value_of("http-equiv"), "refresh")) && (tag.get_value_of("content")) { |
148 | if (streq(tag.get_value_of("http-equiv"), "refresh")) && (tag.get_value_of("content")) { |
145 | if (tag.value = strstri(tag.value, "url")) strcpy(#redirect, tag.value); |
149 | if (tag.value = strstri(tag.value, "url")) strcpy(#redirect, tag.value); |
146 | } |
150 | } |
- | 151 | if (streq(tag.get_value_of("name"), "application")) { |
|
- | 152 | if (application_mode) { |
|
- | 153 | if (tag.get_value_of("left")) { |
|
- | 154 | MoveSize(atoi(tag.value),-1,-1,-1); |
|
- | 155 | } |
|
- | 156 | if (tag.get_value_of("top")) { |
|
- | 157 | MoveSize(-1,atoi(tag.value),-1,-1); |
|
- | 158 | } |
|
- | 159 | if (tag.get_value_of("width")) { |
|
- | 160 | MoveSize(-1,-1,atoi(tag.value),-1); |
|
- | 161 | } |
|
- | 162 | if (tag.get_value_of("height")) { |
|
- | 163 | MoveSize(-1,-1,-1,atoi(tag.value)); |
|
- | 164 | } |
|
- | 165 | } |
|
- | 166 | } |
|
147 | } |
167 | } |
Line 148... | Line 168... | ||
148 | 168 | ||
149 | signed int get_encoding_type_by_name(dword name) |
169 | signed int get_encoding_type_by_name(dword name) |
150 | { |
170 | { |