Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10421 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Jan 27, 2007, 11:55:54 PM (18 years ago)
Author:
patrick
Message:

gui texts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/elements/glgui_energywidgetvertical.cc

    r10420 r10421  
    4646    this->_bar->setBackgroundTexture(Texture());
    4747    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");
    4949    this->_bar->setForegroundColor(Color::green);
    5050    this->_bar->setChangedValueColor(Color(1,0,0,0.2));
     
    9595      this->_valueText = NULL;
    9696    }
    97    
     97
    9898    if ( this->_image )
    9999    {
     
    101101      this->_image = NULL;
    102102    }
    103    
     103
    104104    /*
    105105    if ( this->_bar )
     
    143143    this->setBorderLeft(widgetSize.x * 0.2);
    144144    this->setBorderRight(widgetSize.x * 0.2);
    145    
     145
    146146    this->_bar->setWidgetSize(widgetSize.x * 0.8, widgetSize.y * 0.6);
    147147    this->_image->setWidgetSize(widgetSize.y * 0.6, widgetSize.y * 0.6);
     
    152152  void GLGuiEnergyWidgetVertical::showing()
    153153  {
    154    
     154
    155155    this->_bar->show();
    156156    this->_image->show();
Note: See TracChangeset for help on using the changeset viewer.