Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 8, 2007, 9:19:39 PM (17 years ago)
Author:
muellmic
Message:

implementing interface 'by hand' without still buggy packing-function. can't test with spaceship because of segfault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/elements/glgui_energywidgetvertical.h

    r10107 r10194  
    1010#include "glgui_bar.h"
    1111#include "glgui_text.h"
     12#include "glgui_widget.h"
    1213
    1314namespace OrxGui
     
    1516
    1617  //! A class for ...
    17   class GLGuiEnergyWidgetVertical : public GLGuiBox
     18  class GLGuiEnergyWidgetVertical : public GLGuiWidget
    1819  {
    1920
     
    2223    virtual ~GLGuiEnergyWidgetVertical();
    2324
    24     void setDisplayedName(const std::string& name);
    2525    void setMaximum(float max);
    2626    void setValue(float value);
    2727
    28     inline GLGuiWidget* getNameWidget() {return &this->_name;};
     28    inline GLGuiWidget* getImageWidget() {return &this->_image;};
    2929    inline GLGuiWidget* getValueWidget() {return &this->_valueText;};
    3030    inline GLGuiWidget* getBarWidget() {return &this->_bar;};
     
    3636
    3737  private:
    38     GLGuiText               _name;
     38    GLGuiWidget             _image;
    3939    GLGuiText               _valueText;
    4040    GLGuiBar                _bar;
Note: See TracChangeset for help on using the changeset viewer.