|  | OGRE
    1.11.6
    Object-Oriented Graphics Rendering Engine | 
Basic progress bar widget. More...
#include <OgreTrays.h>
 Inheritance diagram for OgreBites::ProgressBar:
 Inheritance diagram for OgreBites::ProgressBar:| Public Member Functions | |
| ProgressBar (const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real commentBoxWidth) | |
| Do not instantiate any widgets directly. Use TrayManager.  More... | |
| void | _assignListener (TrayListener *listener) | 
| void | _assignToTray (TrayLocation trayLoc) | 
| virtual void | _cursorMoved (const Ogre::Vector2 &cursorPos, float wheelDelta) | 
| virtual void | _cursorPressed (const Ogre::Vector2 &cursorPos) | 
| virtual void | _cursorReleased (const Ogre::Vector2 &cursorPos) | 
| virtual void | _focusLost () | 
| void | cleanup () | 
| const Ogre::DisplayString & | getCaption () | 
| const Ogre::DisplayString & | getComment () | 
| const Ogre::String & | getName () | 
| Ogre::OverlayElement * | getOverlayElement () | 
| Ogre::Real | getProgress () | 
| Gets the progress as a percentage.  More... | |
| TrayLocation | getTrayLocation () | 
| void | hide () | 
| bool | isVisible () | 
| void | setCaption (const Ogre::DisplayString &caption) | 
| void | setComment (const Ogre::DisplayString &comment) | 
| void | setProgress (Ogre::Real progress) | 
| Sets the progress as a percentage.  More... | |
| void | show () | 
| Static Public Member Functions | |
| 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 progress bar widget.
| OgreBites::ProgressBar::ProgressBar | ( | const Ogre::String & | name, | 
| const Ogre::DisplayString & | caption, | ||
| Ogre::Real | width, | ||
| Ogre::Real | commentBoxWidth | ||
| ) | 
Do not instantiate any widgets directly. Use TrayManager.
| void OgreBites::ProgressBar::setProgress | ( | Ogre::Real | progress | ) | 
Sets the progress as a percentage.
| 
 | inline | 
Gets the progress as a percentage.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inherited | 
| 
 | staticinherited | 
Static utility method to recursively delete an overlay element plus all of its children from the system.
| 
 | staticinherited | 
Static utility method to check if the cursor is over an overlay element.
| 
 | staticinherited | 
Static utility method used to get the cursor's offset from the center of an overlay element in pixels.
| 
 | staticinherited | 
Static utility method used to get the width of a caption in a text area.
| 
 | staticinherited | 
Static utility method to cut off a string to fit in a text area.
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlinevirtualinherited | 
Reimplemented in OgreBites::CheckBox, OgreBites::Slider, OgreBites::Label, OgreBites::SelectMenu, OgreBites::TextBox, and OgreBites::Button.
| 
 | inlinevirtualinherited | 
Reimplemented in OgreBites::Slider, OgreBites::SelectMenu, OgreBites::TextBox, and OgreBites::Button.
| 
 | inlinevirtualinherited | 
Reimplemented in OgreBites::CheckBox, OgreBites::Slider, OgreBites::SelectMenu, OgreBites::TextBox, and OgreBites::Button.
| 
 | inlinevirtualinherited | 
Reimplemented in OgreBites::CheckBox, OgreBites::Slider, OgreBites::SelectMenu, OgreBites::TextBox, and OgreBites::Button.
| 
 | inlineinherited | 
| 
 | inlineinherited |