summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-23 03:08:56 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-23 03:08:56 +0000
commitced2724f7d513ea19ab7a0eb0a17647b81b08e4e (patch)
tree88193782f42f971950e321a331f2387757affccb /apps/gui/gwps.h
parenta3cbb57b098e627e6a87a837b2c1c749b7c50121 (diff)
Another wps rework:
*rename gui_wps_refresh() to gui_wps_redraw() and update() to gui_wps_update() to better describe what they do *Clear things up and differentiate better between gui_wps_redraw()/gui_wps_display()/gui_wps_update() (it wasn't so what they're supposed to do before) *cleanup gui_wps_display() and gui_wps_update() quite a bit *Remove unused/unneeded code, do some pointer copying to save binsize, and code cleanup at several places Visible changes should be small git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20483 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.h')
-rw-r--r--apps/gui/gwps.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index d1239c1b34..7888c3944c 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -26,13 +26,13 @@
#include "metadata.h"
/* constants used in line_type and as refresh_mode for wps_refresh */
-#define WPS_REFRESH_STATIC (1<<0) /* line doesn't change over time */
-#define WPS_REFRESH_DYNAMIC (1<<1) /* line may change (e.g. time flag) */
-#define WPS_REFRESH_SCROLL (1<<2) /* line scrolls */
-#define WPS_REFRESH_PLAYER_PROGRESS (1<<3) /* line contains a progress bar */
-#define WPS_REFRESH_PEAK_METER (1<<4) /* line contains a peak meter */
-#define WPS_REFRESH_STATUSBAR (1<<5) /* refresh statusbar */
-#define WPS_REFRESH_ALL 0xff /* to refresh all line types */
+#define WPS_REFRESH_STATIC (1u<<0) /* line doesn't change over time */
+#define WPS_REFRESH_DYNAMIC (1u<<1) /* line may change (e.g. time flag) */
+#define WPS_REFRESH_SCROLL (1u<<2) /* line scrolls */
+#define WPS_REFRESH_PLAYER_PROGRESS (1u<<3) /* line contains a progress bar */
+#define WPS_REFRESH_PEAK_METER (1u<<4) /* line contains a peak meter */
+#define WPS_REFRESH_STATUSBAR (1u<<5) /* refresh statusbar */
+#define WPS_REFRESH_ALL (0xffffffffu) /* to refresh all line types */
/* to refresh only those lines that change over time */
#define WPS_REFRESH_NON_STATIC (WPS_REFRESH_DYNAMIC| \