1 #include "SDLWrap_FontSurface.hpp"
5 FontSurface::FontSurface(std::string Text
, Font_SPtr Font
, Color ColorOfText
)
7 this->SurfaceText
= Text
;
9 this->TextColor
= ColorOfText
;
12 FontSurface::~FontSurface()
17 FontSurface::RenderTextSolid()
19 this->me
= TTF_RenderText_Solid(meFont
->me
, SurfaceText
.c_str(), TextColor
.me
);