Basic button class.
More...
#include <OgreTrays.h>
◆ Button()
Do not instantiate any widgets directly. Use TrayManager.
◆ ~Button()
virtual OgreBites::Button::~Button |
( |
| ) |
|
|
inlinevirtual |
◆ getCaption()
◆ setCaption()
◆ getState()
◆ _cursorPressed()
void OgreBites::Button::_cursorPressed |
( |
const Ogre::Vector2 & |
cursorPos | ) |
|
|
virtual |
◆ _cursorReleased()
void OgreBites::Button::_cursorReleased |
( |
const Ogre::Vector2 & |
cursorPos | ) |
|
|
virtual |
◆ _cursorMoved()
void OgreBites::Button::_cursorMoved |
( |
const Ogre::Vector2 & |
cursorPos, |
|
|
float |
wheelDelta |
|
) |
| |
|
virtual |
◆ _focusLost()
void OgreBites::Button::_focusLost |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ _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: