Changeset 10139 in orxonox.OLD for branches/playability/src/world_entities/elements
- Timestamp:
- Dec 22, 2006, 12:21:38 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/elements/glgui_energywidgetvertical.cc
r10120 r10139 29 29 // this->setClassID(CL_PROTO_ID, "GLGuiEnergyWidget"); 30 30 31 32 33 this->_bar.setSize2D(100, 30);34 this->_name.setRelCoor2D(200,0);35 this-> _valueText.setRelCoor2D(22,0);36 31 //this->_bar.setSize2D(100, 30); 32 //this->_bar.setRelCoor2D(-10,0); 33 //this->_name.setRelCoor2D(20,0); 34 //this->_valueText.setRelCoor2D(,0); 35 this->shiftDir2D(270); 36 this->setOrientation(OrxGui::Horizontal); 37 37 this->pack(&this->_name); 38 38 this->pack(&this->_valueText); … … 44 44 45 45 this->setBackgroundTexture(Texture()); 46 this->setBackgroundColor(Color(.5,.5,.5,0 ));46 this->setBackgroundColor(Color(.5,.5,.5,0.5)); 47 47 48 48 //this->_name.setBackgroundTexture(Texture());
Note: See TracChangeset
for help on using the changeset viewer.