- Timestamp:
- Jul 1, 2006, 5:13:19 PM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/hud.cc
r8987 r8988 174 174 175 175 std::list<OrxGui::GLGuiWidget*>::iterator weaponWidget; 176 Vector2D pos(0.3, . 85);176 Vector2D pos(0.3, .9); 177 177 for (weaponWidget = this->weaponsWidgets.begin(); weaponWidget != this->weaponsWidgets.end(); weaponWidget++, pos.x+=.2) 178 178 { -
trunk/src/world_entities/elements/glgui_energywidget.cc
r8986 r8988 30 30 this->pack(&this->_name); 31 31 this->pack(&this->_valueText); 32 this-> pack(&this->_bar);32 this->_bar.setParent2D(&this->_valueText); 33 33 34 34 this->setBackgroundTexture("maps/gui_element_background_2.png"); -
trunk/src/world_entities/elements/glgui_energywidget.h
r8981 r8988 33 33 private: 34 34 GLGuiText _name; 35 GLGuiText _valueText; 35 36 GLGuiBar _bar; 36 GLGuiText _valueText;37 37 38 38 };
Note: See TracChangeset
for help on using the changeset viewer.