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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user