Basic label widget.
More...
#include <OgreTrays.h>
◆ Label()
Do not instantiate any widgets directly. Use TrayManager.
◆ getCaption()
◆ setCaption()
◆ _cursorPressed()
void OgreBites::Label::_cursorPressed |
( |
const Ogre::Vector2 & |
cursorPos | ) |
|
|
virtual |
◆ _isFitToTray()
bool OgreBites::Label::_isFitToTray |
( |
| ) |
|
|
inline |
◆ cleanup()
void OgreBites::Widget::cleanup |
( |
| ) |
|
|
inherited |
◆ nukeOverlayElement()
Static utility method to recursively delete an overlay element plus all of its children from the system.
◆ isCursorOver()
Static utility method to check if the cursor is over an overlay element.
◆ cursorOffset()
Static utility method used to get the cursor's offset from the center of an overlay element in pixels.
◆ getCaptionWidth()
Static utility method used to get the width of a caption in a text area.
◆ fitCaptionToArea()
Static utility method to cut off a string to fit in a text area.
◆ getOverlayElement()
◆ getName()
◆ getTrayLocation()
◆ hide()
void OgreBites::Widget::hide |
( |
| ) |
|
|
inlineinherited |
◆ show()
void OgreBites::Widget::show |
( |
| ) |
|
|
inlineinherited |
◆ isVisible()
bool OgreBites::Widget::isVisible |
( |
void |
| ) |
|
|
inlineinherited |
◆ _cursorReleased()
virtual void OgreBites::Widget::_cursorReleased |
( |
const Ogre::Vector2 & |
cursorPos | ) |
|
|
inlinevirtualinherited |
◆ _cursorMoved()
virtual void OgreBites::Widget::_cursorMoved |
( |
const Ogre::Vector2 & |
cursorPos, |
|
|
float |
wheelDelta |
|
) |
| |
|
inlinevirtualinherited |
◆ _focusLost()
virtual void OgreBites::Widget::_focusLost |
( |
| ) |
|
|
inlinevirtualinherited |
◆ _assignToTray()
void OgreBites::Widget::_assignToTray |
( |
TrayLocation |
trayLoc | ) |
|
|
inlineinherited |
◆ _assignListener()
void OgreBites::Widget::_assignListener |
( |
TrayListener * |
listener | ) |
|
|
inlineinherited |
The documentation for this class was generated from the following file: