56,7 → 56,11 |
if (tag.is("tr")) { tag_table(); return; } |
if (tag.is("th")) { tag_table(); return; } |
if (tag.is("td")) { tag_table(); return; } |
|
if (application_mode) { |
if (tag.is("exit")) { ExitProcess(); return; } |
} |
} |
|
void TWebBrowser::tag_p() |
{ |
144,7 → 148,23 |
if (streq(tag.get_value_of("http-equiv"), "refresh")) && (tag.get_value_of("content")) { |
if (tag.value = strstri(tag.value, "url")) strcpy(#redirect, tag.value); |
} |
if (streq(tag.get_value_of("name"), "application")) { |
if (application_mode) { |
if (tag.get_value_of("left")) { |
MoveSize(atoi(tag.value),-1,-1,-1); |
} |
if (tag.get_value_of("top")) { |
MoveSize(-1,atoi(tag.value),-1,-1); |
} |
if (tag.get_value_of("width")) { |
MoveSize(-1,-1,atoi(tag.value),-1); |
} |
if (tag.get_value_of("height")) { |
MoveSize(-1,-1,-1,atoi(tag.value)); |
} |
} |
} |
} |
|
signed int get_encoding_type_by_name(dword name) |
{ |