1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-07 14:13:15 +03:00
gmenu2x/src/helppopup.h
Maarten ter Huurne aff5f53f7d Don't pass around naked Surface pointers when drawing
Use references instead.
2014-08-10 04:26:59 +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