Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 26, 2006, 3:56:50 PM (19 years ago)
Author:
bensch
Message:

hunting Ghosts again

File:
1 edited

Legend:

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

    r7874 r7875  
    2929  {
    3030    this->init();
     31
    3132    this->setLabel(label);
    32 
    33     this->label.setFont("fonts/final_frontier.ttf", 100);
    34     this->label.setSize(10);
    35     this->label.setText("TEST");
    3633  }
    3734
     
    6259    this->label.setText(label);
    6360    this->label.setRelCoor2D(5, 5);
    64     printf("SIZE OF TEXT %s %f\n", label.c_str(), this->label.getSizeX2D());
    65     this->setSize2D(this->label.getSizeX2D(), this->label.getSizeY2D()+10);
    66     printf("SIZE OF BUTTON %f\n", this->getSizeX2D());
     61    this->setSize2D(this->label.getSizeX2D() + 10, this->label.getSizeY2D() + 10);
    6762
    6863  }
Note: See TracChangeset for help on using the changeset viewer.