1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-06-28 12:39:50 +03:00
gmenu2x/src/dialog.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

23 lines
384 B
C++

#ifndef __DIALOG_H__
#define __DIALOG_H__
#include <string>
class GMenu2X;
class Surface;
class Dialog
{
public:
Dialog(GMenu2X *gmenu2x);
protected:
void drawTitleIcon(Surface& s, const std::string &icon, bool skinRes = false);
void writeTitle(Surface& s, const std::string &title);
void writeSubTitle(Surface& s, const std::string &subtitle);
GMenu2X *gmenu2x;
};
#endif