#include <widgets.h>

Public Member Functions | |
| FELineWrapLabel (GraphicsInteractionManager *gim, std::string caption="FELineWrapLabel", Widget *aParent=0, Ogre::ColourValue color=Ogre::ColourValue::Red, Ogre::Vector2 defaultPos=Ogre::Vector2::NEGATIVE_UNIT_X, Ogre::Vector2 defaultSize=DEFAULT_LABEL_SIZE, Ogre::GuiMetricsMode defaultMode=Ogre::GMM_RELATIVE, double lines=1) | |
| ~FELineWrapLabel () | |
| virtual void | setCaption (std::string val) |
Public Attributes | |
| double | lines |
Definition at line 273 of file widgets.h.
| OgreGFX::FELineWrapLabel::FELineWrapLabel | ( | GraphicsInteractionManager * | gim, | |
| std::string | caption = "FELineWrapLabel", |
|||
| Widget * | aParent = 0, |
|||
| Ogre::ColourValue | color = Ogre::ColourValue::Red, |
|||
| Ogre::Vector2 | defaultPos = Ogre::Vector2::NEGATIVE_UNIT_X, |
|||
| Ogre::Vector2 | defaultSize = DEFAULT_LABEL_SIZE, |
|||
| Ogre::GuiMetricsMode | defaultMode = Ogre::GMM_RELATIVE, |
|||
| double | lines = 1 | |||
| ) |
Definition at line 284 of file widgets.cpp.
References setCaption(), OgreGFX::Widget::size, and OgreGFX::FELabel::textArea.
| OgreGFX::FELineWrapLabel::~FELineWrapLabel | ( | ) |
| void OgreGFX::FELineWrapLabel::setCaption | ( | std::string | val | ) | [virtual] |
Size of the text area within the widget, defined by widget size - offset
Sets the text displayed by the label.
| val | The string to display |
Reimplemented from OgreGFX::FELabel.
Definition at line 293 of file widgets.cpp.
References OgreGFX::FELabel::caption, lines, and OgreGFX::FELabel::textArea.
Referenced by FELineWrapLabel(), OgreGFX::WidgetMgr::initialize(), and OgreGFX::WidgetMgr::mouseOverButton().
1.5.4