1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-10-04 04:12:00 +03:00
gmenu2x/src/helppopup.h
Maarten ter Huurne 6d868a895a 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.
2013-08-06 01:55:32 +02:00

29 lines
504 B
C++

// Various authors.
// License: GPL version 2 or later.
#ifndef HELPPOPUP_H
#define HELPPOPUP_H
#include "layer.h"
class GMenu2X;
/**
* A passive dialog containing some helpful text for the user.
*/
class HelpPopup : public Layer {
public:
HelpPopup(GMenu2X &gmenu2x);
// Layer implementation:
virtual void paint(Surface &s);
virtual bool handleButtonPress(InputManager::Button button);
virtual bool handleTouchscreen(Touchscreen &ts);
private:
GMenu2X &gmenu2x;
};
#endif // HELPPOPUP_H