Last change
on this file since 4047 was
4047,
checked in by bensch, 19 years ago
|
orxonox/branches/guiMerge: nameSpace-changes
|
File size:
1.0 KB
|
Rev | Line | |
---|
[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 | |
---|
[4047] | 9 | #include "gui.h" |
---|
| 10 | #include "gui_element.h" |
---|
[2018] | 11 | |
---|
[2588] | 12 | //! Class that creates the flags-Text. |
---|
[4024] | 13 | class OrxonoxGuiFlags : public OrxonoxGuiElement |
---|
[2018] | 14 | { |
---|
| 15 | private: |
---|
[3187] | 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 |
---|
[2018] | 20 | |
---|
| 21 | public: |
---|
[3423] | 22 | OrxonoxGuiFlags(void); |
---|
| 23 | ~OrxonoxGuiFlags(void); |
---|
[2018] | 24 | |
---|
[3423] | 25 | void setTextFromFlags(Widget* widget); |
---|
| 26 | static void flagsText(Widget* widget, void* flagInfo); |
---|
[2018] | 27 | |
---|
[3452] | 28 | //! Struct that handles flag information. |
---|
[3423] | 29 | struct FlagInfo |
---|
| 30 | { |
---|
[3452] | 31 | CheckButton* shortFlags; //!< Button for the flag. |
---|
| 32 | Label* flagsLabel; //!< Label for the flag. |
---|
[3423] | 33 | }; |
---|
[2018] | 34 | }; |
---|
| 35 | #endif /* _ORXONOX_GUI_FLAGS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.