Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 3299 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
Line 
1/*!
2  \file orxonox_gui_flags.h
3  \brief File that holds the class that creates the flags-Text.
4*/
5
6#ifndef _ORXONOX_GUI_FLAGS_H
7#define _ORXONOX_GUI_FLAGS_H
8
9#include "orxonox_gui.h"
10
11//! Class that creates the flags-Text.
12class OrxonoxGuiFlags
13{
14 private:
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
19
20 public:
21  OrxonoxGuiFlags (Widget* widget);
22  ~OrxonoxGuiFlags ();
23
24  void setTextFromFlags (Widget* widget);
25  static void flagsText(Widget* widget, void* flagInfo);
26 
27  struct FlagInfo
28  {
29    CheckButton* shortFlags;
30    Label* flagsLabel;
31  };
32  Widget* getWidget ();
33};
34#endif /* _ORXONOX_GUI_FLAGS_H */
Note: See TracBrowser for help on using the repository browser.