OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
Basic parameters panel widget. More...
#include <OgreTrays.h>
Additional Inherited Members | |
Static Public Member Functions inherited from OgreBites::Widget | |
static Ogre::Vector2 | cursorOffset (Ogre::OverlayElement *element, const Ogre::Vector2 &cursorPos) |
Static utility method used to get the cursor's offset from the center of an overlay element in pixels. More... | |
static void | fitCaptionToArea (const Ogre::DisplayString &caption, Ogre::TextAreaOverlayElement *area, Ogre::Real maxWidth) |
Static utility method to cut off a string to fit in a text area. More... | |
static Ogre::Real | getCaptionWidth (const Ogre::DisplayString &caption, Ogre::TextAreaOverlayElement *area) |
Static utility method used to get the width of a caption in a text area. More... | |
static bool | isCursorOver (Ogre::OverlayElement *element, const Ogre::Vector2 &cursorPos, Ogre::Real voidBorder=0) |
Static utility method to check if the cursor is over an overlay element. More... | |
static void | nukeOverlayElement (Ogre::OverlayElement *element) |
Static utility method to recursively delete an overlay element plus all of its children from the system. More... | |
Basic parameters panel widget.
OgreBites::ParamsPanel::ParamsPanel | ( | const Ogre::String & | name, |
Ogre::Real | width, | ||
unsigned int | lines | ||
) |
Do not instantiate any widgets directly. Use TrayManager.
void OgreBites::ParamsPanel::setAllParamNames | ( | const Ogre::StringVector & | paramNames | ) |
|
inline |
void OgreBites::ParamsPanel::setAllParamValues | ( | const Ogre::StringVector & | paramValues | ) |
void OgreBites::ParamsPanel::setParamValue | ( | const Ogre::DisplayString & | paramName, |
const Ogre::DisplayString & | paramValue | ||
) |
void OgreBites::ParamsPanel::setParamValue | ( | unsigned int | index, |
const Ogre::DisplayString & | paramValue | ||
) |
Ogre::DisplayString OgreBites::ParamsPanel::getParamValue | ( | const Ogre::DisplayString & | paramName | ) |
Ogre::DisplayString OgreBites::ParamsPanel::getParamValue | ( | unsigned int | index | ) |
|
inline |