mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-10-05 21:49:28 +03:00
6d868a895a
The long term goal is to be able to use a single event loop regardless of which submenu or alternative mode is active.
29 lines
504 B
C++
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
|