Changeset 3187 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_gtk.cc
- Timestamp:
- Dec 15, 2004, 9:00:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_gtk.cc
r3166 r3187 40 40 41 41 #ifdef HAVE_GTK2 42 /** 43 \brief Initializes the Guis GTK-stuff. 44 \param argc the argument count. 45 \param argv The Argument strings. 46 */ 42 47 bool initGTK(int argc, char *argv[]) 43 48 { … … 45 50 gtk_rc_parse( "rc" ); 46 51 } 52 53 /** 54 \brief enters the GTK-main-loop 55 */ 47 56 bool mainloopGTK(void) 48 57 { … … 158 167 /** 159 168 \brief Moves through all the Widgets downwards from this and executes the function on them. 160 \param function must be of type void and takes a Widget* as an Input.169 \param Function must be of type void and takes a Widget* as an Input. 161 170 */ 162 171 void Widget::walkThrough (void (*function)(Widget*)) … … 197 206 198 207 #ifdef HAVE_GTK2 208 209 /** 210 \brief Signal that does absolutely nothing 211 \param widget The widget that initiated the Signal 212 \param event The event-type. 213 \param nothing nothin. 214 */ 199 215 gint Widget::doNothingSignal (GtkWidget *widget, GdkEvent* event, void* nothing) 200 216 { … … 209 225 /** 210 226 \brief Initializes a Packer. 227 211 228 Sets the down-pinter to NULL and other PackerSpecific-values to their defaults. 212 229 */ … … 246 263 /** 247 264 \brief Initializes a Container. 265 248 266 sets the Container-Specific defaults. 249 267 */ … … 259 277 /** 260 278 \briefFills a Container with lowerWidget. 279 \param lowerWidget the Widget that should be filled into the Container. 280 261 281 It does this by filling up the down pointer only if down points to NULL. 262 \param lowerWidget the Widget that should be filled into the Container.263 282 */ 264 283 void Container::fill (Widget *lowerWidget) … … 281 300 Window* Window::mainWindow = NULL; 282 301 302 /** 303 \brief Adds a new Window Windows to the List of Windows. 304 \param windowToAdd The Windows that should be added to the List 305 \todo this instead of windowToAdd (possibly) 306 */ 283 307 void Window::addWindow(Window* windowToAdd) 284 308 { … … 410 434 \brief opens up a window (not topmost Window). 411 435 this is the Signal that does it. !!SIGNALS ARE STATIC!! 412 \param widget the widget that did it !413 \param event the event that did it !436 \param widget the widget that did it. 437 \param event the event that did it. 414 438 \param window the Window that should be opened 415 439 */ … … 585 609 /** 586 610 \brief Fills a box with a given Widget. 611 \param lowerWidget the next Widget that should be appendet to this Box 612 587 613 It does this by apending the first one to its down-pointer and all its following ones to the preceding next-pointer. The last one will receive a NULL pointer as Next 588 \param lowerWidget the next Widget that should be appendet to this Box589 614 */ 590 615 void Box::fill (Widget *lowerWidget) … … 658 683 /** 659 684 \brief This sets The FlagName of an Option and defines its default Values 660 !! Options will be saved if flagname is different from ""!!685 !! Options will be saved if flagname is different from NULL !! 661 686 \param flagname the Name that will be displayed in the output 662 687 \param defaultvalue the default Value for this Option (see definition of defaultvalue … … 995 1020 } 996 1021 1022 /** 1023 \brief Creates a new OptionLabel with a LabelName and a Value. 1024 \param label The name of the OptionLabel. 1025 \param value The Value of the OptionLabel (what will be displayed). 1026 */ 997 1027 OptionLabel::OptionLabel(char* label, char* value) 998 1028 { … … 1002 1032 } 1003 1033 1034 /** 1035 \brief Initializes an OptionLabel 1036 */ 1004 1037 void OptionLabel::init(void) 1005 1038 { … … 1013 1046 } 1014 1047 1048 /** 1049 \brief Updates the value of an OptionLabel 1050 \param newValue The new Name that should be displayed. 1051 */ 1015 1052 void OptionLabel::setValue(char* newValue) 1016 1053 { … … 1024 1061 } 1025 1062 1063 /** 1064 \brief Sets a ned Title to the OptionLabel. 1065 \param title The now title of the OptionLabel. 1066 */ 1026 1067 void OptionLabel::setTitle(char* title) 1027 1068 { … … 1035 1076 } 1036 1077 1078 /** 1079 \brief Redraws an OptionLabel (not implemented yet, but it works). 1080 */ 1037 1081 void OptionLabel::redraw(void) 1038 1082 {
Note: See TracChangeset
for help on using the changeset viewer.