blob: ca4079839ce2057725f4ab01fe92e0b979ed2ab0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef METAWATCHANALOG_H
#define METAWATCHANALOG_H
#include "metawatch.h"
namespace sowatch
{
class MetaWatchAnalog : public MetaWatch
{
Q_OBJECT
public:
explicit MetaWatchAnalog(ConfigKey *settings, QObject *parent = 0);
static const int screenWidth = 80;
static const int screenHeight = 16*2;
int metric(PaintDeviceMetric metric) const;
QString model() const;
void updateNotificationCount(Notification::Type type, int count);
void updateWeather(WeatherNotification *weather);
void displayIdleScreen();
void displayNotification(Notification *notification);
void displayApplication();
void clear(Mode mode, bool black = false);
void update(Mode mode, const QList<QRect>& rects = QList<QRect>());
protected:
void setupBluetoothWatch();
};
}
#endif // METAWATCHANALOG_H
|