Changeset 3146 in orxonox.OLD for orxonox/trunk/gui
- Timestamp:
- Dec 11, 2004, 2:08:43 PM (20 years ago)
- Location:
- orxonox/trunk/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_flags.cc
r2605 r3146 77 77 if (static_cast<Option*>(widget)->value != static_cast<Option*>(widget)->default_value && (strcmp (static_cast<Option*>(widget)->flag_name, "") || strcmp (static_cast<Option*>(widget)->flag_name_short, ""))) 78 78 { 79 if ( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(shortFlags->widget)))79 if (shortFlags->isActive()) 80 80 { 81 81 strcat (flagText, " -"); -
orxonox/trunk/gui/orxonox_gui_gtk.cc
r3144 r3146 203 203 } 204 204 else 205 cout << "!!error!! You try to put more than one Widget into a container. \nNot including this item.\nThis is only possible with Boxes"<<endl;205 cout << "!!error!! You try to put more than one Widget into a Container. \nNot including this item.\nThis is only possible with Boxes.\n"<<endl; 206 206 } 207 207 … … 592 592 } 593 593 594 bool CheckButton::isActive() 595 { 596 return gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget)); 597 } 594 598 595 599 /** -
orxonox/trunk/gui/orxonox_gui_gtk.h
r3144 r3146 205 205 void setTitle(char* title); 206 206 207 bool isActive(); 207 208 void redraw (); 208 209 };
Note: See TracChangeset
for help on using the changeset viewer.