Changeset 1817 in orxonox.OLD for orxonox/branches/bensch/orxonox_gui.c
- Timestamp:
- Apr 14, 2004, 12:25:51 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/bensch/orxonox_gui.c
r1816 r1817 3 3 #include "orxonox_gui_audio.h" 4 4 #include "orxonox_gui_exec.h" 5 int verbose; 6 int close_window = 0; 7 int app_drawed = 0; 5 int verbose = 1; 8 6 9 7 … … 16 14 int main( int argc, char *argv[] ) 17 15 { 18 19 16 GtkWidget *window; 20 17 GtkWidget *vbox_main; 21 18 GtkWidget *hbox_video_audio; 22 19 GtkWidget *hbox_view_exec; 20 struct settings *orxonox_settings; 21 int option_count = 7; /* important: look that this is greater than options in 'struct settings' */ 22 23 /* Initialize all settings */ 24 25 orxonox_settings = malloc (option_count*sizeof (int)); 26 27 orxonox_gui_file_default (orxonox_settings); 28 23 29 24 30 gtk_init (&argc, &argv); … … 36 42 37 43 { 38 gtk_box_pack_start(GTK_BOX(hbox_video_audio), orxonox_gui_video_frame( ), TRUE, TRUE, 0);44 gtk_box_pack_start(GTK_BOX(hbox_video_audio), orxonox_gui_video_frame(orxonox_settings), TRUE, TRUE, 0); 39 45 40 46 gtk_box_pack_start(GTK_BOX(hbox_video_audio), orxonox_gui_audio_frame(), TRUE, TRUE, 0); … … 60 66 gtk_widget_show_all (window); 61 67 62 app_drawed =1;63 68 gtk_main (); 64 69
Note: See TracChangeset
for help on using the changeset viewer.