Changeset 3187 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_gtk.h
- Timestamp:
- Dec 15, 2004, 9:00:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_gtk.h
r3165 r3187 38 38 { 39 39 private: 40 40 41 public: 41 42 ~Widget (); … … 111 112 { 112 113 private: 113 bool isOpen; 114 public: 115 static Window* mainWindow; 114 bool isOpen; //!< A bool Variable that checks if a Window is already open. 115 public: 116 static Window* mainWindow; //!< Pointer to the First Window that was opened. By default this should be the GUI's main-Window. 116 117 static void addWindow(Window* windowToAdd); 117 118 … … 163 164 //! A Box can contain multiple Widgets 164 165 /** 165 *A Box can Contain multiple Widgets, that are ordered either horizontally or vertically166 *I defined the standartbox to be horizontally.167 *A Box is always filled left->right (horizontally) or up->down (vertically)168 166 A Box can Contain multiple Widgets, that are ordered either horizontally or vertically 167 I defined the standartbox to be horizontally. 168 A Box is always filled left->right (horizontally) or up->down (vertically) 169 */ 169 170 class Box : public Packer 170 171 { … … 204 205 char* flagNameShort; //!< like flag_name but shorter 205 206 int defaultValue; //!< A default value is good, for hiding a option if it is not needed. (hidden if value == default_value) 206 bool saveable; //! Options can be Saved.207 bool saveable; //!< Options can be Saved. 207 208 208 209 void setFlagName (char* flagname, int defaultvalue); … … 268 269 private: 269 270 #ifdef HAVE_GTK2 270 GtkWidget* menu; 271 GtkWidget* item; 272 #endif /* HAVE_GTK2 */ 273 va_list itemlist; 271 GtkWidget* menu; //!< The menu That will hold the Options. 272 GtkWidget* item; //!< One Item From a Menu. 273 #endif /* HAVE_GTK2 */ 274 va_list itemlist; //!> The list to readin multiple Options. 274 275 275 276 public: … … 293 294 void init(void); 294 295 295 char* cValue; 296 char* cValue; //!< The Value the Label will have. 296 297 297 298 void setValue(char* newValue);
Note: See TracChangeset
for help on using the changeset viewer.