Fix up statusbar drawing in the wps a bit, fixing most, if not all, (re-)draw issues.
commit36bde19371a6d6c9cdd34f741304bdfdc78572ef
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 20 Mar 2009 16:12:09 +0000 (20 16:12 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 20 Mar 2009 16:12:09 +0000 (20 16:12 +0000)
tree6c23c4538737c777804a5954206abd3cdb2834e1
parent469c03376e2d89b0c27bc2316ae16d92e72422c9
Fix up statusbar drawing in the wps a bit, fixing most, if not all, (re-)draw issues.
a) remove the temporary work around in gui_wps_display
b) let the  wps-statusbars redraw if it's masked (i.e. WPS_REFRESH_ALL or WPS_REFRESH_STATUSBAR)
c) fix a bug of mine, I attached re-fixing the bars to the wrong event
d) unify the decision whether to draw bars at all
e) some other style/code minor cleanups

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20400 a1c6a512-1295-4272-9138-f99709370657
apps/gui/gwps-common.c
apps/gui/gwps.c
apps/gui/gwps.h
apps/gui/viewport.c