| 
                Last change
                  on this file since 3483 was
                  3452,
                  checked in by bensch, 21 years ago
           | 
        
        
          | 
               
orxonox/trunk: gui: added resolution-selection-menu 
 
           | 
        
        | 
            File size:
            1011 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. | 
|---|
| 12 | class 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(void); | 
|---|
| 22 |   ~OrxonoxGuiFlags(void); | 
|---|
| 23 |  | 
|---|
| 24 |   void setTextFromFlags(Widget* widget); | 
|---|
| 25 |   static void flagsText(Widget* widget, void* flagInfo); | 
|---|
| 26 |    | 
|---|
| 27 |   //! Struct that handles flag information. | 
|---|
| 28 |   struct FlagInfo | 
|---|
| 29 |   { | 
|---|
| 30 |     CheckButton* shortFlags;     //!< Button for the flag. | 
|---|
| 31 |     Label* flagsLabel;           //!< Label for the flag. | 
|---|
| 32 |   }; | 
|---|
| 33 |   Widget* getWidget(void); | 
|---|
| 34 | }; | 
|---|
| 35 | #endif /* _ORXONOX_GUI_FLAGS_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.