Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5391 in orxonox.OLD for trunk/src/lib/gui/gl_gui/glgui_box.h


Ignore:
Timestamp:
Oct 16, 2005, 1:37:41 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more gui-definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl_gui/glgui_box.h

    r5364 r5391  
    1212// FORWARD DECLARATION
    1313
     14typedef enum
     15{
     16  GLGuiBox_H,
     17  GLGuiBox_V,
     18} GLGuiBoxType;
     19
    1420//! This is BOX part of the openglGUI class
    1521/**
     
    1925
    2026 public:
    21   GLGuiBox();
     27  GLGuiBox(GLGuiBoxType type = GLGuiBox_H);
    2228  virtual ~GLGuiBox();
    2329
    2430  void init();
     31  void setType(GLGuiBoxType type) { this->type = type; };
    2532
    2633  virtual void draw();
    2734
    2835 private:
     36   GLGuiBoxType         type;
    2937
    3038};
Note: See TracChangeset for help on using the changeset viewer.