Index: branches/playability/src/util/hud.cc
===================================================================
--- branches/playability/src/util/hud.cc	(revision 10120)
+++ branches/playability/src/util/hud.cc	(revision 10139)
@@ -65,6 +65,5 @@
   this->subscribeEvent(ES_ALL, SDLK_TAB);
 
-  this->shipValuesBox = new OrxGui::GLGuiBox(OrxGui::Vertical);
-  this->shipValuesBox->setBackgroundTexture("maps/gui_container_background.png");
+  this->shipValuesBox = NULL;
 }
 
@@ -79,4 +78,6 @@
 
   delete this->_radar;
+  delete this->shipValuesBox;
+
   // delete what has to be deleted here
 }
@@ -98,4 +99,6 @@
 void Hud::setEnergyWidget(OrxGui::GLGuiWidget* widget)
 {
+  if (this->shipValuesBox == NULL)
+    this->createShipValuesBox();
   // decopple old widget
   if (this->energyWidget != NULL)
@@ -107,8 +110,8 @@
   if (this->energyWidget != NULL)
   {
-    this->energyWidget->show();
-    this->energyWidget->shiftDir2D(270);
+    //this->energyWidget->shiftDir2D(270);
     dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->energyWidget)->setDisplayedName("Electronics");
     this->shipValuesBox->pack(this->energyWidget);
+    this->energyWidget->show();
     /*    this->energyWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
         this->energyWidget->frontMaterial().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);*/
@@ -120,4 +123,6 @@
 void Hud::setShiledWidget(OrxGui::GLGuiWidget* widget)
 {
+  if (this->shipValuesBox == NULL)
+    this->createShipValuesBox();
   // decopple old widget
   if (this->shieldWidget != NULL)
@@ -129,10 +134,12 @@
   if (this->shieldWidget != NULL)
   {
+    //this->shieldWidget->shiftDir2D(270);
+    this->shipValuesBox->pack(this->shieldWidget);
     this->shieldWidget->show();
-    this->shieldWidget->shiftDir2D(270);
-    this->shipValuesBox->pack(this->shieldWidget);
     /*    this->shieldWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
         this->shieldWidget->frontMaterial().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);*/
   }
+  else
+    printf("schild im hud nicht uebergeben!!!!!!!!!!!!!!!!!!!!!!!!!");
 
   this->updateResolution();
@@ -141,4 +148,7 @@
 void Hud::setArmorWidget(OrxGui::GLGuiWidget* widget)
 {
+  if (this->shipValuesBox == NULL)
+    this->createShipValuesBox();
+
 // decopple old widget
   if (this->armorWidget != NULL)
@@ -150,7 +160,7 @@
   if (this->armorWidget != NULL)
   {
+    //this->armorWidget->shiftDir2D(270);
+    this->shipValuesBox->pack(this->armorWidget);
     this->armorWidget->show();
-    this->armorWidget->shiftDir2D(270);
-    //this->shipValuesBox->pack(this->armorWidget);
     /*    this->armorWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
         this->armorWidget->frontMaterial().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);*/
@@ -272,7 +282,9 @@
   if (this->shipValuesBox != NULL)
   {
-    this->shipValuesBox->setAbsCoor2D(0.8 * this->resX, 0.85 * this->resY);
+    this->shipValuesBox->setAbsCoor2D(0.2 * this->resX, 0.4 * this->resY);
     this->shipValuesBox->setWidgetSize(.4 * this->resX, 0.1 * this->resY);
   }
+  else
+    createShipValuesBox();
 
 
@@ -309,7 +321,15 @@
   //  this->inputLine->select();
   }
-
-
-}
-
-
+}
+
+void Hud::createShipValuesBox()
+{
+  this->shipValuesBox = new OrxGui::GLGuiBox(OrxGui::Horizontal);
+  //this->shipValuesBox->setWidgetSize(1000,500);
+  //this->shipValuesBox->setBackgroundTexture("maps/gui_container_background.png");
+  this->shipValuesBox->setBackgroundTexture(Texture());
+  this->shipValuesBox->setBackgroundColor(Color(0,0,1,0.5));
+  this->shipValuesBox->setVisibility(true);
+}
+
+
Index: branches/playability/src/util/hud.h
===================================================================
--- branches/playability/src/util/hud.h	(revision 10120)
+++ branches/playability/src/util/hud.h	(revision 10139)
@@ -40,4 +40,8 @@
   void setShiledWidget(OrxGui::GLGuiWidget* widget);
   void setArmorWidget(OrxGui::GLGuiWidget* widget);
+  inline OrxGui::GLGuiWidget* getEnergyWidget() {return this->energyWidget;};
+  inline OrxGui::GLGuiWidget* getShieldWidget() {return this->shieldWidget;};
+  inline OrxGui::GLGuiWidget* getArmorWidget() {return this->armorWidget;};
+
   void setWeaponManager(WeaponManager* weaponMan, WeaponManager* weaponManSec = NULL);
 
@@ -55,4 +59,5 @@
   private:
     void updateResolution();
+    void createShipValuesBox();
 
 private:
