summaryrefslogtreecommitdiff
path: root/apps/gui/statusbar.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-07-05 23:20:58 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-07-05 23:20:58 +0000
commit16b67e5812e8b6d5425864655c2825512709b538 (patch)
tree8ab91adfb9e0f55f1531e86bd1aab056b11d5c63 /apps/gui/statusbar.h
parent9b20dfd88f8b1e0b44977bb6db847f15487cdbb9 (diff)
downloadrockbox-16b67e5812e8b6d5425864655c2825512709b538.tar.gz
rockbox-16b67e5812e8b6d5425864655c2825512709b538.zip
Make sure statusbar is updated when time changes. Fixes FS #7388. Moved time variable around and added init of info struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13802 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r--apps/gui/statusbar.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h
index 2be765b8e8..8862620596 100644
--- a/apps/gui/statusbar.h
+++ b/apps/gui/statusbar.h
@@ -33,10 +33,6 @@ struct status_info {
33 int volume; 33 int volume;
34 int playmode; 34 int playmode;
35 int repeat; 35 int repeat;
36#if CONFIG_RTC
37 struct tm *time;
38#endif
39
40#if CONFIG_CHARGING 36#if CONFIG_CHARGING
41 bool inserted; 37 bool inserted;
42#endif 38#endif
@@ -65,7 +61,10 @@ struct gui_statusbar
65 61
66 struct status_info info; 62 struct status_info info;
67 struct status_info lastinfo; 63 struct status_info lastinfo;
68 64#if CONFIG_RTC
65 struct tm *time;
66 int last_tm_min;
67#endif
69 struct screen * display; 68 struct screen * display;
70}; 69};
71 70