statusbar Status bar to display the current time, remaining battery, current application Written by Derek K.T. Au Carl Puna James Smith Updated by Enrique Vidal Copyright (C) 2000 Agenda Computing Inc. Copyright (C) 2004 Enrique Vidal This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Version 0.1 - Initial design and import into CVS. Version 0.5 - Updated version for new romdisk release. JS. Accepted patch Alexander Dietrich to add uptime as a display possibility instead of time. (tre cute) - Added home dir preference file (~/.statusbar). Reads this file for initial time format (12 hr, 24 hr or uptime) - Working battery level indicator - Radio button for time format - Fixed bug where closing apps using statusbar would not kill related process. - Clock now updates half as frequently; This improves HWR Version 0.8 5-May-2001 - Fixed paths of worldclock, datetime, power and launchpad to work properly with the new flpda Version 1.0 24-May-2001 - Update to version 1.0 for initial consumer VR3 shipment version 1.01 29-Jun-2001 - fixed a bug: messup with window manager (fl_window_properties set but not clear) - use runone() instead of fevp() - changed object so that it would be easy to manage. version 1.2 1-Jul-2001 - fixed a bug: crashed on exit, because of add_handler() can't be removed properly. version 1.3 4-Jul-2001 - exited on closing statusbar. version 1.4 21-Aug-2001 - clear focus window name when no window to focus. Version 1.5 19-Jun-2004, E.Vidal - Replaced battery code with accurate battery meter borrowed from flbatt. - Read battType from preferences file ~/.statusbar (0=Alka, 1=NiCd, 2=NiMh). - Added suport for instant time and batt update by a SIGCONT signal, issued by gbm_0.32(+) and apm-sleep-0.7(+) after awakening from hibernation. - Added visual feedback to signal battery reading. A bug in the batt A/D driver, adiff.c, may cause statusbar to get blocked after a long hibernation period -- the feedback allows you to be aware of this situation, and overcome it by a simply pw-on/pw-off or touching the screen. - A bit of code tidying up -- don't like 2-dimensional-growing programs ;)