Changeset 1817 in orxonox.OLD for orxonox/branches
- Timestamp:
- Apr 14, 2004, 12:25:51 AM (21 years ago)
- Location:
- orxonox/branches/bensch
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/bensch/Makefile
r1816 r1817 60 60 PROGRAMS = $(bin_PROGRAMS) 61 61 am_orxonox_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \ 62 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) 62 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \ 63 orxonox_gui_file.$(OBJEXT) 63 64 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 64 65 orxonox_LDADD = $(LDADD) … … 69 70 ./$(DEPDIR)/orxonox_gui_audio.Po \ 70 71 ./$(DEPDIR)/orxonox_gui_exec.Po \ 72 ./$(DEPDIR)/orxonox_gui_file.Po \ 71 73 ./$(DEPDIR)/orxonox_gui_video.Po 72 74 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ … … 185 187 AM_CFLAGS = `pkg-config --cflags gtk+-2.0` 186 188 AM_LDFLAGS = `pkg-config --libs gtk+-2.0` 187 orxonox_SOURCES = orxonox_gui.c orxonox_gui_video.c orxonox_gui_audio.c orxonox_gui_exec.c \189 orxonox_SOURCES = orxonox_gui.c orxonox_gui_video.c orxonox_gui_audio.c orxonox_gui_exec.c orxonox_gui_file.c\ 188 190 aclocal.m4 189 191 … … 298 300 include ./$(DEPDIR)/orxonox_gui_audio.Po 299 301 include ./$(DEPDIR)/orxonox_gui_exec.Po 302 include ./$(DEPDIR)/orxonox_gui_file.Po 300 303 include ./$(DEPDIR)/orxonox_gui_video.Po 301 304 -
orxonox/branches/bensch/Makefile.am
r1814 r1817 3 3 4 4 bin_PROGRAMS=orxonox 5 orxonox_SOURCES=orxonox_gui.c orxonox_gui_video.c orxonox_gui_audio.c orxonox_gui_exec.c \5 orxonox_SOURCES=orxonox_gui.c orxonox_gui_video.c orxonox_gui_audio.c orxonox_gui_exec.c orxonox_gui_file.c\ 6 6 aclocal.m4 7 7 -
orxonox/branches/bensch/Makefile.in
r1814 r1817 60 60 PROGRAMS = $(bin_PROGRAMS) 61 61 am_orxonox_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \ 62 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) 62 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \ 63 orxonox_gui_file.$(OBJEXT) 63 64 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 64 65 orxonox_LDADD = $(LDADD) … … 69 70 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_audio.Po \ 70 71 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_exec.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_file.Po \ 71 73 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_video.Po 72 74 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ … … 185 187 AM_CFLAGS = `pkg-config --cflags gtk+-2.0` 186 188 AM_LDFLAGS = `pkg-config --libs gtk+-2.0` 187 orxonox_SOURCES = orxonox_gui.c orxonox_gui_video.c orxonox_gui_audio.c orxonox_gui_exec.c \189 orxonox_SOURCES = orxonox_gui.c orxonox_gui_video.c orxonox_gui_audio.c orxonox_gui_exec.c orxonox_gui_file.c\ 188 190 aclocal.m4 189 191 … … 298 300 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_audio.Po@am__quote@ 299 301 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_exec.Po@am__quote@ 302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_file.Po@am__quote@ 300 303 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_video.Po@am__quote@ 301 304 -
orxonox/branches/bensch/config.log
r1816 r1817 1069 1069 config.status:800: creating config.h 1070 1070 config.status:944: config.h is unchanged 1071 1072 ## ---------------------- ## 1073 ## Running config.status. ## 1074 ## ---------------------- ## 1075 1076 This file was extended by config.status, which was 1077 generated by GNU Autoconf 2.58. Invocation command line was 1078 1079 CONFIG_FILES = 1080 CONFIG_HEADERS = 1081 CONFIG_LINKS = 1082 CONFIG_COMMANDS = 1083 $ ./config.status Makefile depfiles 1084 1085 on iasius 1086 1087 config.status:696: creating Makefile 1088 config.status:1121: executing depfiles commands 1089 1090 ## ---------------------- ## 1091 ## Running config.status. ## 1092 ## ---------------------- ## 1093 1094 This file was extended by config.status, which was 1095 generated by GNU Autoconf 2.58. Invocation command line was 1096 1097 CONFIG_FILES = 1098 CONFIG_HEADERS = 1099 CONFIG_LINKS = 1100 CONFIG_COMMANDS = 1101 $ ./config.status Makefile depfiles 1102 1103 on iasius 1104 1105 config.status:696: creating Makefile 1106 config.status:1121: executing depfiles commands -
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 -
orxonox/branches/bensch/orxonox_gui.h
r1809 r1817 8 8 #include <gtk/gtk.h> 9 9 10 struct settings 11 { 12 int video_fullscreen; 13 int video_wireframe; 14 15 int audio_enable_sound; 16 int audio_music_volume; 17 int audio_effects_volume; 18 19 int exec_save_settings; 20 int exec_show_menu; 21 }; 22 extern verbose; 23 10 24 #endif /* _ORXONOX_GUI_H */ -
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 } -
orxonox/branches/bensch/orxonox_gui_video.h
r1816 r1817 2 2 #define _ORXONOX_GUI_VIDEO_H 3 3 4 GtkWidget *orxonox_gui_video_frame (void); 4 #include "orxonox_gui.h" 5 6 GtkWidget *orxonox_gui_video_frame (struct settings *orxonox_settings); 5 7 6 8 #endif /* _ORXONOX_GUI_VIDEO_H */
Note: See TracChangeset
for help on using the changeset viewer.