Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Help request: statusbar

Help request: statusbar

From: <postmaster_at_diffenbach.org>
Date: 2006-06-16

I'm having some trouble understanding the status bar code. It looks
like it mostly polls values.

I have some values it just isn't prudent to poll. How can I force the
statusbar to display some values, immediately when I call a function
passing those values.

Even better, I'd like the bar to only update the values I pass --
because I'll be calling from time-sensitive code, I don't want the
rest of the bar updated at that time.

I cribbed the code from gui_statusbar_time to do what I want, but my
info gets overwritten by the rest of the bar. (And my approach is bad
anyway: gui_statusbar_time is statically bound anyway, designed to be
called from within gui_statusbar_draw, not by client code outside the
statusbar functions.)

Thanks.
Received on Fri Jun 16 03:19:55 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa