2007-06-12 09:33:20 +00:00
|
|
|
#include "SDL_TTF.h"
|
|
|
|
#include "CSemiDefHandler.h"
|
|
|
|
enum EWindowType {infoOnly, infoOK, yesOrNO};
|
|
|
|
class CMessage
|
|
|
|
{
|
|
|
|
SDL_Color tytulowy ;
|
|
|
|
SDL_Color tlo;
|
|
|
|
SDL_Color zwykly ;
|
|
|
|
public:
|
|
|
|
std::vector<std::string> * breakText(std::string text);
|
|
|
|
CSemiDefHandler * piecesOfBox;
|
|
|
|
SDL_Surface * background;
|
2007-06-13 14:02:43 +00:00
|
|
|
SDL_Surface * genMessage(std::string title, std::string text, EWindowType type=infoOnly,
|
|
|
|
std::vector<CSemiDefHandler*> *addPics=NULL, void * cb=NULL);
|
2007-06-12 09:33:20 +00:00
|
|
|
SDL_Surface * drawBox1(int w, int h);
|
|
|
|
CMessage();
|
|
|
|
};
|