- Timestamp:
- Jul 1, 2006, 12:12:48 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r8717 r8975 107 107 LightManager::getInstance(); 108 108 109 GraphicsEngine::getInstance()->displayFPS(true);109 // GraphicsEngine::getInstance()->displayFPS(true); 110 110 111 111 return ErrorMessage(); -
trunk/src/util/hud.cc
r8619 r8975 163 163 if (this->energyWidget != NULL) 164 164 { 165 this->energyWidget->setAbsCoor2D(0 * this->resX, 0* this->resY);166 this->energyWidget->set Size2D(.25 * this->resX,1 * this->resY);165 this->energyWidget->setAbsCoor2D(0.0 * this->resX, 0.9 * this->resY); 166 this->energyWidget->setWidgetSize(.25 * this->resX, 0.1 * this->resY); 167 167 } 168 168 … … 173 173 for (weaponWidget = this->weaponsWidgets.begin(); weaponWidget != this->weaponsWidgets.end(); weaponWidget++, pos+=.03) 174 174 { 175 (*weaponWidget)->set Size2D(.02*this->resX, .2 *this->resY);175 (*weaponWidget)->setWidgetSize(.02*this->resX, .2 *this->resY); 176 176 (*weaponWidget)->setAbsCoor2D(pos*this->resX, .75*this->resY); 177 177 -
trunk/src/world_entities/elements/glgui_energywidget.cc
r8974 r8975 42 42 43 43 44 44 45 void GLGuiEnergyWidget::setMaximum(float max) 45 46 { … … 56 57 57 58 59 void GLGuiEnergyWidget::showing() 60 { 61 this->text.show(); 62 this->bar.show(); 63 } 64 65 void GLGuiEnergyWidget::hiding() 66 { 67 this->text.hide(); 68 this->bar.hide(); 69 } 70 71 58 72 59 73 } -
trunk/src/world_entities/elements/glgui_energywidget.h
r8974 r8975 27 27 protected: 28 28 //virtual void resize(); 29 virtual void showing(); 30 virtual void hiding(); 29 31 30 32 private:
Note: See TracChangeset
for help on using the changeset viewer.