diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2007-03-03 20:49:49 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2007-03-03 20:49:49 +0000 |
commit | b5a14773ff128828c260a9b022141ad0569af5f9 (patch) | |
tree | 7222c281ac02bc490826cf4d40c8a91d1e44b599 /riscos/wimp.c | |
parent | 5e783e1266237c8cda3067195b2e3dde8c9aa305 (diff) | |
download | netsurf-b5a14773ff128828c260a9b022141ad0569af5f9.tar.gz netsurf-b5a14773ff128828c260a9b022141ad0569af5f9.tar.bz2 |
Correctly calculate maximised frame heights (fix 1644216)
svn path=/trunk/netsurf/; revision=3193
Diffstat (limited to 'riscos/wimp.c')
-rw-r--r-- | riscos/wimp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/riscos/wimp.c b/riscos/wimp.c index fd99921ba..f6c6d2250 100644 --- a/riscos/wimp.c +++ b/riscos/wimp.c @@ -58,6 +58,17 @@ int ro_get_vscroll_width(wimp_w w) { return furniture_sizes.border_widths.x1; } + +/** + * Gets the title bar height + * + * \param w the window to read (or NULL to read a cached value) + */ +int ro_get_title_height(wimp_w w) { + ro_gui_wimp_cache_furniture_sizes(w); + return furniture_sizes.border_widths.y1; +} + /** * Caches window furniture information * |