MCPcopy Create free account
hub / github.com/OpenMW/openmw / getRequestedSize

Method getRequestedSize

components/widgets/box.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 MyGUI::IntSize AutoSizedTextBox::getRequestedSize()
32 {
33 return getCaption().empty() ? MyGUI::IntSize{ 0, 0 } : getTextSize();
34 }
35
36 void AutoSizedTextBox::setCaption(const MyGUI::UString& value)
37 {

Callers 4

alignMethod · 0.45
updateMenuMethod · 0.45
adjustButtonMethod · 0.45
onOpenMethod · 0.45

Calls 5

getNameFunction · 0.85
maxFunction · 0.85
parseFunction · 0.50
emptyMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected