Changeset 1983 in orxonox.OLD for orxonox/branches/gui/guicc/orxonox_gui.cc
- Timestamp:
- Jun 18, 2004, 7:15:46 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/guicc/orxonox_gui.cc
r1979 r1983 104 104 cout << static_cast<Option*>(this)->option_name <<" is : " << static_cast<Option*>(this)->value <<endl; 105 105 106 if (this->next != NULL)107 this->next->listOptions ();108 109 106 switch (this->is_option) 110 107 { … … 116 113 break; 117 114 } 115 116 if (this->next != NULL) 117 this->next->listOptions (); 118 119 118 120 } 119 121 … … 294 296 /* OPTION */ 295 297 298 void Option::setFlagName (char *flagname) 299 { 300 /** 301 * \brief Sets the Flagname of an Option. If it is set different then "" this Option will be saved to the Configurationfile 302 */ 303 flag_name = flagname; 304 cout << "Set Flagname of " << option_name << " to " << flagname << endl; 305 } 306 307 296 308 /* BUTTON */ 297 309 Button::Button(char* buttonname) … … 304 316 next = NULL; 305 317 option_name = buttonname; 318 flag_name = ""; 306 319 widget = gtk_button_new_with_label (buttonname); 307 320 } … … 317 330 next = NULL; 318 331 option_name = buttonname; 332 flag_name = ""; 319 333 widget = gtk_check_button_new_with_label (buttonname); 320 334 … … 340 354 next = NULL; 341 355 option_name = slidername; 356 flag_name = ""; 342 357 widget = gtk_hscale_new_with_range (start, end, 5); 343 358 value = start; … … 365 380 next = NULL; 366 381 option_name = menuname; 382 flag_name = ""; 367 383 char *tmp; 368 384 va_list itemlist;
Note: See TracChangeset
for help on using the changeset viewer.