OgreGFX::FELineWrapLabel Class Reference

#include <widgets.h>

Inheritance diagram for OgreGFX::FELineWrapLabel:

OgreGFX::FELabel OgreGFX::Widget OgreGFX::Widget OgreGFX::Widget OgreGFX::Widget OgreGFX::Widget

List of all members.

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


Detailed Description

Definition at line 273 of file widgets.h.


Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

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.

Parameters:
val The string to display
Returns:
void

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().


Member Data Documentation

double OgreGFX::FELineWrapLabel::lines

Definition at line 283 of file widgets.h.

Referenced by setCaption().


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:22 2013 for FastECSLent by  doxygen 1.5.4