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

Method DialogBox

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

Source from the content-addressed store, hash-verified

12using namespace UI;
13
14DialogBox::DialogBox(Engine::BaseEngine& e)
15 : View(e)
16{
17 m_ScrollArea = 0;
18 m_CurrentlySelected = 0;
19 m_BackgroundTexture = e.getEngineTextureAlloc().loadTextureVDF("DLG_CHOICE.TGA");
20
21 setSize(Math::float2(0.75f, 1.0f));
22 setTranslation(Math::float2(0.125f, 0));
23}
24
25DialogBox::~DialogBox()
26{

Callers

nothing calls this directly

Calls 1

loadTextureVDFMethod · 0.45

Tested by

no test coverage detected