MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / setCaption

Method setCaption

source/render/MovableTextOverlay.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ChildOverlay::setCaption(const Ogre::String& caption)
60{
61 if (caption != mCaption)
62 {
63 mCaption = caption;
64 mOverlayText->setCaption(mCaption);
65 computeTextArea();
66 }
67}
68
69void ChildOverlay::forceTextArea(Ogre::Real textWidth, Ogre::Real textHeight)
70{

Callers 4

addTextBoxMethod · 0.80
setTextMethod · 0.80
CreatureOverlayStatusMethod · 0.80
updateHealthMethod · 0.80

Calls 1

toStringFunction · 0.50

Tested by

no test coverage detected