Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/guiMerge/src/lib/gui/gui/gui_flags.h @ 4048

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

orxonox/branches/guiMerge: more naming issues

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