- Timestamp:
- Jul 2, 2006, 5:43:28 AM (18 years ago)
- Location:
- trunk/src/util
- Files:
-
- 2 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 { -
trunk/src/util/hud.h
r8994 r8995 43 43 void removeWeaponWidget(OrxGui::GLGuiWidget* widget); 44 44 45 OrxGui::GLGuiRadar* radar() const { return _radar; }; 46 45 47 void updateWeaponManager(); 46 48 … … 62 64 OrxGui::GLGuiNotifier* notifier; 63 65 OrxGui::GLGuiInputLine* inputLine; 64 OrxGui::GLGuiRadar* radar;66 OrxGui::GLGuiRadar* _radar; 65 67 66 68 WeaponManager* weaponManager;
Note: See TracChangeset
for help on using the changeset viewer.