turbo::Text Class Reference
Represent a drawable text. More...
#include <Text.hpp>


Public Member Functions | |
Text (Font *font, const char *text="") | |
Construct a new Text drawable. More... | |
void | draw () const override |
Draw the drawable -_-. | |
operator const char * () const | |
Public Attributes | |
const char * | text |
Text content. | |
Protected Attributes | |
Font * | font |
Selected font. | |
Detailed Description
Represent a drawable text.
Constructor & Destructor Documentation
◆ Text()
turbo::Text::Text | ( | Font * | font, |
const char * | text = "" |
||
) |
Construct a new Text drawable.
- Parameters
-
font Selected text font text content
The documentation for this class was generated from the following files:
- include/turbo/graphics/Text.hpp
- src/graphics/Text.cpp