Changeset 4071 in orxonox.OLD for orxonox/trunk/src/lib/gui/gui/gui_gtk.h
- Timestamp:
- May 5, 2005, 11:30:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/gui_gtk.h
r4068 r4071 32 32 33 33 // enumerator for different GuiOption-Types 34 enum GUI_OPTION {GUI_ CONTAINER= -2,35 GUI_ BOX= -1,34 enum GUI_OPTION {GUI_BOX = -2, 35 GUI_CONTAINER = -1, 36 36 GUI_NOTHING = 0, 37 37 GUI_BOOL = 1, … … 64 64 void walkThrough(void(*function)(Widget*), unsigned int depth); 65 65 void walkThrough(void(*function)(Widget*, void*), void* data, unsigned int depth); 66 static void listOptionsAndGroups(Widget* widget);67 static void listOptions(Widget* widget);68 static void listOptions(Widget* widget, void* data);69 Widget* findOptionByNumber(int* number, unsigned int depth);70 static void listGroups(Widget* widget);71 static void listGroups(Widget* widget, void* data);72 Widget* findGroupByNumber(int* number, unsigned int depth);73 static void setOptions(Widget* widget);74 static void redrawOptions(Widget* widget);75 static void flagCheck(Widget* widget, void* flagName);66 static void listOptionsAndGroups(Widget* widget); 67 static void listOptions(Widget* widget); 68 static void listOptions(Widget* widget, void* data); 69 Widget* findOptionByNumber(int* number, unsigned int depth); 70 static void listGroups(Widget* widget); 71 static void listGroups(Widget* widget, void* data); 72 Widget* findGroupByNumber(int* number, unsigned int depth); 73 static void setOptions(Widget* widget); 74 static void redrawOptions(Widget* widget); 75 static void flagCheck(Widget* widget, void* flagName); 76 76 77 77 #ifdef HAVE_GTK2 … … 104 104 #endif /* HAVE_GTK2 */ 105 105 106 int isOption; //!< with this Paramenter one can set the option-type: -2:Container, -1: Box, 0: not an Option, 1: Bool-option, 2: int-option, 3: float option, 4:char option, 5: char* option 107 106 GUI_OPTION optionType; //!< The Type of the Widget. 108 107 char* title; //!< The name of the Widget. Some do display it, Options need it to save; 109 108 }; … … 142 141 Container(void); 143 142 virtual ~Container(void); 143 144 144 void setBorderWidth(int borderwidth); 145 145 void fill(Widget* lowerWidget);
Note: See TracChangeset
for help on using the changeset viewer.