Mercurial > hg > pub > prymula > com
comparison lamertetris/sources/text.h @ 0:2787f5e749ae
INIT
author | prymula <prymula76@outlook.com> |
---|---|
date | Thu, 21 Sep 2023 22:33:57 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2787f5e749ae |
---|---|
1 #ifndef TEXT_H | |
2 #define TEXT_H | |
3 | |
4 #include <SDL2/SDL.h> | |
5 #include <SDL_ttf.h> | |
6 #include <iostream> | |
7 | |
8 class Text | |
9 { | |
10 public: | |
11 Text(); | |
12 SDL_Surface* loadFromRenderedText( std::string textureText, SDL_Color textColor, TTF_Font* font); | |
13 | |
14 private: | |
15 int mWidth, mHeight; | |
16 }; | |
17 | |
18 #endif //TEXT_H |