Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/updater/src/gui/orxonox_gui_flags.h @ 3313

Last change on this file since 3313 was 3299, checked in by bensch, 19 years ago

orxonox/branches/updater: flags now working perfectly. not the fastest way to implement this, but still….

File size: 908 bytes
RevLine 
[2588]1/*!
2  \file orxonox_gui_flags.h
3  \brief File that holds the class that creates the flags-Text.
4*/
5
[2018]6#ifndef _ORXONOX_GUI_FLAGS_H
7#define _ORXONOX_GUI_FLAGS_H
8
9#include "orxonox_gui.h"
10
[2588]11//! Class that creates the flags-Text.
[2018]12class OrxonoxGuiFlags
13{
14 private:
[3187]15  Frame* flagsFrame;          //!< The Frame that holds the flagsDisplay.
16  Box* flagsBox;              //!< The Box that holds the flagsDisplay.
17  CheckButton* shortFlags;    //!< CheckButton to change the display of short and long flags \todo show long if long not availible...
18  Label* flagsLabel;          //!< The Label of the Flags
[2018]19
20 public:
21  OrxonoxGuiFlags (Widget* widget);
22  ~OrxonoxGuiFlags ();
23
24  void setTextFromFlags (Widget* widget);
[3299]25  static void flagsText(Widget* widget, void* flagInfo);
[2018]26 
[3299]27  struct FlagInfo
28  {
29    CheckButton* shortFlags;
30    Label* flagsLabel;
31  };
[2595]32  Widget* getWidget ();
[2018]33};
34#endif /* _ORXONOX_GUI_FLAGS_H */
Note: See TracBrowser for help on using the repository browser.