[project @ 2003-07-15 18:06:52 by bursa]

Dump box tree on F9.

svn path=/import/netsurf/; revision=221
This commit is contained in:
James Bursa 2003-07-15 18:06:52 +00:00
parent 52e4727abf
commit 8319659562
1 changed files with 5 additions and 0 deletions

View File

@ -2027,6 +2027,11 @@ void ro_gui_keypress(wimp_key* key)
browser_window_open_location(g->data.browser.bw, g->url);
return;
}
else if (key->c == wimp_KEY_F9)
{
if (g->data.browser.bw->current_content->type == CONTENT_HTML)
box_dump(g->data.browser.bw->current_content->data.html.layout->children, 0);
}
}
wimp_process_key(key->c);
return;