Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2006, 1:43:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: the CheckButton works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl_gui/glgui_button.cc

    r7883 r7901  
    3030    this->init();
    3131
    32     this->setLabel(label);
     32    this->label.setText( label );
    3333  }
    3434
     
    6464  {
    6565    this->label.setText(label);
    66     this->label.setRelCoor2D(5, 5);
    67     this->setSize2D(this->label.getSizeX2D() + 10, this->label.getSizeY2D() + 10);
    68 
     66    this->resize();
    6967  }
    7068
    71 
    7269  /**
    73    * draws the GLGuiButton
     70   * @brief draws the GLGuiButton
    7471   */
    7572  void GLGuiButton::draw() const
Note: See TracChangeset for help on using the changeset viewer.