Don't load font in TextWidget
This commit is contained in:
@ -41,8 +41,7 @@ public:
|
||||
|
||||
class TextWidget : public TextureWidget {
|
||||
public:
|
||||
TextWidget(SDL_Renderer* renderer, SDL_Rect dest_rect,
|
||||
const std::string& font_path,
|
||||
TextWidget(SDL_Renderer* renderer, SDL_Rect dest_rect, TTF_Font* font,
|
||||
const std::string& initial_text = "");
|
||||
~TextWidget();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user