Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10489 in orxonox.OLD for trunk/src/lib/gui/gl


Ignore:
Timestamp:
Jan 30, 2007, 12:38:10 AM (18 years ago)
Author:
patrick
Message:

nicer gui entries

Location:
trunk/src/lib/gui/gl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_container.cc

    r10317 r10489  
    4343    this->registerObject(this, GLGuiContainer::_objectList);
    4444
    45     this->setBackgroundTexture("textures/gui/gui_container_background.png");
     45//     this->setBackgroundTexture("textures/gui/gui_container_background.png");
    4646
    4747  }
  • trunk/src/lib/gui/gl/glgui_widget.cc

    r10374 r10489  
    129129
    130130    this->setBorderLeft(15);
    131     this->setBackgroundTexture("textures/gui/gui_element_background.png");
     131//     this->setBackgroundTexture("textures/gui/gui_element_background.png");
    132132
    133133    this->switchState(_state);
     
    565565  }
    566566
    567  
    568  
    569  
    570  
    571  
     567
     568
     569
     570
     571
    572572  /**
    573573  * @brief sets the Background Texture to all States.
     
    594594    }
    595595  }
    596  
    597  
    598  
    599  
     596
     597
     598
     599
    600600  /**
    601601   * @brief sets the Background Texture.
     
    943943  }
    944944
    945   void GLGuiWidget::beginDraw() const 
    946   { 
    947     glPushMatrix(); 
     945  void GLGuiWidget::beginDraw() const
     946  {
     947    glPushMatrix();
    948948    glTranslatef(this->getAbsCoor2D().x, this->getAbsCoor2D().y, 0);
    949949    glRotatef(this->getAbsDir2D(), 0, 0, 1);
Note: See TracChangeset for help on using the changeset viewer.