Changeset 10194 in orxonox.OLD for branches/playability/src/world_entities/elements/glgui_energywidgetvertical.h
- Timestamp:
- Jan 8, 2007, 9:19:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/elements/glgui_energywidgetvertical.h
r10107 r10194 10 10 #include "glgui_bar.h" 11 11 #include "glgui_text.h" 12 #include "glgui_widget.h" 12 13 13 14 namespace OrxGui … … 15 16 16 17 //! A class for ... 17 class GLGuiEnergyWidgetVertical : public GLGui Box18 class GLGuiEnergyWidgetVertical : public GLGuiWidget 18 19 { 19 20 … … 22 23 virtual ~GLGuiEnergyWidgetVertical(); 23 24 24 void setDisplayedName(const std::string& name);25 25 void setMaximum(float max); 26 26 void setValue(float value); 27 27 28 inline GLGuiWidget* get NameWidget() {return &this->_name;};28 inline GLGuiWidget* getImageWidget() {return &this->_image;}; 29 29 inline GLGuiWidget* getValueWidget() {return &this->_valueText;}; 30 30 inline GLGuiWidget* getBarWidget() {return &this->_bar;}; … … 36 36 37 37 private: 38 GLGui Text _name;38 GLGuiWidget _image; 39 39 GLGuiText _valueText; 40 40 GLGuiBar _bar;
Note: See TracChangeset
for help on using the changeset viewer.