Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1820 in orxonox.OLD for orxonox/branches/bensch


Ignore:
Timestamp:
Apr 14, 2004, 2:16:09 AM (21 years ago)
Author:
bensch
Message:

orxonox/branches/bensch: pointer-dilema solved(:)) in video_option_change

Location:
orxonox/branches/bensch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/bensch/orxonox_gui.c

    r1819 r1820  
    6464   
    6565    gtk_widget_show_all  (window);
    66    
     66
    6767    gtk_main ();
    6868   
  • orxonox/branches/bensch/orxonox_gui_exec.c

    r1819 r1820  
    4242          orxonox_flags_update();
    4343          gtk_container_add (GTK_CONTAINER(flags_frame), exec_flags_label);
     44
    4445        }
    4546        gtk_box_pack_start(GTK_BOX (orxonox_gui_exec_vbox), flags_frame, FALSE, FALSE, 5);
  • orxonox/branches/bensch/orxonox_gui_video.c

    r1819 r1820  
    11#include "orxonox_gui_video.h"
    22
    3 void video_option_change(GtkWidget *widget, gpointer data)
     3void video_option_change(GtkWidget *widget, int* data)
    44{
    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 ();
    77  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);
    99}
    1010
  • orxonox/branches/bensch/orxonox_gui_video.h

    r1819 r1820  
    44#include "orxonox_gui.h"
    55
    6 void video_option_change(GtkWidget *widget, gpointer data);
     6void video_option_change(GtkWidget *widget, int * data);
    77GtkWidget *orxonox_gui_video_frame (struct settings *orxonox_settings);
    88
Note: See TracChangeset for help on using the changeset viewer.