Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 1, 2006, 11:26:00 AM (19 years ago)
Author:
bensch
Message:

added glgui_energywidget, the new Widget to display Energy and a Value

File:
1 copied

Legend:

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

    r8970 r8972  
    11/*!
    2  * @file proto_class.h
    3  * @brief Definition of ...
     2 * @file glgui_energywidget.h
     3 * @brief Definition of an EnergyWidget, that displays a bar and a Text
    44*/
    55
    6 #ifndef _PROTO_CLASS_H
    7 #define _PROTO_CLASS_H
     6#ifndef _GLGUI_ENERGY_WIDGET_H
     7#define _GLGUI_ENERGY_WIDGET_H
    88
    9 #include "base_object.h"
     9#include "glgui_widget.h"
     10#include "glgui_bar.h"
     11#include "glgui_text.h"
    1012
    11 // FORWARD DECLARATION
     13namespace OrxGui
     14{
     15
     16  //! A class for ...
     17  class GLGuiEnergyWidget : public GLGuiWidget
     18  {
     19
     20    public:
     21    GLGuiEnergyWidget();
     22    virtual ~GLGuiEnergyWidget();
    1223
    1324
     25    private:
     26      GLGuiBar                bar;
     27      GLGuiText               text;
    1428
    15 //! A class for ...
    16 class ProtoClass : public BaseObject {
    17 
    18  public:
    19   ProtoClass();
    20   virtual ~ProtoClass();
    21 
    22 
    23  private:
    24 
    25 };
    26 
    27 #endif /* _PROTO_CLASS_H */
     29  };
     30}
     31#endif /* _GLGUI_ENERGY_WIDGET_H */
Note: See TracChangeset for help on using the changeset viewer.