Changeset 8995 in orxonox.OLD for trunk/src/util/hud.cc
- Timestamp:
- Jul 2, 2006, 5:43:28 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/hud.cc
r8994 r8995 50 50 notifier->setAbsCoor2D(100,100); 51 51 52 this-> radar = new OrxGui::GLGuiRadar();52 this->_radar = new OrxGui::GLGuiRadar(); 53 53 54 54 this->subscribeEvent(ES_ALL, EV_VIDEO_RESIZE); … … 66 66 delete this->notifier; 67 67 68 delete this-> radar;68 delete this->_radar; 69 69 // delete what has to be deleted here 70 70 } … … 174 174 this->notifier->setWidgetSize(0.25 * this->resX, 0.6 * this->resY); 175 175 176 this->_radar->setAbsCoor2D(0.8 * this->resX, 0.1 * this->resY); 177 this->_radar->setWidgetSize(0.2 * this->resX, 0.2 * this->resY); 178 this->_radar->show(); 179 176 180 if (this->energyWidget != NULL) 177 181 {
Note: See TracChangeset
for help on using the changeset viewer.