MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / SubtitleBox

Method SubtitleBox

src/ui/SubtitleBox.cpp:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include <utils/logger.h>
13
14UI::SubtitleBox::SubtitleBox(Engine::BaseEngine& e)
15 : View(e)
16{
17 m_Scaling = 1;
18 m_growDirection = 0;
19 m_ScrollArea = 0;
20 m_BackgroundTexture = e.getEngineTextureAlloc().loadTextureVDF("DLG_CHOICE.TGA");
21
22 setTranslation(Math::float2(0.25f, 0.0025f));
23}
24
25UI::SubtitleBox::~SubtitleBox()
26{

Callers

nothing calls this directly

Calls 1

loadTextureVDFMethod · 0.45

Tested by

no test coverage detected