MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / TextObject

Method TextObject

LibLemon/src/gfx/text.cpp:263–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 }
262
263 TextObject::TextObject(vector2i_t pos, std::string& text, Font* font){
264 this->pos = pos;
265 this->text = text;
266 this->font = font;
267
268 CalculateSizes();
269 }
270
271 TextObject::TextObject(vector2i_t pos, const char* text, Font* font){
272 this->pos = pos;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected