Basic check box widget.
More...
#include <OgreTrays.h>
◆ CheckBox()
Do not instantiate any widgets directly. Use TrayManager.
◆ getCaption()
◆ setCaption()
◆ isChecked()
bool OgreBites::CheckBox::isChecked |
( |
| ) |
|
|
inline |
◆ setChecked()
void OgreBites::CheckBox::setChecked |
( |
bool |
checked, |
|
|
bool |
notifyListener = true |
|
) |
| |
◆ toggle()
void OgreBites::CheckBox::toggle |
( |
bool |
notifyListener = true | ) |
|
◆ _cursorPressed()
void OgreBites::CheckBox::_cursorPressed |
( |
const Ogre::Vector2 & |
cursorPos | ) |
|
|
virtual |
◆ _cursorMoved()
void OgreBites::CheckBox::_cursorMoved |
( |
const Ogre::Vector2 & |
cursorPos, |
|
|
float |
wheelDelta |
|
) |
| |
|
virtual |
◆ _focusLost()
void OgreBites::CheckBox::_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 |
◆ _cursorReleased()
virtual void OgreBites::Widget::_cursorReleased |
( |
const Ogre::Vector2 & |
cursorPos | ) |
|
|
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: