1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Implemented layer system for painting and events

The long term goal is to be able to use a single event loop regardless
of which submenu or alternative mode is active.
This commit is contained in:
Maarten ter Huurne
2013-08-06 01:55:32 +02:00
parent 074668336e
commit 6d868a895a
8 changed files with 174 additions and 44 deletions

View File

@@ -34,7 +34,9 @@
class Button;
class Font;
class HelpPopup;
class IconButton;
class Layer;
class MediaMonitor;
class Menu;
class Surface;
@@ -66,9 +68,12 @@ class GMenu2X {
private:
Touchscreen ts;
Menu *menu;
HelpPopup *helpPopup;
MediaMonitor *monitor;
std::string batteryIcon;
std::vector<Layer *> layers;
/*!
Retrieves the free disk space on the sd
@return String containing a human readable representation of the free disk space
@@ -123,7 +128,6 @@ private:
void initMenu();
void paint();
void paintHelp();
void showManual();