Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gtk/gui_flags.h @ 8932

Last change on this file since 8932 was 8145, checked in by bensch, 18 years ago

trunk: merged the gui back
merged with command:
svn merge -r8114:HEAD https://svn.orxonox.net/orxonox/branches/gui .
→ no conflicts

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