Mercurial > hg > pub > prymula > com
view lamertetris/sources/text.h @ 11:78390e0e674f
remove DPF
author | prymula <prymula76@outlook.com> |
---|---|
date | Thu, 08 Feb 2024 20:21:56 +0100 |
parents | 2787f5e749ae |
children |
line wrap: on
line source
#ifndef TEXT_H #define TEXT_H #include <SDL2/SDL.h> #include <SDL_ttf.h> #include <iostream> class Text { public: Text(); SDL_Surface* loadFromRenderedText( std::string textureText, SDL_Color textColor, TTF_Font* font); private: int mWidth, mHeight; }; #endif //TEXT_H