Changeset 1820 in orxonox.OLD for orxonox/branches/bensch/orxonox_gui_video.c
- Timestamp:
- Apr 14, 2004, 2:16:09 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/bensch/orxonox_gui_video.c
r1819 r1820 1 1 #include "orxonox_gui_video.h" 2 2 3 void video_option_change(GtkWidget *widget, gpointerdata)3 void video_option_change(GtkWidget *widget, int* data) 4 4 { 5 data = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (widget));6 orxonox_flags_update (); 5 *data = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (widget)); 6 orxonox_flags_update (); 7 7 if (verbose >=1) 8 printf ("%s changed to %i.\n", gtk_button_get_label(widget), data);8 printf ("%s changed to %i.\n", gtk_button_get_label(widget), *data); 9 9 } 10 10
Note: See TracChangeset
for help on using the changeset viewer.