MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / TextComponent

Method TextComponent

src/components/TextComponent.cpp:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "../Window.h"
5
6TextComponent::TextComponent(Window* window) : GuiComponent(window),
7 mFont(NULL), mColor(0x000000FF), mAutoCalcExtent(true, true), mCentered(false)
8{
9}
10
11TextComponent::TextComponent(Window* window, const std::string& text, std::shared_ptr<Font> font, Eigen::Vector3f pos, Eigen::Vector2f size) : GuiComponent(window),
12 mFont(NULL), mColor(0x000000FF), mAutoCalcExtent(true, true), mCentered(false)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected