Changeset 10421 in orxonox.OLD for trunk/src/world_entities/elements
- Timestamp:
- Jan 27, 2007, 11:55:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/elements/glgui_energywidgetvertical.cc
r10420 r10421 46 46 this->_bar->setBackgroundTexture(Texture()); 47 47 this->_bar->setBackgroundColor(Color(0,0,0,0)); 48 this->_bar->setForegroundTexture("textures/gui _element_background_faded.png");48 this->_bar->setForegroundTexture("textures/gui/gui_element_background_faded.png"); 49 49 this->_bar->setForegroundColor(Color::green); 50 50 this->_bar->setChangedValueColor(Color(1,0,0,0.2)); … … 95 95 this->_valueText = NULL; 96 96 } 97 97 98 98 if ( this->_image ) 99 99 { … … 101 101 this->_image = NULL; 102 102 } 103 103 104 104 /* 105 105 if ( this->_bar ) … … 143 143 this->setBorderLeft(widgetSize.x * 0.2); 144 144 this->setBorderRight(widgetSize.x * 0.2); 145 145 146 146 this->_bar->setWidgetSize(widgetSize.x * 0.8, widgetSize.y * 0.6); 147 147 this->_image->setWidgetSize(widgetSize.y * 0.6, widgetSize.y * 0.6); … … 152 152 void GLGuiEnergyWidgetVertical::showing() 153 153 { 154 154 155 155 this->_bar->show(); 156 156 this->_image->show();
Note: See TracChangeset
for help on using the changeset viewer.