Root/src/background.h

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