|
Last change
on this file since 4826 was
4746,
checked in by bensch, 20 years ago
|
|
orxonox/trunk: changed (void) → ()
|
|
File size:
981 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 | #include "gui_gtk.h" |
|---|
| 12 | |
|---|
| 13 | //! Class that creates the flags-Text. |
|---|
| 14 | class GuiFlags : public GuiElement |
|---|
| 15 | { |
|---|
| 16 | private: |
|---|
| 17 | Frame* flagsFrame; //!< The Frame that holds the flagsDisplay. |
|---|
| 18 | Box* flagsBox; //!< The Box that holds the flagsDisplay. |
|---|
| 19 | CheckButton* shortFlags; //!< CheckButton to change the display of short and long flags \todo show long if long not availible... |
|---|
| 20 | Label* flagsLabel; //!< The Label of the Flags |
|---|
| 21 | |
|---|
| 22 | public: |
|---|
| 23 | GuiFlags(); |
|---|
| 24 | ~GuiFlags(); |
|---|
| 25 | |
|---|
| 26 | void setTextFromFlags(Widget* widget); |
|---|
| 27 | static void flagsText(Widget* widget, void* flagInfo); |
|---|
| 28 | |
|---|
| 29 | //! Struct that handles flag information. |
|---|
| 30 | struct FlagInfo |
|---|
| 31 | { |
|---|
| 32 | CheckButton* shortFlags; //!< Button for the flag. |
|---|
| 33 | Label* flagsLabel; //!< Label for the flag. |
|---|
| 34 | }; |
|---|
| 35 | }; |
|---|
| 36 | #endif /* _GUI_FLAGS_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.