- Timestamp:
- Jul 1, 2006, 3:23:12 PM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine/limited_width_text.cc
r8768 r8981 152 152 break; 153 153 } 154 155 printf("%f %s\n", width, _dotedText.c_str());156 154 this->setSizeX2D(width * this->size()); 157 155 } -
trunk/src/world_entities/elements/glgui_energywidget.cc
r8980 r8981 22 22 /** 23 23 * @brief standard constructor 24 * @todo this constructor is not jet implemented - do it 25 */ 24 */ 26 25 GLGuiEnergyWidget::GLGuiEnergyWidget () 27 26 { … … 36 35 this->_name.setBackgroundTexture(Texture()); 37 36 this->_valueText.setBackgroundTexture("maps/gui_element_background_2.png"); 38 this->_valueText.setBackgroundTexture("maps/gui_element_background_2.png");39 37 this->_bar.setBackgroundTexture(Texture()); 40 38 } … … 46 44 GLGuiEnergyWidget::~GLGuiEnergyWidget () 47 45 { 48 // delete what has to be deleted here49 46 } 50 47 … … 69 66 } 70 67 68 void GLGuiEnergyWidget::resize() 69 { 70 GLGuiBox::resize(); 71 } 72 71 73 72 74 void GLGuiEnergyWidget::showing() -
trunk/src/world_entities/elements/glgui_energywidget.h
r8980 r8981 27 27 28 28 protected: 29 //virtual void resize();29 virtual void resize(); 30 30 virtual void showing(); 31 31 virtual void hiding();
Note: See TracChangeset
for help on using the changeset viewer.