Root/src/background.h

Source at commit 7b10f9448bb9965e94f9a37a59f0999e9c51e68f created 7 years 5 months ago.
By Maarten ter Huurne, Suppress Clang analyzer warnings about dead assignments
1// Various authors.
2// License: GPL version 2 or later.
3
4#ifndef BACKGROUND_H
5#define BACKGROUND_H
6
7#include "battery.h"
8#include "clock.h"
9#include "layer.h"
10
11class GMenu2X;
12
13
14/**
15 * The backmost layer.
16 */
17class Background : public Layer {
18public:
19    Background(GMenu2X& gmenu2x);
20
21    // Layer implementation:
22    virtual void paint(Surface& s);
23    virtual bool handleButtonPress(InputManager::Button button);
24
25private:
26    GMenu2X& gmenu2x;
27    Battery battery;
28    Clock clock;
29};
30
31#endif // BACKGROUND_H
32

Archive Download this file



interactive