Changeset 1817 in orxonox.OLD for orxonox/branches/bensch/orxonox_gui_video.c
- Timestamp:
- Apr 14, 2004, 12:25:51 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/bensch/orxonox_gui_video.c
r1816 r1817 1 #include "orxonox_gui .h"1 #include "orxonox_gui_video.h" 2 2 3 GtkWidget *orxonox_gui_video_frame (void) 3 4 5 6 7 /* Drawing The VIDEO_FRAME */ 8 GtkWidget *orxonox_gui_video_frame (struct settings *orxonox_settings) 4 9 { 5 10 GtkWidget *frame; 6 GtkWidget *button; 7 11 GtkWidget *fullscreen_button; 12 GtkWidget *wireframe_button; 13 8 14 frame = gtk_frame_new ( "Video-Options:"); 9 15 { … … 11 17 orxonox_gui_video_vbox = gtk_vbox_new (FALSE, 0); 12 18 { 13 button = gtk_check_button_new_with_label ("Fullscreen-mode"); 19 fullscreen_button = gtk_check_button_new_with_label ("Fullscreen-mode"); 20 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (fullscreen_button), orxonox_settings->video_fullscreen); 21 14 22 /* gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), orxonox_gui_video_fullscreen); 15 23 */ 16 gtk_box_pack_start(GTK_BOX (orxonox_gui_video_vbox), button, TRUE, TRUE, 0);24 gtk_box_pack_start(GTK_BOX (orxonox_gui_video_vbox), fullscreen_button, TRUE, TRUE, 0); 17 25 18 button = gtk_check_button_new_with_label ("Wireframe-mode"); 26 wireframe_button = gtk_check_button_new_with_label ("Wireframe-mode"); 27 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (wireframe_button), orxonox_settings->video_wireframe); 19 28 /* gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), orxonox_gui_video_Wireframe); 20 29 */ 21 gtk_box_pack_start(GTK_BOX (orxonox_gui_video_vbox), button, TRUE, TRUE, 0);30 gtk_box_pack_start(GTK_BOX (orxonox_gui_video_vbox), wireframe_button, TRUE, TRUE, 0); 22 31 23 32 }
Note: See TracChangeset
for help on using the changeset viewer.