summaryrefslogtreecommitdiff
path: root/metawatch/metawatchdigital.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-10-17 15:33:23 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-10-17 15:33:23 +0200
commite42e7dca8df8d1e4966545894e2dde228f19b6f0 (patch)
tree836234b65256c166079fa414c2b4804a972f06dc /metawatch/metawatchdigital.h
parent5f9a4ac6abba07b5074c10038e5b363133ff4ef8 (diff)
downloadsowatch-e42e7dca8df8d1e4966545894e2dde228f19b6f0.tar.gz
sowatch-e42e7dca8df8d1e4966545894e2dde228f19b6f0.zip
Some weather related fixes
Diffstat (limited to 'metawatch/metawatchdigital.h')
-rw-r--r--metawatch/metawatchdigital.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/metawatch/metawatchdigital.h b/metawatch/metawatchdigital.h
index a528eb2..7ce195b 100644
--- a/metawatch/metawatchdigital.h
+++ b/metawatch/metawatchdigital.h
@@ -31,14 +31,19 @@ public:
void update(Mode mode, const QList<QRect>& rects = QList<QRect>());
protected:
- // Notifications: Unread count
- uint _nMails, _nCalls, _nIms, _nSms, _nMms;
+ // Idle screen: notifications unread count
+ ushort _nMails, _nCalls, _nIms, _nSms, _nMms;
+ // Idle screen: weather information
+ WeatherNotification::WeatherType _wForecast;
+ QString _wBody;
+ short _wTemperature;
+ bool _wMetric;
void handleWatchConnected();
void renderIdleScreen();
- void renderIdleWeather(WeatherNotification *w = 0);
- QImage iconForWeather(WeatherNotification *w);
+ void renderIdleWeather();
+ QImage iconForWeather(WeatherNotification::WeatherType w);
void renderIdleCounts();
void renderNotification(Notification *n);