Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8424 in orxonox.OLD for branches/gui/src/lib


Ignore:
Timestamp:
Jun 15, 2006, 12:00:55 AM (18 years ago)
Author:
bensch
Message:

gui: new style

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

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/glgui_inputline.cc

    r8421 r8424  
    2222  /**
    2323   * @brief standard constructor
    24   */
     24   */
    2525  GLGuiInputLine::GLGuiInputLine ()
    2626  {
     
    117117
    118118  /**
    119    * Processes an Event.
     119   * @brief Processes an Event.
    120120   * @param event The event to be processed
    121121   * @return true if the event was catched.
     
    163163  void GLGuiInputLine::resize()
    164164  {
    165     this->_text.setRelCoor2D(this->borderLeft() + 2.0,this->borderTop() + 2.0);
     165    this->_text.setRelCoor2D(this->borderLeft() + 2.0, this->borderTop() + 2.0);
    166166    this->setSize2D( this->_text.getSize2D() + Vector2D(borderLeft() + borderRight() + 4.0, borderTop() + borderBottom() + 4.0));
    167167    GLGuiWidget::resize();
     
    185185  }
    186186
    187 
    188   /**
    189    * ticks the InputLine
     187  /**
     188   * @brief ticks the InputLine
    190189   * @param dt the time passed.
    191190   */
  • branches/gui/src/lib/gui/gl/glgui_widget.cc

    r8419 r8424  
    6666    this->setVisibility(GLGUI_WIDGET_DEFAULT_VISIBLE);
    6767
    68     this->_backMat.setDiffuse(0.0, 0.0, 0.0);
     68    this->_backMat.setDiffuse(1.0, 0.5, 0.4);
     69    this->_backMat.setDiffuseMap("gui_element_background.png");
    6970    this->_frontColor.setColor(1.0, 0.0, 0.0);
    7071
    71     this->_borderLeft = 1.0;
     72    this->_borderLeft = 10.0;
    7273    this->_borderRight = 1.0;
    7374    this->_borderTop = 1.0;
     
    250251    this->backMaterial().select();
    251252    this->drawRect(this->backRect());
     253    this->backMaterial().unselect();
    252254  }
    253255
Note: See TracChangeset for help on using the changeset viewer.