Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 1, 2006, 11:37:42 AM (18 years ago)
Author:
bensch
Message:

trunk: gui: full functionality of Text

Location:
trunk/src/world_entities/elements
Files:
2 edited

Legend:

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

    r8972 r8973  
    2727  {
    2828    //   this->setClassID(CL_PROTO_ID, "GLGuiEnergyWidget");
     29
     30    this->text.setParent2D(this);
     31    this->bar.setParent2D(this);
    2932  }
    3033
  • trunk/src/world_entities/elements/glgui_energywidget.h

    r8972 r8973  
    1818  {
    1919
    20     public:
     20  public:
    2121    GLGuiEnergyWidget();
    2222    virtual ~GLGuiEnergyWidget();
    2323
     24  protected:
     25    virtual void resize();
    2426
    25     private:
    26       GLGuiBar                bar;
    27       GLGuiText               text;
     27  private:
     28    GLGuiBar                bar;
     29    GLGuiText               text;
    2830
    2931  };
Note: See TracChangeset for help on using the changeset viewer.