Changeset 4139 in orxonox.OLD for orxonox/branches/md2_loader/src/lib/gui
- Timestamp:
- May 10, 2005, 10:39:01 AM (20 years ago)
- Location:
- orxonox/branches/md2_loader/src/lib/gui
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/gui/Makefile.in
r4063 r4139 113 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 114 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 PKG_CONFIG = @PKG_CONFIG@ 115 116 RANLIB = @RANLIB@ 116 117 SET_MAKE = @SET_MAKE@ -
orxonox/branches/md2_loader/src/lib/gui/console/Makefile.in
r4063 r4139 132 132 PACKAGE_VERSION = @PACKAGE_VERSION@ 133 133 PATH_SEPARATOR = @PATH_SEPARATOR@ 134 PKG_CONFIG = @PKG_CONFIG@ 134 135 RANLIB = @RANLIB@ 135 136 SET_MAKE = @SET_MAKE@ -
orxonox/branches/md2_loader/src/lib/gui/gui/Makefile.am
r4063 r4139 7 7 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/coord 8 8 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/data 9 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gaphics 10 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/font 9 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics 11 10 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/importer 12 11 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui 13 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gui14 12 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang 15 13 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util … … 20 18 AM_CXXFLAGS+=-I$(MAINSRCDIR)/glmenu 21 19 AM_CXXFLAGS+=-I$(MAINSRCDIR)/ai 20 AM_CXXFLAGS+=-I$(MAINSRCDIR)/util 21 AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/animation 22 AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/common 22 23 23 24 #AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) … … 35 36 gui_banner.cc \ 36 37 gui_keys.cc \ 37 gui_update.cc 38 gui_update.cc \ 39 $(MAINSRCDIR)/lib/graphics/graphics_engine.cc \ 40 $(MAINSRCDIR)/lib/lang/base_object.cc \ 41 $(MAINSRCDIR)/lib/math/vector.cc \ 42 $(MAINSRCDIR)/util/resource_manager.cc \ 43 $(MAINSRCDIR)/lib/graphics/text_engine.cc \ 44 $(MAINSRCDIR)/lib/coord/p_node.cc \ 45 $(MAINSRCDIR)/lib/coord/null_parent.cc \ 46 $(MAINSRCDIR)/lib/graphics/importer/array.cc \ 47 $(MAINSRCDIR)/lib/graphics/importer/model.cc \ 48 $(MAINSRCDIR)/lib/graphics/importer/objModel.cc \ 49 $(MAINSRCDIR)/lib/graphics/importer/material.cc \ 50 $(MAINSRCDIR)/lib/graphics/importer/texture.cc \ 51 $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 38 52 39 53 noinst_HEADERS=gui.h \ -
orxonox/branches/md2_loader/src/lib/gui/gui/Makefile.in
r4063 r4139 56 56 gui_element.$(OBJEXT) gui_video.$(OBJEXT) gui_audio.$(OBJEXT) \ 57 57 gui_exec.$(OBJEXT) gui_flags.$(OBJEXT) gui_banner.$(OBJEXT) \ 58 gui_keys.$(OBJEXT) gui_update.$(OBJEXT) 58 gui_keys.$(OBJEXT) gui_update.$(OBJEXT) \ 59 graphics_engine.$(OBJEXT) base_object.$(OBJEXT) \ 60 vector.$(OBJEXT) resource_manager.$(OBJEXT) \ 61 text_engine.$(OBJEXT) p_node.$(OBJEXT) null_parent.$(OBJEXT) \ 62 array.$(OBJEXT) model.$(OBJEXT) objModel.$(OBJEXT) \ 63 material.$(OBJEXT) texture.$(OBJEXT) primitive_model.$(OBJEXT) 59 64 gui_OBJECTS = $(am_gui_OBJECTS) 60 65 gui_LDADD = $(LDADD) … … 62 67 depcomp = $(SHELL) $(top_srcdir)/depcomp 63 68 am__depfiles_maybe = depfiles 64 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/gui.Po ./$(DEPDIR)/gui_audio.Po \ 65 @AMDEP_TRUE@ ./$(DEPDIR)/gui_banner.Po \ 69 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \ 70 @AMDEP_TRUE@ ./$(DEPDIR)/base_object.Po \ 71 @AMDEP_TRUE@ ./$(DEPDIR)/graphics_engine.Po ./$(DEPDIR)/gui.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/gui_audio.Po ./$(DEPDIR)/gui_banner.Po \ 66 73 @AMDEP_TRUE@ ./$(DEPDIR)/gui_element.Po ./$(DEPDIR)/gui_exec.Po \ 67 74 @AMDEP_TRUE@ ./$(DEPDIR)/gui_flags.Po ./$(DEPDIR)/gui_gtk.Po \ 68 75 @AMDEP_TRUE@ ./$(DEPDIR)/gui_keys.Po ./$(DEPDIR)/gui_main.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/gui_update.Po ./$(DEPDIR)/gui_video.Po 76 @AMDEP_TRUE@ ./$(DEPDIR)/gui_update.Po ./$(DEPDIR)/gui_video.Po \ 77 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/model.Po \ 78 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \ 79 @AMDEP_TRUE@ ./$(DEPDIR)/p_node.Po \ 80 @AMDEP_TRUE@ ./$(DEPDIR)/primitive_model.Po \ 81 @AMDEP_TRUE@ ./$(DEPDIR)/resource_manager.Po \ 82 @AMDEP_TRUE@ ./$(DEPDIR)/text_engine.Po ./$(DEPDIR)/texture.Po \ 83 @AMDEP_TRUE@ ./$(DEPDIR)/vector.Po 70 84 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 71 85 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 136 150 PACKAGE_VERSION = @PACKAGE_VERSION@ 137 151 PATH_SEPARATOR = @PATH_SEPARATOR@ 152 PKG_CONFIG = @PKG_CONFIG@ 138 153 RANLIB = @RANLIB@ 139 154 SET_MAKE = @SET_MAKE@ … … 187 202 target_vendor = @target_vendor@ 188 203 MAINSRCDIR = ../../.. 189 AM_CXXFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/g aphics -I$(MAINSRCDIR)/lib/graphics/font -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/gui -I$(MAINSRCDIR)/lib/gui/gui -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/defs -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai204 AM_CXXFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/graphics -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/gui -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/defs -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai -I$(MAINSRCDIR)/util -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common 190 205 191 206 #AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) … … 201 216 gui_banner.cc \ 202 217 gui_keys.cc \ 203 gui_update.cc 218 gui_update.cc \ 219 $(MAINSRCDIR)/lib/graphics/graphics_engine.cc \ 220 $(MAINSRCDIR)/lib/lang/base_object.cc \ 221 $(MAINSRCDIR)/lib/math/vector.cc \ 222 $(MAINSRCDIR)/util/resource_manager.cc \ 223 $(MAINSRCDIR)/lib/graphics/text_engine.cc \ 224 $(MAINSRCDIR)/lib/coord/p_node.cc \ 225 $(MAINSRCDIR)/lib/coord/null_parent.cc \ 226 $(MAINSRCDIR)/lib/graphics/importer/array.cc \ 227 $(MAINSRCDIR)/lib/graphics/importer/model.cc \ 228 $(MAINSRCDIR)/lib/graphics/importer/objModel.cc \ 229 $(MAINSRCDIR)/lib/graphics/importer/material.cc \ 230 $(MAINSRCDIR)/lib/graphics/importer/texture.cc \ 231 $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 204 232 205 233 noinst_HEADERS = gui.h \ … … 290 318 -rm -f *.tab.c 291 319 320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_object.Po@am__quote@ 322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/graphics_engine.Po@am__quote@ 292 323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ 293 324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_audio.Po@am__quote@ … … 301 332 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_update.Po@am__quote@ 302 333 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_video.Po@am__quote@ 334 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/material.Po@am__quote@ 335 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/model.Po@am__quote@ 336 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/null_parent.Po@am__quote@ 337 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/objModel.Po@am__quote@ 338 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@ 339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive_model.Po@am__quote@ 340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resource_manager.Po@am__quote@ 341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text_engine.Po@am__quote@ 342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/texture.Po@am__quote@ 343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector.Po@am__quote@ 303 344 304 345 .cc.o: … … 317 358 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 318 359 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 360 361 graphics_engine.o: $(MAINSRCDIR)/lib/graphics/graphics_engine.cc 362 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT graphics_engine.o -MD -MP -MF "$(DEPDIR)/graphics_engine.Tpo" -c -o graphics_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/graphics_engine.cc; \ 363 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 364 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' object='graphics_engine.o' libtool=no @AMDEPBACKSLASH@ 365 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 366 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 367 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/graphics_engine.cc 368 369 graphics_engine.obj: $(MAINSRCDIR)/lib/graphics/graphics_engine.cc 370 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT graphics_engine.obj -MD -MP -MF "$(DEPDIR)/graphics_engine.Tpo" -c -o graphics_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; fi`; \ 371 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 372 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' object='graphics_engine.obj' libtool=no @AMDEPBACKSLASH@ 373 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 374 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 375 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; fi` 376 377 base_object.o: $(MAINSRCDIR)/lib/lang/base_object.cc 378 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_object.o -MD -MP -MF "$(DEPDIR)/base_object.Tpo" -c -o base_object.o `test -f '$(MAINSRCDIR)/lib/lang/base_object.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/lang/base_object.cc; \ 379 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 380 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/lang/base_object.cc' object='base_object.o' libtool=no @AMDEPBACKSLASH@ 381 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 382 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 383 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.o `test -f '$(MAINSRCDIR)/lib/lang/base_object.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/lang/base_object.cc 384 385 base_object.obj: $(MAINSRCDIR)/lib/lang/base_object.cc 386 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_object.obj -MD -MP -MF "$(DEPDIR)/base_object.Tpo" -c -o base_object.obj `if test -f '$(MAINSRCDIR)/lib/lang/base_object.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/lang/base_object.cc'; fi`; \ 387 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 388 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/lang/base_object.cc' object='base_object.obj' libtool=no @AMDEPBACKSLASH@ 389 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 390 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 391 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.obj `if test -f '$(MAINSRCDIR)/lib/lang/base_object.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/lang/base_object.cc'; fi` 392 393 vector.o: $(MAINSRCDIR)/lib/math/vector.cc 394 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vector.o -MD -MP -MF "$(DEPDIR)/vector.Tpo" -c -o vector.o `test -f '$(MAINSRCDIR)/lib/math/vector.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/math/vector.cc; \ 395 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 396 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/math/vector.cc' object='vector.o' libtool=no @AMDEPBACKSLASH@ 397 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 398 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 399 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.o `test -f '$(MAINSRCDIR)/lib/math/vector.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/math/vector.cc 400 401 vector.obj: $(MAINSRCDIR)/lib/math/vector.cc 402 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vector.obj -MD -MP -MF "$(DEPDIR)/vector.Tpo" -c -o vector.obj `if test -f '$(MAINSRCDIR)/lib/math/vector.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/math/vector.cc'; fi`; \ 403 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 404 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/math/vector.cc' object='vector.obj' libtool=no @AMDEPBACKSLASH@ 405 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 406 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 407 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.obj `if test -f '$(MAINSRCDIR)/lib/math/vector.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/math/vector.cc'; fi` 408 409 resource_manager.o: $(MAINSRCDIR)/util/resource_manager.cc 410 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT resource_manager.o -MD -MP -MF "$(DEPDIR)/resource_manager.Tpo" -c -o resource_manager.o `test -f '$(MAINSRCDIR)/util/resource_manager.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/resource_manager.cc; \ 411 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 412 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/util/resource_manager.cc' object='resource_manager.o' libtool=no @AMDEPBACKSLASH@ 413 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 414 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 415 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.o `test -f '$(MAINSRCDIR)/util/resource_manager.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/resource_manager.cc 416 417 resource_manager.obj: $(MAINSRCDIR)/util/resource_manager.cc 418 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT resource_manager.obj -MD -MP -MF "$(DEPDIR)/resource_manager.Tpo" -c -o resource_manager.obj `if test -f '$(MAINSRCDIR)/util/resource_manager.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/resource_manager.cc'; fi`; \ 419 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 420 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/util/resource_manager.cc' object='resource_manager.obj' libtool=no @AMDEPBACKSLASH@ 421 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 422 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 423 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.obj `if test -f '$(MAINSRCDIR)/util/resource_manager.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/resource_manager.cc'; fi` 424 425 text_engine.o: $(MAINSRCDIR)/lib/graphics/text_engine.cc 426 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT text_engine.o -MD -MP -MF "$(DEPDIR)/text_engine.Tpo" -c -o text_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/text_engine.cc; \ 427 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 428 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/text_engine.cc' object='text_engine.o' libtool=no @AMDEPBACKSLASH@ 429 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 430 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 431 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/text_engine.cc 432 433 text_engine.obj: $(MAINSRCDIR)/lib/graphics/text_engine.cc 434 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT text_engine.obj -MD -MP -MF "$(DEPDIR)/text_engine.Tpo" -c -o text_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/text_engine.cc'; fi`; \ 435 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 436 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/text_engine.cc' object='text_engine.obj' libtool=no @AMDEPBACKSLASH@ 437 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 438 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 439 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/text_engine.cc'; fi` 440 441 p_node.o: $(MAINSRCDIR)/lib/coord/p_node.cc 442 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT p_node.o -MD -MP -MF "$(DEPDIR)/p_node.Tpo" -c -o p_node.o `test -f '$(MAINSRCDIR)/lib/coord/p_node.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/p_node.cc; \ 443 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 444 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/p_node.cc' object='p_node.o' libtool=no @AMDEPBACKSLASH@ 445 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 446 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 447 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.o `test -f '$(MAINSRCDIR)/lib/coord/p_node.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/p_node.cc 448 449 p_node.obj: $(MAINSRCDIR)/lib/coord/p_node.cc 450 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT p_node.obj -MD -MP -MF "$(DEPDIR)/p_node.Tpo" -c -o p_node.obj `if test -f '$(MAINSRCDIR)/lib/coord/p_node.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/p_node.cc'; fi`; \ 451 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 452 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/p_node.cc' object='p_node.obj' libtool=no @AMDEPBACKSLASH@ 453 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 454 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 455 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.obj `if test -f '$(MAINSRCDIR)/lib/coord/p_node.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/p_node.cc'; fi` 456 457 null_parent.o: $(MAINSRCDIR)/lib/coord/null_parent.cc 458 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT null_parent.o -MD -MP -MF "$(DEPDIR)/null_parent.Tpo" -c -o null_parent.o `test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/null_parent.cc; \ 459 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 460 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/null_parent.cc' object='null_parent.o' libtool=no @AMDEPBACKSLASH@ 461 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 462 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 463 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.o `test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/null_parent.cc 464 465 null_parent.obj: $(MAINSRCDIR)/lib/coord/null_parent.cc 466 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT null_parent.obj -MD -MP -MF "$(DEPDIR)/null_parent.Tpo" -c -o null_parent.obj `if test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/null_parent.cc'; fi`; \ 467 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 468 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/null_parent.cc' object='null_parent.obj' libtool=no @AMDEPBACKSLASH@ 469 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 470 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 471 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.obj `if test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/null_parent.cc'; fi` 472 473 array.o: $(MAINSRCDIR)/lib/graphics/importer/array.cc 474 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.o -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/array.cc; \ 475 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi 476 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/array.cc' object='array.o' libtool=no @AMDEPBACKSLASH@ 477 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@ 478 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 479 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/array.cc 480 481 array.obj: $(MAINSRCDIR)/lib/graphics/importer/array.cc 482 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.obj -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/array.cc'; fi`; \ 483 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi 484 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/array.cc' object='array.obj' libtool=no @AMDEPBACKSLASH@ 485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@ 486 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 487 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/array.cc'; fi` 488 489 model.o: $(MAINSRCDIR)/lib/graphics/importer/model.cc 490 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.o -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/model.cc; \ 491 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi 492 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/model.cc' object='model.o' libtool=no @AMDEPBACKSLASH@ 493 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@ 494 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 495 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/model.cc 496 497 model.obj: $(MAINSRCDIR)/lib/graphics/importer/model.cc 498 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.obj -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/model.cc'; fi`; \ 499 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi 500 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/model.cc' object='model.obj' libtool=no @AMDEPBACKSLASH@ 501 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@ 502 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 503 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/model.cc'; fi` 504 505 objModel.o: $(MAINSRCDIR)/lib/graphics/importer/objModel.cc 506 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.o -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/objModel.cc; \ 507 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi 508 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' object='objModel.o' libtool=no @AMDEPBACKSLASH@ 509 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@ 510 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 511 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/objModel.cc 512 513 objModel.obj: $(MAINSRCDIR)/lib/graphics/importer/objModel.cc 514 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.obj -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; fi`; \ 515 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi 516 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' object='objModel.obj' libtool=no @AMDEPBACKSLASH@ 517 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@ 518 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 519 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; fi` 520 521 material.o: $(MAINSRCDIR)/lib/graphics/importer/material.cc 522 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.o -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/material.cc; \ 523 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi 524 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/material.cc' object='material.o' libtool=no @AMDEPBACKSLASH@ 525 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@ 526 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 527 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/material.cc 528 529 material.obj: $(MAINSRCDIR)/lib/graphics/importer/material.cc 530 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.obj -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/material.cc'; fi`; \ 531 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi 532 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/material.cc' object='material.obj' libtool=no @AMDEPBACKSLASH@ 533 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@ 534 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 535 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/material.cc'; fi` 536 537 texture.o: $(MAINSRCDIR)/lib/graphics/importer/texture.cc 538 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.o -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/texture.cc; \ 539 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi 540 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/texture.cc' object='texture.o' libtool=no @AMDEPBACKSLASH@ 541 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@ 542 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 543 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/texture.cc 544 545 texture.obj: $(MAINSRCDIR)/lib/graphics/importer/texture.cc 546 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.obj -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; fi`; \ 547 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi 548 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/texture.cc' object='texture.obj' libtool=no @AMDEPBACKSLASH@ 549 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@ 550 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 551 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; fi` 552 553 primitive_model.o: $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 554 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primitive_model.o -MD -MP -MF "$(DEPDIR)/primitive_model.Tpo" -c -o primitive_model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc; \ 555 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive_model.Tpo" "$(DEPDIR)/primitive_model.Po"; else rm -f "$(DEPDIR)/primitive_model.Tpo"; exit 1; fi 556 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' object='primitive_model.o' libtool=no @AMDEPBACKSLASH@ 557 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive_model.Po' tmpdepfile='$(DEPDIR)/primitive_model.TPo' @AMDEPBACKSLASH@ 558 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 559 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive_model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 560 561 primitive_model.obj: $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 562 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primitive_model.obj -MD -MP -MF "$(DEPDIR)/primitive_model.Tpo" -c -o primitive_model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; fi`; \ 563 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive_model.Tpo" "$(DEPDIR)/primitive_model.Po"; else rm -f "$(DEPDIR)/primitive_model.Tpo"; exit 1; fi 564 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' object='primitive_model.obj' libtool=no @AMDEPBACKSLASH@ 565 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive_model.Po' tmpdepfile='$(DEPDIR)/primitive_model.TPo' @AMDEPBACKSLASH@ 566 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 567 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive_model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; fi` 319 568 uninstall-info-am: 320 569 -
orxonox/branches/md2_loader/src/lib/gui/gui/gui.cc
r4063 r4139 53 53 { 54 54 Window* orxonoxGUI = NULL; 55 55 executable = NULL; 56 56 57 initGUI(argc, argv); 57 58 … … 94 95 orxonoxGUI->fill(windowBox); 95 96 } 97 98 96 99 // Reading Values from File 97 100 exec->setConfDir(GUI_DEFAULT_CONF_DIR); … … 111 114 // case update // 112 115 #ifdef HAVE_CURL 113 if (static_cast<Option*>(Window::mainWindow->findWidgetByName( "auto update", 0))->value == 1)116 if (static_cast<Option*>(Window::mainWindow->findWidgetByName(CONFIG_NAME_AUTO_UPDATE, 0))->value == 1) 114 117 { 115 118 update->checkForUpdates(); 116 119 } 117 120 #endif /* HAVE_CURL */ 121 } 118 122 123 /** 124 \brief starts the OrxonoxGUI 125 */ 126 void Gui::startGui(void) 127 { 119 128 mainloopGUI(); 129 120 130 #ifndef HAVE_GTK2 121 131 GuiExec::startOrxonox(NULL, exec); … … 123 133 } 124 134 135 void Gui::printHelp() 136 { 137 Window::mainWindow->walkThrough(Widget::printHelp, 1); 138 } 139 140 /** 141 \brief a bool that knows if orxonox should be started 142 */ 125 143 bool Gui::startOrxonox = false; 126 144 -
orxonox/branches/md2_loader/src/lib/gui/gui/gui.h
r4063 r4139 26 26 ~Gui(void); 27 27 28 void startGui(void); 29 void printHelp(void); 30 28 31 static bool startOrxonox; 29 32 }; -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_audio.cc
r4063 r4139 36 36 37 37 audioFrame = new Frame("Audio-Options:"); 38 audioFrame->setGroupName( "audio");38 audioFrame->setGroupName(CONFIG_SECTION_AUDIO); 39 39 { 40 40 Box* audioBox; //!< The Box that holds the audio Options. … … 45 45 Slider* effectsVolume; //!< A Slider for effects volume. 46 46 47 enableSound = new CheckButton( "Disable Sound");47 enableSound = new CheckButton(CONFIG_NAME_DISABLE_AUDIO); 48 48 enableSound->setFlagName ("no-sound", 0); 49 enableSound->setDescription("Disables Sound", "Check this to disable Sound in Orxonox"); 50 enableSound->setDefaultValue(0); 49 51 enableSound->saveability(); 50 52 audioBox->fill(enableSound); 51 Label* musicVolumeLabel = new Label( "Music Volume");53 Label* musicVolumeLabel = new Label(CONFIG_NAME_MUSIC_VOLUME); 52 54 audioBox->fill(musicVolumeLabel); 53 55 musicVolume = new Slider("Music Volume", 0, 100); 54 56 musicVolume->setFlagName("music-volume", "m", 80); 57 musicVolume->setDescription("Sets the volume of the ingame music"); 55 58 musicVolume->saveability(); 56 59 audioBox->fill (musicVolume); 57 Label* effectsVolumeLabel = new Label ( "Effects Volume");60 Label* effectsVolumeLabel = new Label (CONFIG_NAME_EFFECTS_VOLUME); 58 61 audioBox->fill (effectsVolumeLabel); 59 62 effectsVolume = new Slider ("Effects Volume", 0, 100); 60 63 effectsVolume->setFlagName ("effects-volume", "e", 80); 64 effectsVolume->setDescription("Sets the volune of the ingame SoundEffects"); 61 65 effectsVolume->saveability(); 62 66 audioBox->fill (effectsVolume); -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_banner.cc
r4063 r4139 76 76 77 77 //! \todo add the names of all the guys working on orxonox 78 orxIsLabel = new Label( PACKAGE_NAME " is:\nPatrick Boenzli - main Developer\nBenjamin Grauer - right Hand\n....");78 orxIsLabel = new Label(" " PACKAGE_NAME " is:\n" ORXONOX_STAFF); 79 79 logoBox->fill(orxIsLabel); 80 80 logoEventBox->fill(logoBox); -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_exec.cc
r4063 r4139 53 53 54 54 execBox = new Box('v'); 55 execFrame->setGroupName( "misc");55 execFrame->setGroupName(CONFIG_SECTION_MISC); 56 56 { 57 57 Button* start; //!< The start Button of orxonox. … … 65 65 #endif /* HAVE_GTK2 */ 66 66 execBox->fill(start); 67 this->saveSettings = new CheckButton( "Save Settings");67 this->saveSettings = new CheckButton(CONFIG_NAME_SAVE_SETTINGS); 68 68 this->saveSettings->value = 1; 69 69 this->saveSettings->saveability(); 70 70 execBox->fill(this->saveSettings); 71 verboseMode = new Menu("verbose mode", "nothing", "error", "warning", "info", "lastItem"); 71 72 #ifdef DEBUG 73 verboseMode = new Menu(CONFIG_NAME_VERBOSE_MODE, "nothing", 74 #if DEBUG >=1 75 "error", 76 #endif 77 #if DEBUG >=2 78 "warning", 79 #endif 80 #if DEBUG >=3 81 "info", 82 #endif 83 #if DEBUG >=4 84 "debug", 85 #endif 86 #if DEBUG >=5 87 "heavydebug", 88 #endif 89 "lastItem"); 72 90 verboseMode->setFlagName("verbose", "v", 2); 91 verboseMode->setDescription("Sets the Output Mode", "This Enables Outbug messages\n" 92 "0: nothing will be displayed, but stuff one cannot do without (eg.GUI)\n" 93 #if DEBUG >=1 94 "1: error: outputs all the above and errors" 95 #endif 96 #if DEBUG >=2 97 "2: warning: outputs all the above plus warnings" 98 #endif 99 #if DEBUG >=3 100 "3: info: outputs all the above plus Information" 101 #endif 102 #if DEBUG >=4 103 "4: debug: displays all the above plus debug information" 104 #endif 105 #if DEBUG >=5 106 "5: heavydebug: displays all the above plus heavy debug information: WARNING: the game will run very slow with this." 107 #endif 108 ); 73 109 verboseMode->saveability(); 74 110 execBox->fill(verboseMode); 75 alwaysShow = new CheckButton("Always Show this Menu"); 111 #endif 112 113 alwaysShow = new CheckButton(CONFIG_NAME_ALWAYS_SHOW_GUI); 76 114 alwaysShow->setFlagName("gui", "g", 0); 115 alwaysShow->setDescription("shows the gui when starting orxonox"); 77 116 alwaysShow->saveability(); 78 117 execBox->fill(alwaysShow); 118 79 119 quit = new Button("Quit"); 80 120 #ifdef HAVE_GTK2 … … 111 151 this->confDir = ResourceManager::homeDirCheck(confDir); 112 152 113 PRINTF( 3)("Config Directory is: %s.\n", this->confDir);153 PRINTF(5)("Config Directory is: %s.\n", this->confDir); 114 154 //! \todo F** Windows-support 115 155 #ifndef __WIN32__ … … 132 172 this->confFile = new char[strlen(this->confDir)+strlen(fileName)+2]; 133 173 sprintf(this->confFile, "%s/%s", this->confDir, fileName); 134 PRINTF( 3)("ConfigurationFile is %s.\n", this->confFile);174 PRINTF(5)("ConfigurationFile is %s.\n", this->confFile); 135 175 } 136 176 … … 174 214 { 175 215 int counter = 0; 176 while(counter < depth &&((widget-> isOption>0216 while(counter < depth &&((widget->optionType > GUI_NOTHING 177 217 &&(static_cast<Option*>(widget)->isSaveable())) 178 ||(widget-> isOption<0218 ||(widget->optionType < GUI_NOTHING 179 219 && static_cast<Packer*>(widget)->getGroupName()))) 180 220 { … … 184 224 185 225 // check if it is a Packer, and if it is, check if it has a name and if there is something in it. 186 if(widget-> isOption <0)226 if(widget->optionType < GUI_NOTHING) 187 227 { 188 228 if(static_cast<Packer*>(widget)->getGroupName()) … … 197 237 } 198 238 } 199 // if(widget->isOption == 0) 200 // printf("%s\n",widget->title); 201 if(widget->isOption >= 1) 239 240 if(widget->optionType > GUI_NOTHING) 202 241 if (static_cast<Option*>(widget)->isSaveable()) 203 242 { … … 277 316 { 278 317 PRINT(5)("Located Option %s.\n", widget->title); 279 if(widget-> isOption >= 1)318 if(widget->optionType > GUI_NOTHING) 280 319 static_cast<Option*>(widget)->load(info->variableValue); 281 320 } … … 302 341 } 303 342 304 if(widget-> isOption < 0)343 if(widget->optionType < GUI_NOTHING) 305 344 { 306 345 if(static_cast<Packer*>(widget)->getGroupName() && -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_flags.cc
r4063 r4139 38 38 this->flagsBox->fill(flagsLabel); 39 39 this->shortFlags = new CheckButton("shortFlags"); 40 this->shortFlags->setDefaultValue(0); 40 41 this->flagsBox->fill(shortFlags); 41 42 … … 76 77 { 77 78 FlagInfo* info =(FlagInfo*)flagInfo; 78 if(widget-> isOption >= 1)79 if(widget->optionType > GUI_NOTHING) 79 80 if (static_cast<Option*>(widget)->value != static_cast<Option*>(widget)->defaultValue ) 80 81 { … … 90 91 } 91 92 92 if(static_cast<Option*>(widget)-> isOption == 2)93 if(static_cast<Option*>(widget)->optionType > GUI_BOOL) 93 94 { 94 95 info->flagsLabel->appendText("="); -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_gtk.cc
r4063 r4139 222 222 return this; 223 223 224 if (this-> isOption < 0&& static_cast<Packer*>(this)->down)224 if (this->optionType < GUI_NOTHING && static_cast<Packer*>(this)->down) 225 225 { 226 226 Widget* tmp = static_cast<Packer*>(this)->down->findWidgetByName(name, depth+1); … … 243 243 { 244 244 function(this); 245 if (this-> isOption < 0)245 if (this->optionType < GUI_NOTHING) 246 246 { 247 247 static_cast<Packer*>(this)->down->walkThrough(function, depth+1); … … 261 261 { 262 262 function(this, data); 263 if (this-> isOption < 0)263 if (this->optionType < GUI_NOTHING) 264 264 { 265 265 static_cast<Packer*>(this)->down->walkThrough(function, data, depth+1); … … 275 275 void Widget::listOptionsAndGroups(Widget* widget) 276 276 { 277 if (widget-> isOption < 0&& static_cast<Packer*>(widget)->groupName)277 if (widget->optionType < GUI_NOTHING && static_cast<Packer*>(widget)->groupName) 278 278 PRINT(0)("[%s]\n", static_cast<Packer*>(widget)->groupName); 279 if (widget-> isOption >= 1)279 if (widget->optionType > GUI_NOTHING) 280 280 { 281 281 Widget::listOptions(widget); … … 289 289 void Widget::listOptions(Widget* widget) 290 290 { 291 if(widget-> isOption >= 1)291 if(widget->optionType > GUI_NOTHING) 292 292 PRINT(0)(" %s is %s\n", static_cast<Option*>(widget)->title, static_cast<Option*>(widget)->save()); 293 293 } … … 301 301 { 302 302 303 if (widget-> isOption >= 1)303 if (widget->optionType > GUI_NOTHING) 304 304 { 305 305 int* count =(int*)data; … … 308 308 static_cast<Option*>(widget)->title, 309 309 static_cast<Option*>(widget)->save()); 310 } 311 } 312 313 /** 314 \brief This is for listing the options of "widget" 315 \param widget specifies the widget that should be listed 316 \param data A Counter, that always knows how many Options have been found yet. 317 */ 318 void Widget::printHelp(Widget* widget) 319 { 320 int helpLen=0; 321 322 if (widget->optionType > GUI_NOTHING) 323 { 324 Option* option = (Option*)widget; 325 if (option->flagName || option->flagNameShort) 326 { 327 PRINT(0)(" "); 328 if (option->flagNameShort) 329 { 330 PRINT(0)("-%s", option->flagNameShort); 331 helpLen += strlen(option->flagNameShort)+1; 332 } 333 if (option->flagName) 334 { 335 if (helpLen > 0) 336 { 337 PRINT(0)("|"); 338 helpLen++; 339 } 340 PRINT(0)("--%s:", option->flagName); 341 helpLen += strlen(option->flagName)+2; 342 } 343 while ((helpLen ++) < 29) 344 PRINT(0)(" "); 345 if (option->shortDescription) 346 PRINT(0)("%s\n", option->shortDescription); 347 else 348 PRINT(0)("\n"); 349 } 310 350 } 311 351 } … … 320 360 Widget* Widget::findOptionByNumber(int* number, unsigned int depth) 321 361 { 322 if ( isOption > 0)362 if (optionType > GUI_NOTHING) 323 363 { 324 364 --*number; … … 328 368 } 329 369 } 330 if (this-> isOption < 0&& static_cast<Packer*>(this)->down)370 if (this->optionType < GUI_NOTHING && static_cast<Packer*>(this)->down) 331 371 { 332 372 Widget* tmp = static_cast<Packer*>(this)->down->findOptionByNumber(number, depth+1); … … 346 386 void Widget::listGroups(Widget* widget) 347 387 { 348 if (widget-> isOption < 0&& static_cast<Packer*>(widget)->groupName)388 if (widget->optionType < GUI_NOTHING && static_cast<Packer*>(widget)->groupName) 349 389 PRINT(0)("[%s]\n", static_cast<Packer*>(widget)->groupName); 350 390 } … … 358 398 { 359 399 int* count = (int*)data; 360 if (widget-> isOption < 0&& static_cast<Packer*>(widget)->groupName)400 if (widget->optionType < GUI_NOTHING && static_cast<Packer*>(widget)->groupName) 361 401 PRINT(0)("%d: [%s]\n", ++*count, static_cast<Packer*>(widget)->groupName); 362 402 } … … 369 409 Widget* Widget::findGroupByNumber(int* number, unsigned int depth) 370 410 { 371 if ( isOption < 0&& static_cast<Packer*>(this)->groupName)411 if (optionType < GUI_NOTHING && static_cast<Packer*>(this)->groupName) 372 412 { 373 413 --*number; … … 377 417 } 378 418 } 379 if (this-> isOption < 0&& static_cast<Packer*>(this)->down)419 if (this->optionType < GUI_NOTHING && static_cast<Packer*>(this)->down) 380 420 { 381 421 Widget* tmp = static_cast<Packer*>(this)->down->findGroupByNumber(number, depth+1); … … 395 435 void Widget::setOptions(Widget* widget) 396 436 { 397 if (widget-> isOption >= 1)437 if (widget->optionType > GUI_NOTHING) 398 438 static_cast<Option*>(widget)->redraw(); 399 439 } … … 406 446 void Widget::redrawOptions(Widget* widget) 407 447 { 408 if (widget-> isOption >= 1)448 if (widget->optionType > GUI_NOTHING) 409 449 static_cast<Option*>(widget)->redraw(); 410 450 } … … 415 455 void Widget::flagCheck(Widget* widget, void* flagName) 416 456 { 417 if (widget-> isOption>=1)457 if (widget->optionType > GUI_NOTHING) 418 458 { 419 459 Option* option =(Option*)widget; … … 567 607 Container::Container(void) 568 608 { 569 this-> isOption = -1;609 this->optionType = GUI_CONTAINER; 570 610 } 571 611 … … 595 635 } 596 636 else 597 PRINTF( 1)("You tried to put more than one Widget into a Container. \nNot including this item.\nThis is only possible with Boxes.\n");637 PRINTF(2)("You tried to put more than one Widget into a Container. \nNot including this item.\nThis is only possible with Boxes.\n"); 598 638 } 599 639 … … 772 812 \brief Creates a new Frame with name title 773 813 */ 774 Frame::Frame(c har* frameName)814 Frame::Frame(const char* frameName) 775 815 { 776 816 #ifdef HAVE_GTK2 … … 778 818 gtk_container_set_border_width(GTK_CONTAINER(this->widget), 3); 779 819 #endif /* HAVE_GTK2 */ 780 if ( title)820 if (frameName) 781 821 this->setTitle(frameName); 782 822 } … … 801 841 strcpy(this->title, title); 802 842 #ifdef HAVE_GTK2 803 gtk_frame_set_label(GTK_FRAME(widget), t itle);843 gtk_frame_set_label(GTK_FRAME(widget), this->title); 804 844 #endif /* HAVE_GTK2 */ 805 845 } … … 814 854 EventBox::EventBox(const char* eventBoxName) 815 855 { 816 this->isOption = -1;817 818 856 #ifdef HAVE_GTK2 819 857 this->widget = gtk_event_box_new(); … … 842 880 Box::Box(char boxtype) 843 881 { 844 this-> isOption = -2;882 this->optionType = GUI_BOX; 845 883 846 884 #ifdef HAVE_GTK2 … … 1053 1091 \param buttonName sets the Name of the Button 1054 1092 */ 1055 Button::Button(c har* buttonName)1056 { 1057 isOption = 0;1093 Button::Button(const char* buttonName) 1094 { 1095 this->optionType = GUI_NOTHING; 1058 1096 1059 1097 #ifdef HAVE_GTK2 … … 1115 1153 CheckButton::CheckButton(const char* buttonName) 1116 1154 { 1117 this-> isOption = 1;1155 this->optionType = GUI_BOOL; 1118 1156 1119 1157 #ifdef HAVE_GTK2 … … 1179 1217 if ((this->value = atoi(tmpChar))=!0) 1180 1218 this->value = 1; 1181 #endif /* HAVE_GTK2 */ 1219 1182 1220 PRINT(0)("%s set to: %d\n", this->title, this->value); 1221 #endif /* HAVE_GTK2 */ 1183 1222 } 1184 1223 … … 1205 1244 Slider::Slider(const char* slidername, int start, int end) 1206 1245 { 1207 this-> isOption = 2;1246 this->optionType = GUI_INT; 1208 1247 1209 1248 this->start = start; … … 1264 1303 if (this->value <= this->start) 1265 1304 this->value = this->start; 1266 #endif /* HAVE_GTK2 */ 1305 1267 1306 PRINT(0)("%s set to: %d\n",this->title, this->value); 1307 #endif /* HAVE_GTK2 */ 1268 1308 } 1269 1309 … … 1329 1369 void Menu::init(void) 1330 1370 { 1331 this-> isOption = 2;1371 this->optionType = GUI_INT; 1332 1372 this->firstItem = NULL; 1333 1373 … … 1372 1412 { 1373 1413 this->value = 0; 1374 PRINTF(2)(" Sorry, but%s has not been found in the Itemlist of %s\n", loadString, this->title);1375 } 1376 PRINTF( 4)( "Loading %s: setting to %d\n", this->title, this->value);1414 PRINTF(2)("%s has not been found in the Itemlist of %s\n", loadString, this->title); 1415 } 1416 PRINTF(5)( "Loading %s: setting to %d\n", this->title, this->value); 1377 1417 this->redraw(); 1378 1418 } … … 1431 1471 1432 1472 #endif /* HAVE_GTK2 */ 1433 PRINT( 4)("%s set to: %d\n", this->title, this->value);1473 PRINT(5)("%s set to: %d\n", this->title, this->value); 1434 1474 } 1435 1475 … … 1443 1483 OptionLabel::OptionLabel(const char* label, const char* value) 1444 1484 { 1445 this-> isOption = 5;1485 this->optionType = GUI_CHAR_ARRAY; 1446 1486 cValue = NULL; 1447 1487 … … 1474 1514 this->cValue = new char [strlen(newValue)+1]; 1475 1515 strcpy(this->cValue, newValue); 1476 #ifdef HAVE_GTK2 1477 gtk_label_set_text(GTK_LABEL(this->widget), this->cValue); 1478 #endif /* HAVE_GTK2 */ 1516 1517 this->redraw(); 1479 1518 } 1480 1519 … … 1485 1524 { 1486 1525 #ifdef HAVE_GTK2 1487 gtk_label_set_text(GTK_LABEL(widget), title);1526 gtk_label_set_text(GTK_LABEL(widget), cValue); 1488 1527 #endif /* HAVE_GTK2 */ 1489 1528 } … … 1495 1534 { 1496 1535 #ifdef HAVE_GTK2 1497 this->cValue = (char*)gtk_label_get_text(GTK_LABEL(this->widget));1536 this->cValue = (char*)gtk_label_get_text(GTK_LABEL(this->widget)); 1498 1537 #else /* HAVE_GTK2 */ 1499 1538 PRINT(0)("\nPlease give me a new input for %s: ", this->title); … … 1521 1560 void OptionLabel::load(char* loadString) 1522 1561 { 1523 PRINTF( 4)("Loading %s: setting to %s\n", this->title, loadString);1562 PRINTF(5)("Loading %s: setting to %s\n", this->title, loadString); 1524 1563 this->setValue(loadString); 1525 1564 } … … 1534 1573 Label:: Label(const char* text) 1535 1574 { 1536 this-> isOption = 0;1575 this->optionType = GUI_NOTHING; 1537 1576 1538 1577 #ifdef HAVE_GTK2 … … 1630 1669 ProgressBar::ProgressBar(const char* label) 1631 1670 { 1632 this-> isOption = 0;1671 this->optionType = GUI_NOTHING; 1633 1672 this->progress = 0.0; 1634 1673 this->totalSize = 0.0; … … 1671 1710 #ifdef HAVE_GTK2 1672 1711 gtk_progress_set_value(GTK_PROGRESS(widget), this->progress*100.0/this->totalSize); 1673 PRINTF( 4)("Progress: %f%%\n", this->progress*100.0/this->totalSize);1712 PRINTF(5)("Progress: %f%%\n", this->progress*100.0/this->totalSize); 1674 1713 #else /* HVE_GTK2 */ 1675 1714 PRINT(0)("Progress: %f%%\n", this->progress*100.0/this->totalSize); … … 1729 1768 void Image::init(const char* name) 1730 1769 { 1731 isOption = 0;1770 optionType = GUI_NOTHING; 1732 1771 1733 1772 if (this->title) … … 1736 1775 strcpy(this->title, name); 1737 1776 } 1777 1778 1779 ///////////////// 1780 /* FILE DIALOG */ 1781 ///////////////// 1782 /** 1783 \brief Creates a new FileDialog 1784 \param fileDialogName a Name for the Dialog 1785 */ 1786 FileDialog::FileDialog(const char* fileDialogName) 1787 { 1788 this->optionType = GUI_NOTHING; 1789 this->isOpen = false; 1790 this->changeOption = NULL; 1791 this->openUpButton = NULL; 1792 this->okObject = NULL; 1793 this->okFunc = NULL; 1794 1795 #ifdef HAVE_GTK2 1796 this->widget = gtk_file_selection_new(fileDialogName); 1797 1798 gtk_file_selection_set_select_multiple(GTK_FILE_SELECTION (this->widget), FALSE); 1799 1800 g_signal_connect(GTK_FILE_SELECTION (this->widget)->cancel_button, 1801 "button_release_event", 1802 G_CALLBACK (FileDialog::dialogClose), 1803 this); 1804 g_signal_connect(GTK_FILE_SELECTION (this->widget), 1805 "delete_event", 1806 G_CALLBACK (FileDialog::dialogClose), 1807 this); 1808 g_signal_connect(GTK_FILE_SELECTION (this->widget)->ok_button, 1809 "button_release_event", 1810 G_CALLBACK (FileDialog::dialogOK), 1811 this); 1812 #endif /* HAVE_GTK2 */ 1813 if (fileDialogName) 1814 this->setTitle(fileDialogName); 1815 } 1816 1817 /** 1818 \brief destructs a FileDialog 1819 */ 1820 FileDialog::~FileDialog(void) 1821 { 1822 PRINTF(5)("deleting FileDialog %s\n", this->title); 1823 } 1824 1825 void FileDialog::setChangeOption(OptionLabel* changeOption) 1826 { 1827 this->changeOption = changeOption; 1828 } 1829 1830 void FileDialog::setOKFunc(void* okObject, bool(*function)(const char* , void*)) 1831 { 1832 this->okObject = okObject; 1833 this->okFunc = function; 1834 } 1835 1836 1837 void FileDialog::setOpenUpButton(Button* openUpButton) 1838 { 1839 this->openUpButton = openUpButton; 1840 1841 openUpButton->connectSignal("button_release_event", this, FileDialog::dialogOpen); 1842 } 1843 1844 1845 void FileDialog::setDefaultFileName(const char* defaultFileName) 1846 { 1847 #ifdef HAVE_GTK2 1848 gtk_file_selection_set_filename (GTK_FILE_SELECTION(this->widget), defaultFileName); 1849 #endif /* HAVE_GTK2 */ 1850 } 1851 1852 void FileDialog::setMask(const char* mask) 1853 { 1854 #ifdef HAVE_GTK2 1855 gtk_file_selection_complete(GTK_FILE_SELECTION(this->widget), mask); 1856 #endif /* HAVE_GTK2 */ 1857 } 1858 1859 /** 1860 \brief disables the File Operator Buttons 1861 */ 1862 void FileDialog::disableFileOpts(void) 1863 { 1864 #ifdef HAVE_GTK2 1865 gtk_file_selection_hide_fileop_buttons(GTK_FILE_SELECTION(this->widget)); 1866 #endif /* HAVE_GTK2 */ 1867 } 1868 1869 /** 1870 \brief The ok-button has been pressed 1871 */ 1872 void FileDialog::okEvent(void) 1873 { 1874 if (this->okFunc) 1875 { 1876 #ifdef HAVE_GTK2 1877 if(this->okFunc((const char*)gtk_file_selection_get_filename(GTK_FILE_SELECTION(this->widget)), this->okObject)) 1878 this->close(); 1879 #endif /* HAVE_GTK2 */ 1880 } 1881 else if (this->changeOption) 1882 { 1883 #ifdef HAVE_GTK2 1884 changeOption->setValue(gtk_file_selection_get_filename(GTK_FILE_SELECTION(this->widget))); 1885 #endif /* HAVE_GTK2 */ 1886 this->close(); 1887 } 1888 else 1889 this->close(); 1890 } 1891 1892 /** 1893 \biref opens up the FileDialog-Window 1894 */ 1895 void FileDialog::open(void) 1896 { 1897 isOpen = true; 1898 #ifdef HAVE_GTK2 1899 gtk_widget_show_all(this->widget); 1900 gtk_grab_add(this->widget); 1901 #endif /* HAVE_GTK2 */ 1902 } 1903 1904 /** 1905 \closes the FileDialog-Window 1906 */ 1907 void FileDialog::close(void) 1908 { 1909 this->isOpen = false; 1910 #ifdef HAVE_GTK2 1911 gtk_grab_remove(this->widget); 1912 gtk_widget_hide(this->widget); 1913 #endif /* HAVE_GTK2 */ 1914 } 1915 1916 #ifdef HAVE_GTK2 1917 gint FileDialog::dialogOK(GtkWidget* widget, GdkEvent* event, void* dialog) 1918 { 1919 static_cast<FileDialog*>(dialog)->okEvent(); 1920 } 1921 #else /* HAVE_GTK2 */ 1922 int FileDialog::dialogOK(void* widget, void* event, void* dialog){} 1923 #endif /* HAVE_GTK2 */ 1924 1925 #ifdef HAVE_GTK2 1926 gint FileDialog::dialogOpen(GtkWidget* widget, GdkEvent* event, void* dialog) 1927 { 1928 static_cast<FileDialog*>(dialog)->open(); 1929 } 1930 #else /* HAVE_GTK2 */ 1931 int FileDialog::dialogOpen(void* widget, void* event, void* dialog){} 1932 #endif /* HAVE_GTK2 */ 1933 1934 #ifdef HAVE_GTK2 1935 gint FileDialog::dialogClose(GtkWidget* widget, GdkEvent* event, void* dialog) 1936 { 1937 static_cast<FileDialog*>(dialog)->close(); 1938 } 1939 #else /* HAVE_GTK2 */ 1940 int FileDialog::dialogClose(void* widget, void* event, void* dialog){} 1941 #endif /* HAVE_GTK2 */ -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_gtk.h
r4063 r4139 11 11 12 12 #include "debug.h" 13 #include "globals.h" 13 14 14 15 #ifdef HAVE_GTK2 … … 28 29 #include <gtk/gtkeventbox.h> 29 30 #include <gtk/gtkprogressbar.h> 31 #include <gtk/gtkfilesel.h> 30 32 #endif /* HAVE_GTK2 */ 31 33 32 34 // enumerator for different GuiOption-Types 33 enum GUI_OPTION {GUI_ CONTAINER= -2,34 GUI_ BOX= -1,35 enum GUI_OPTION {GUI_BOX = -2, 36 GUI_CONTAINER = -1, 35 37 GUI_NOTHING = 0, 36 38 GUI_BOOL = 1, … … 63 65 void walkThrough(void(*function)(Widget*), unsigned int depth); 64 66 void walkThrough(void(*function)(Widget*, void*), void* data, unsigned int depth); 65 static void listOptionsAndGroups(Widget* widget); 66 static void listOptions(Widget* widget); 67 static void listOptions(Widget* widget, void* data); 68 Widget* findOptionByNumber(int* number, unsigned int depth); 69 static void listGroups(Widget* widget); 70 static void listGroups(Widget* widget, void* data); 71 Widget* findGroupByNumber(int* number, unsigned int depth); 72 static void setOptions(Widget* widget); 73 static void redrawOptions(Widget* widget); 74 static void flagCheck(Widget* widget, void* flagName); 67 static void listOptionsAndGroups(Widget* widget); 68 static void listOptions(Widget* widget); 69 static void listOptions(Widget* widget, void* data); 70 Widget* findOptionByNumber(int* number, unsigned int depth); 71 static void listGroups(Widget* widget); 72 static void listGroups(Widget* widget, void* data); 73 static void printHelp(Widget* widget); 74 Widget* findGroupByNumber(int* number, unsigned int depth); 75 static void setOptions(Widget* widget); 76 static void redrawOptions(Widget* widget); 77 static void flagCheck(Widget* widget, void* flagName); 75 78 76 79 #ifdef HAVE_GTK2 … … 103 106 #endif /* HAVE_GTK2 */ 104 107 105 int isOption; //!< with this Paramenter one can set the option-type: -2:Container, -1: Box, 0: not an Option, 1: Bool-option, 2: int-option, 3: float option, 4:char option, 5: char* option 106 108 GUI_OPTION optionType; //!< The Type of the Widget. 107 109 char* title; //!< The name of the Widget. Some do display it, Options need it to save; 108 110 }; … … 141 143 Container(void); 142 144 virtual ~Container(void); 145 143 146 void setBorderWidth(int borderwidth); 144 147 void fill(Widget* lowerWidget); … … 184 187 { 185 188 public: 186 Frame(c har* frameName = NULL);189 Frame(const char* frameName = NULL); 187 190 virtual ~Frame(void); 188 191 … … 262 265 { 263 266 public: 264 Button(c har* buttonName = NULL);267 Button(const char* buttonName = NULL); 265 268 virtual ~Button(void); 266 269 … … 358 361 }; 359 362 363 //! A EntryField is a TextEntry field, for putting some text into. 364 class EntryField : public Option 365 { 366 public: 367 EntryField(const char* name = NULL); 368 virtual ~EntryField(void); 369 370 void setValue(const char* newValue); 371 virtual char* save(void); 372 virtual void load(char* loadString); 373 374 virtual void redraw(void); 375 virtual void changeOption(void); 376 }; 377 360 378 //! A label is a Widget, that displays a text 361 379 class Label : public Widget … … 405 423 }; 406 424 407 //gint orxonox_gui_quit(GtkWidget* widget, GdkEvent* event, gpointer data); 425 //! A FileDialog is a window with wich one can select a File 426 class FileDialog : public Widget 427 { 428 private: 429 OptionLabel* changeOption; 430 Button* openUpButton; 431 bool isOpen; 432 bool (*okFunc)(const char* , void*); 433 void* okObject; 434 435 public: 436 FileDialog(const char* fileDialogName); 437 virtual ~FileDialog(void); 438 439 void setChangeOption(OptionLabel* changeOption); 440 void setOKFunc(void* okObject, bool(*function)(const char* , void*)); 441 void setOpenUpButton(Button* openUpButton); 442 void setDefaultFileName(const char* defaultFileName); 443 void setMask(const char* mask); 444 void disableFileOpts(void); 445 446 void okEvent(); 447 void open(); 448 void close(); 449 450 #ifdef HAVE_GTK2 451 static gint dialogOK(GtkWidget* widget, GdkEvent* event, void* dialog); 452 static gint dialogOpen(GtkWidget* widget, GdkEvent* event, void* dialog); 453 static gint dialogClose(GtkWidget* widget, GdkEvent* event, void* dialog); 454 #else /* HAVE_GTK2 */ 455 static int dialogOK(void* widget, void* event, void* dialog); 456 static int dialogOpen(void* widget, void* event, void* dialog); 457 static int dialogClose(void* widget, void* event, void* dialog); 458 #endif /* HAVE_GTK2 */ 459 }; 408 460 409 461 #endif /* _GUI_GTK_H */ -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_keys.cc
r4063 r4139 33 33 GuiKeys::GuiKeys(void) 34 34 { 35 this->keysFrame = new Frame("Keyboard-Options:"); 36 // keysFrame->setGroupName("Keyboard"); 37 this->keysBox = new Box('h'); 38 this->player1 = new Player("player1"); 39 this->player2 = new Player("player2"); 40 41 this->keysBox->fill(this->player1->getOpenButton()); 42 this->keysBox->fill(this->player2->getOpenButton()); 43 44 this->keysFrame->fill(this->keysBox); 35 Frame* keysFrame; //!< The Frame that holds the keyOptions. 36 37 keysFrame = new Frame("Keyboard-Options:"); 38 { 39 Box* keysBox0; //!< The Frame that holds the keyOptions. 40 41 // keysFrame->setGroupName("Keyboard"); 42 keysBox0 = new Box('v'); 43 { 44 Box* keysBox1; 45 MiscKeys* misc; //!< The Misc Keys 46 47 keysBox1 = new Box('h'); 48 { 49 PlayerKeys* player1; //!< The first Player's keys. 50 PlayerKeys* player2; //!< The seconds Player's keys. 51 52 player1 = new PlayerKeys(CONFIG_SECTION_PLAYER "1"); 53 player2 = new PlayerKeys(CONFIG_SECTION_PLAYER "2"); 54 55 keysBox1->fill(player1->getOpenButton()); 56 keysBox1->fill(player2->getOpenButton()); 57 } 58 keysBox0->fill(keysBox1); 59 60 misc = new MiscKeys(); 61 keysBox0->fill(misc->getOpenButton()); 62 } 63 keysFrame->fill(keysBox0); 64 } 65 66 // setting up the Input Windows that receives keystrokes. 67 this->inputWindow = new Window("inputWindow"); 68 this->inputButton = new Button("test"); 69 #ifdef HAVE_GTK2 70 this->inputWindow->connectSignal("destroy", Widget::doNothingSignal); 71 this->inputWindow->connectSignal("delete_event", Widget::doNothingSignal); 72 #endif /* HAVE_GTK2 */ 73 this->inputWindow->fill(inputButton); 74 45 75 this->setMainWidget(keysFrame); 46 76 } … … 54 84 } 55 85 86 87 Window* GuiKeys::inputWindow = NULL; 88 Button* GuiKeys::inputButton = NULL; 89 long GuiKeys::keySignal = 0; 90 91 //////////// 56 92 /* PLAYER */ 57 93 //////////// 58 94 /** 59 95 \brief Creates new inputs for a player 60 96 \param player the name of the Player 61 97 */ 62 Player::Player(char* player) 63 { 64 char* windowName = new char[strlen(player)+25]; 65 strcpy(windowName, "Keyboard settings of "); 98 PlayerKeys::PlayerKeys(char* player) 99 { 100 Window* pKeyWindow; //!< The Window for a new Key-setting. 101 102 char* windowName = new char[strlen(player)+12]; 103 strcpy(windowName, "KeySets: "); 66 104 strcat(windowName, player); 67 this->pKeyWindow = new Window(windowName); 68 this->pKeyFrame = new Frame(windowName); 69 this->pKeysBox = new Box('v'); 70 this->pKeysBox->setGroupName(player); 71 this->pKeysBox->fill(addKey(UP, "up")); 72 this->pKeysBox->fill(addKey(DOWN, "down")); 73 this->pKeysBox->fill(addKey(LEFT, "left")); 74 this->pKeysBox->fill(addKey(RIGHT, "right")); 75 this->pKeysBox->fill(addKey(SHOOT, "shoot")); 76 delete windowName; 77 closeButton = new Button("close"); 78 #ifdef HAVE_GTK2 79 this->closeButton->connectSignal("button_press_event", this->pKeyWindow, Window::windowClose); 80 #endif /* HAVE_GTK2 */ 81 82 this->pKeysBox->fill(this->closeButton); 83 this->pKeyFrame->fill(this->pKeysBox); 84 this->pKeyWindow->fill(this->pKeyFrame); 85 Window::addWindow(this->pKeyWindow); 86 #ifdef HAVE_GTK2 87 this->pKeyWindow->connectSignal("destroy", this->pKeyWindow, Window::windowClose); 88 this->pKeyWindow->connectSignal("delete_event", this->pKeyWindow, Window::windowClose); 89 #endif /* HAVE_GTK2 */ 90 105 pKeyWindow = new Window(windowName); 106 { 107 Frame* pKeyFrame; //!< The Frame for a new Key-setting. 108 109 pKeyFrame = new Frame(windowName); 110 { 111 Box* pKeysBox; //!< The Box that holds the Key-settings. 112 pKeysBox = new Box('v'); 113 { 114 Button* closeButton; //!< The CloseButton for this key-settings. 115 116 pKeysBox->setGroupName(player); 117 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_UP, "UP")); 118 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_DOWN, "DOWN")); 119 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_LEFT, "LEFT")); 120 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_RIGHT, "RIGHT")); 121 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_FIRE, "SPACE")); 122 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_NEXT_WEAPON, "m")); 123 pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_PREV_WEAPON, "n")); 124 closeButton = new Button("close"); 125 #ifdef HAVE_GTK2 126 closeButton->connectSignal("button_press_event", pKeyWindow, Window::windowClose); 127 #endif /* HAVE_GTK2 */ 128 129 pKeysBox->fill(closeButton); 130 } 131 pKeyFrame->fill(pKeysBox); 132 } 133 pKeyWindow->fill(pKeyFrame); 134 } 135 delete windowName; 136 Window::addWindow(pKeyWindow); 137 #ifdef HAVE_GTK2 138 pKeyWindow->connectSignal("destroy", pKeyWindow, Window::windowClose); 139 pKeyWindow->connectSignal("delete_event", pKeyWindow, Window::windowClose); 140 #endif /* HAVE_GTK2 */ 141 91 142 this->openButton = new Button(player); 92 143 #ifdef HAVE_GTK2 93 this->openButton->connectSignal("button_press_event", this->pKeyWindow, Window::windowOpen); 94 #endif /* HAVE_GTK2 */ 95 96 this->inputWindow = new Window("inputWindow"); 97 98 this->inputButton = new Button("test"); 99 this->inputWindow->fill(inputButton); 100 #ifdef HAVE_GTK2 101 this->inputWindow->connectSignal("destroy", Widget::doNothingSignal); 102 this->inputWindow->connectSignal("delete_event", Widget::doNothingSignal); 103 #endif /* HAVE_GTK2 */ 104 105 } 144 this->openButton->connectSignal("button_press_event", pKeyWindow, Window::windowOpen); 145 #endif /* HAVE_GTK2 */ 146 } 147 148 /** 149 \returns the OpenButton of a Player 150 */ 151 Button* PlayerKeys::getOpenButton(void) 152 { 153 return this->openButton; 154 } 155 156 ////////////////// 157 /* MISC_OPTIONS */ 158 ////////////////// 159 /** 160 \brief Creates new inputs for a misc 161 \param player the name of the Misc 162 */ 163 MiscKeys::MiscKeys() 164 { 165 Window* keyWindow; //!< The Window for a new Key-setting. 166 167 keyWindow = new Window("misc Keys"); 168 { 169 Frame* keyFrame; //!< The Frame for a new Key-setting. 170 171 keyFrame = new Frame("misc Keys:"); 172 { 173 Box* keysBox; //!< The Box that holds the Key-settings. 174 keysBox = new Box('v'); 175 { 176 Button* closeButton; //!< The CloseButton for this key-settings. 177 178 keysBox->setGroupName(CONFIG_SECTION_MISC_KEYS); 179 keysBox->fill(addKey(CONFIG_NAME_QUIT , "ESCAPE")); 180 keysBox->fill(addKey(CONFIG_NAME_PAUSE, "PAUSE")); 181 keysBox->fill(addKey(CONFIG_NAME_NEXT_WORLD, "x")); 182 keysBox->fill(addKey(CONFIG_NAME_PREV_WORLD, "z")); 183 keysBox->fill(addKey(CONFIG_NAME_VIEW0, "1")); 184 keysBox->fill(addKey(CONFIG_NAME_VIEW1, "2")); 185 keysBox->fill(addKey(CONFIG_NAME_VIEW2, "3")); 186 keysBox->fill(addKey(CONFIG_NAME_VIEW3, "4")); 187 keysBox->fill(addKey(CONFIG_NAME_VIEW4, "5")); 188 keysBox->fill(addKey(CONFIG_NAME_VIEW5, "6")); 189 190 closeButton = new Button("close"); 191 #ifdef HAVE_GTK2 192 closeButton->connectSignal("button_press_event", keyWindow, Window::windowClose); 193 #endif /* HAVE_GTK2 */ 194 195 keysBox->fill(closeButton); 196 } 197 keyFrame->fill(keysBox); 198 } 199 keyWindow->fill(keyFrame); 200 } 201 Window::addWindow(keyWindow); 202 #ifdef HAVE_GTK2 203 keyWindow->connectSignal("destroy", keyWindow, Window::windowClose); 204 keyWindow->connectSignal("delete_event", keyWindow, Window::windowClose); 205 #endif /* HAVE_GTK2 */ 206 207 this->openButton = new Button("misc"); 208 #ifdef HAVE_GTK2 209 this->openButton->connectSignal("button_press_event", keyWindow, Window::windowOpen); 210 #endif /* HAVE_GTK2 */ 211 } 212 213 /** 214 \returns the OpenButton of a Misc 215 */ 216 Button* MiscKeys::getOpenButton(void) 217 { 218 return this->openButton; 219 } 220 106 221 107 222 /** … … 111 226 \returns A widget that has the Key-Box 112 227 */ 113 Widget* Player::addKey(KEYS key, char* name) 114 { 115 this->inputKey[key] = new InputKey; 116 this->inputKey[key]->pKeyBox = new Box(); 117 this->inputKey[key]->pKeyButton = new Button(name); 118 this->inputKey[key]->pKeyOLabel = new OptionLabel(name, name); 119 this->inputKey[key]->pKeyOLabel->saveability(); 120 121 #ifdef HAVE_GTK2 122 //inputKey[key]->pKeyButton->connectSignal("key_press_event", inputKey[key]->pKeyButton, key_cb); 123 this->inputKey[key]->pKeyButton->connectSignal("button_press_event", this->inputKey[key], inputWindowEvent); 124 #endif /* HAVE_GTK2 */ 125 this->inputKey[key]->pKeyBox->fill(this->inputKey[key]->pKeyButton); 126 this->inputKey[key]->pKeyBox->fill(this->inputKey[key]->pKeyOLabel); 127 return this->inputKey[key]->pKeyBox; 128 } 129 130 /** 131 \returns the OpenButton of a Player 132 */ 133 Button* Player::getOpenButton(void) 134 { 135 return this->openButton; 136 } 137 138 /** 139 \brief sets a new Key(only output) 140 \param key the new Key. 141 */ 142 void Player::setkey(KEYS key) 143 { 144 PRINT(4)("setting up Key: %d\n", key); 145 } 146 147 Window* Player::inputWindow = NULL; 148 Button* Player::inputButton = NULL; 149 long Player::keySignal = 0; 150 151 #ifdef HAVE_GTK2 152 gint Player::inputWindowEvent(GtkWidget* w, GdkEventKey* event, void* inputKey) 153 { 154 inputButton->setTitle("press a Key"); 155 keySignal = inputButton->connectSignal("key_press_event", inputKey, key_cb); 156 inputWindow->open(); 228 Widget* addKey(const char* name, const char* defaultVal) 229 { 230 InputKey* inputKey = new InputKey; 231 inputKey->keyBox = new Box(); 232 inputKey->keyButton = new Button(name); 233 if (defaultVal) 234 inputKey->keyOLabel = new OptionLabel(name, defaultVal); 235 else 236 inputKey->keyOLabel = new OptionLabel(name, name); 237 inputKey->keyOLabel->saveability(); 238 239 #ifdef HAVE_GTK2 240 //inputKey->keyButton->connectSignal("key_press_event", inputKey->keyButton, key_cb); 241 inputKey->keyButton->connectSignal("button_press_event", inputKey, inputWindowEvent); 242 #endif /* HAVE_GTK2 */ 243 inputKey->keyBox->fill(inputKey->keyButton); 244 inputKey->keyBox->fill(inputKey->keyOLabel); 245 return inputKey->keyBox; 246 } 247 248 249 #ifdef HAVE_GTK2 250 gint inputWindowEvent(GtkWidget* w, GdkEventKey* event, void* inputKey) 251 { 252 GuiKeys::inputButton->setTitle("press a Key"); 253 GuiKeys::keySignal = GuiKeys::inputButton->connectSignal("key_press_event", inputKey, key_cb); 254 GuiKeys::inputWindow->open(); 157 255 } 158 256 … … 164 262 \returns Nothing 165 263 */ 166 gint Player::key_cb(GtkWidget* w, GdkEventKey* event, void* inputKey)264 gint key_cb(GtkWidget* w, GdkEventKey* event, void* inputKey) 167 265 { 168 266 InputKey* inputkey =(InputKey*) inputKey; 169 char title [ 20];170 171 switch(event->keyval) 267 char title [50]; 268 269 switch(event->keyval) 172 270 { 173 271 case GDK_Up: 174 strcpy(title, " up");272 strcpy(title, "UP"); 175 273 break; 176 274 case GDK_Down: 177 strcpy(title, " down");275 strcpy(title, "DOWN"); 178 276 break; 179 277 case GDK_Left: 180 strcpy(title, " left");278 strcpy(title, "LEFT"); 181 279 break; 182 280 case GDK_Right: 183 strcpy(title, " right");281 strcpy(title, "RIGHT"); 184 282 break; 185 283 186 284 case GDK_space: 187 strcpy(title, " space");188 break; 189 190 case 65293:191 strcpy(title, " enter");285 strcpy(title, "SPACE"); 286 break; 287 288 case GDK_Return: 289 strcpy(title, "RETURN"); 192 290 break; 193 291 194 292 // Special Keys // 293 case GDK_BackSpace: 294 strcpy(title, "BACKSPACE"); 295 break; 296 case GDK_Scroll_Lock: 297 strcpy(title, "SCROLLOCK"); 298 break; 299 case GDK_minus: 300 strcpy(title, "MINUS"); 301 break; 302 case GDK_plus: 303 strcpy(title, "PLUS"); 304 break; 305 case GDK_slash: 306 strcpy(title, "SLASH"); 307 break; 308 case GDK_period: 309 strcpy(title, "PERIOD"); 310 break; 311 case GDK_comma: 312 strcpy(title, "COMMA"); 313 break; 314 case GDK_colon: 315 strcpy(title, "COLON"); 316 break; 317 case GDK_semicolon: 318 strcpy(title, "SEMICOLON"); 319 break; 320 case GDK_less: 321 strcpy(title, "LESS"); 322 break; 323 case GDK_equal: 324 strcpy(title, "EQUALS"); 325 break; 326 case GDK_greater: 327 strcpy(title, "GREATER"); 328 break; 329 case GDK_question: 330 strcpy(title, "QUESTION"); 331 break; 332 case GDK_at: 333 strcpy(title, "AT"); 334 break; 335 case GDK_bracketleft: 336 strcpy(title, "LEFTBRACKET"); 337 break; 338 case GDK_bracketright: 339 strcpy(title, "RIGHTBRACKET"); 340 break; 341 case GDK_backslash: 342 strcpy(title, "BACKSLASH"); 343 break; 344 case GDK_underscore: 345 strcpy(title, "UNDERSCORE"); 346 break; 347 case GDK_quoteleft: 348 strcpy(title, "BACKQUOTE"); 349 break; 350 351 case GDK_Page_Up: 352 strcpy(title, "PAGEUP"); 353 break; 354 case GDK_Page_Down: 355 strcpy(title, "PAGEDOWN"); 356 break; 357 case GDK_Home: 358 strcpy(title, "HOME"); 359 break; 360 case GDK_Insert: 361 strcpy(title, "INSERT"); 362 break; 363 195 364 case GDK_Escape: 196 strcpy(title, " esc");365 strcpy(title, "ESCAPE"); 197 366 break; 198 367 case GDK_Tab: 199 strcpy(title, " tab");368 strcpy(title, "TAB"); 200 369 break; 201 370 case GDK_Shift_L: 202 strcpy(title, " l_shift");371 strcpy(title, "LSHIFT"); 203 372 break; 204 373 case GDK_Shift_R: 205 strcpy(title, " r_shift");374 strcpy(title, "R_SHIFT"); 206 375 break; 207 376 case GDK_Control_L: 208 strcpy(title, " l_ctrl");377 strcpy(title, "LCTRL"); 209 378 break; 210 379 case GDK_Control_R: 211 strcpy(title, " r_ctrl");380 strcpy(title, "RCTRL"); 212 381 break; 213 382 case GDK_Alt_L: 214 strcpy(title, " l_alt");383 strcpy(title, "LALT"); 215 384 break; 216 385 case GDK_Alt_R: 217 strcpy(title, " r_alt");386 strcpy(title, "RALT"); 218 387 break; 219 388 // FXX KEYS // 220 389 case GDK_F1: 221 strcpy(title, " f1");390 strcpy(title, "F1"); 222 391 break; 223 392 case GDK_F2: 224 strcpy(title, " f2");393 strcpy(title, "F2"); 225 394 break; 226 395 case GDK_F3: 227 strcpy(title, " f3");396 strcpy(title, "F3"); 228 397 break; 229 398 case GDK_F4: 230 strcpy(title, " f4");399 strcpy(title, "F4"); 231 400 break; 232 401 case GDK_F5: 233 strcpy(title, " f5");402 strcpy(title, "F5"); 234 403 break; 235 404 case GDK_F6: 236 strcpy(title, " f6");405 strcpy(title, "F6"); 237 406 break; 238 407 case GDK_F7: 239 strcpy(title, " f7");408 strcpy(title, "F7"); 240 409 break; 241 410 case GDK_F8: 242 strcpy(title, " f8");411 strcpy(title, "F8"); 243 412 break; 244 413 case GDK_F9: 245 strcpy(title, " f9");414 strcpy(title, "F9"); 246 415 break; 247 416 case GDK_F10: 248 strcpy(title, " f10");417 strcpy(title, "F10"); 249 418 break; 250 419 case GDK_F11: 251 strcpy(title, " f11");420 strcpy(title, "F11"); 252 421 break; 253 422 case GDK_F12: 254 strcpy(title, " f12");423 strcpy(title, "F12"); 255 424 break; 256 425 … … 264 433 } 265 434 266 inputkey-> pKeyOLabel->setValue(title);267 inputButton->disconnectSignal(keySignal);268 inputWindow->close();269 } 270 #endif /* HAVE_GTK2 */ 435 inputkey->keyOLabel->setValue(title); 436 GuiKeys::inputButton->disconnectSignal(GuiKeys::keySignal); 437 GuiKeys::inputWindow->close(); 438 } 439 #endif /* HAVE_GTK2 */ -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_keys.h
r4063 r4139 15 15 #endif /* HAVE_GTK2 */ 16 16 17 /** 18 \brief defines the Possible Player Keys 19 */ 20 enum KEYS {UP, DOWN, LEFT, RIGHT, SHOOT}; 17 //! One KeyOption has one InputKey 18 struct InputKey 19 { 20 Box* keyBox; //!< One Box that holds the Keys 21 Button* keyButton; //!< The Button for changing the Key. 22 OptionLabel* keyOLabel;//!< The Label for displaying the Key-setting. 23 }; 21 24 22 class Player;23 25 //! Class that creates the Keys-Options. 24 26 class GuiKeys : public GuiElement 25 27 { 26 private:27 Frame* keysFrame; //!< The Frame that holds the keyOptions.28 Box* keysBox; //!< The Frame that holds the keyOptions.29 Player* player1; //!< The first Player's keys.30 Player* player2; //!< The seconds Player's keys.31 Button* misc; //!< Other keyboeard options come here. \todo include some like pause, quit and so on.32 33 28 public: 34 29 GuiKeys(void); 35 30 ~GuiKeys(void); 36 };37 38 //! Class to hold infos about a Player39 /**40 \todo split into subclass and superclass ButtonConfigurator41 */42 class Player43 {44 private:45 Window* pKeyWindow; //!< The Window for a new Key-setting.46 Frame* pKeyFrame; //!< The Frame for a new Key-setting.47 Button* openButton; //!< The OpenButton for this key-settings.48 Button* closeButton; //!< The CloseButton for this key-settings.49 Box* pKeysBox; //!< The Box that holds the Key-settings.50 51 //! One KeyOption has one InputKey52 struct InputKey53 {54 Box* pKeyBox; //!< One Box that holds the Keys55 Button* pKeyButton; //!< The Button for changing the Key.56 OptionLabel* pKeyOLabel;//!< The Label for displaying the Key-setting.57 };58 59 InputKey* inputKey[10]; //!< Buttons-array. \todo make it dynamic.60 31 61 32 static Window* inputWindow; //!< A Window that gets keyboard clicks. Static, because only one needed. 62 33 static Button* inputButton; //!< A Button that gets keyboard clicks. Static, because only one needed. 63 34 static long keySignal; //!< A keySignal that handles keyboard clicks. Static, because only one needed. 35 }; 36 37 //! Class to hold infos about a Player 38 class PlayerKeys 39 { 40 private: 41 Button* openButton; //!< The OpenButton for this key-settings. 42 64 43 public: 65 Player(char* player); 66 67 Widget* addKey(KEYS key, char* name); 44 PlayerKeys(char* player); 68 45 69 46 Button* getOpenButton(void); 70 71 #ifdef HAVE_GTK272 static gint inputWindowEvent(GtkWidget* w, GdkEventKey* event, void* widget);73 static gint key_cb(GtkWidget* w, GdkEventKey* event, void* inputKey);74 #endif /* HAVE_GTK2 */75 void setkey(KEYS key);76 77 47 }; 78 48 49 class MiscKeys 50 { 51 private: 52 Button* openButton; //!< The OpenButton for this key-settings. 53 54 public: 55 MiscKeys(); 56 57 Button* getOpenButton(void); 58 }; 59 60 Widget* addKey(const char* name, const char* defaultValue = NULL); 61 #ifdef HAVE_GTK2 62 gint inputWindowEvent(GtkWidget* w, GdkEventKey* event, void* widget); 63 gint key_cb(GtkWidget* w, GdkEventKey* event, void* inputKey); 64 #endif /* HAVE_GTK2 */ 79 65 80 66 -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_update.cc
r4063 r4139 37 37 GuiUpdate::GuiUpdate(void) 38 38 { 39 FileDialog* dataDirDialog; //!< A FileDialog for the selection of the DataRepos 40 Button* dataDirButton; //!< A Button for the selection of the DataRepos 41 OptionLabel* dataDirLabel; //!< A Label fot the selection of the DataRepos 42 43 39 44 this->tmpDir = NULL; 40 45 this->homeDir = NULL; … … 45 50 46 51 this->updateFrame = new Frame("Update-Options:"); 47 this->updateFrame->setGroupName( "update");52 this->updateFrame->setGroupName(CONFIG_SECTION_DATA); 48 53 this->updateBox = new Box('v'); 54 55 dataDirButton = new Button(CONFIG_NAME_DATADIR); 56 dataDirLabel = new OptionLabel(CONFIG_NAME_DATADIR, "unknown"); 57 dataDirLabel->setFlagName("data-dir", "d", 0); 58 dataDirLabel->setDescription("Sets the location of the orxonox' Data-Directory"); 59 dataDirLabel->saveability(); 60 dataDirDialog = new FileDialog("data-Repos-location"); 61 dataDirDialog->setDefaultFileName("data"); 62 dataDirDialog->setMask(DATA_IDENTIFIER); 63 this->checkDataDir("../data/" DATA_IDENTIFIER, dataDirLabel); 64 dataDirDialog->disableFileOpts(); 65 dataDirDialog->setOpenUpButton(dataDirButton); 66 //dataDirDialog->setChangeOption(dataDirLabel); 67 dataDirDialog->setOKFunc(dataDirLabel, GuiUpdate::checkDataDir); 68 updateBox->fill(dataDirButton); 69 updateBox->fill(dataDirLabel); 70 49 71 #ifdef HAVE_CURL 50 72 51 73 // the Button for autoUpdating 52 this->autoUpdate = new CheckButton( "auto update");74 this->autoUpdate = new CheckButton(CONFIG_NAME_AUTO_UPDATE); 53 75 this->updateBox->fill(this->autoUpdate); 54 76 this->autoUpdate->setFlagName("update", "u", 0); 77 this->autoUpdate->setDescription("Updates orxonox", "When this option is selected orxonox automatically searches for updates, and if found installs them"); 55 78 this->autoUpdate->saveability(); 79 80 81 56 82 57 83 this->updateSourceWindowCreate(); … … 62 88 63 89 #else /* HAVE_CURL */ 64 Label* noCurlLabel = new Label("since you do not have cURL ,\nthis option isnot availible");90 Label* noCurlLabel = new Label("since you do not have cURL-support,\nupdate options are not availible"); 65 91 this->updateBox->fill(noCurlLabel); 66 92 #endif /* HAVE_CURL */ 67 93 this->updateFrame->fill(this->updateBox); 68 94 this->setMainWidget(this->updateFrame); 95 96 69 97 } 70 98 … … 76 104 77 105 } 106 107 /** 108 \brief checks if the Folder containing selected File is data.oxd, and if so sets it. 109 \param 110 */ 111 bool GuiUpdate::checkDataDir(const char* fileName, void* object) 112 { 113 if (!strcmp(fileName+(strlen(fileName)-strlen(DATA_IDENTIFIER)), DATA_IDENTIFIER)) 114 { 115 char* tmpName = new char[strlen(fileName)-strlen(DATA_IDENTIFIER)+1]; 116 strncpy(tmpName, fileName, strlen(fileName)-strlen(DATA_IDENTIFIER)); 117 tmpName[strlen(fileName)-strlen(DATA_IDENTIFIER)] = '\0'; 118 static_cast<OptionLabel*>(object)->setValue(tmpName); 119 delete tmpName; 120 return true; 121 } 122 else 123 return false; 124 } 125 78 126 79 127 /** … … 82 130 bool GuiUpdate::getSystemInfo(void) 83 131 { 84 PRINTF( 3)("Grabbing system information\n");132 PRINTF(5)("Grabbing system information\n"); 85 133 this->tmpDir = getenv("TMPDIR"); 86 134 if(!tmpDir) 87 135 this->tmpDir = "/tmp"; 88 PRINTF( 4)("Temporary directory is: %s\n", this->tmpDir);136 PRINTF(5)("Temporary directory is: %s\n", this->tmpDir); 89 137 90 138 #ifdef __WIN32__ … … 93 141 this->homeDir = getenv("HOME"); 94 142 #endif 95 PRINTF(4)("Home directory is %s\n", homeDir); 96 97 this->installDataDir = "/usr/share/games/orxonox"; 98 PRINTF(4)("Installation of orxonox-data will go to this directory: %s\n", this->installDataDir); 143 PRINTF(5)("Home directory is %s\n", homeDir); 144 145 146 this->installDataDir = DEFAULT_DATA_DIR; 147 PRINTF(5)("Installation of orxonox-data will go to this directory: %s\n", this->installDataDir); 99 148 100 149 this->installSourceDir = "/usr/games/bin"; 101 PRINTF( 4)("Installation of orxonox-source will go to this directory: %s\n", this->installSourceDir);150 PRINTF(5)("Installation of orxonox-source will go to this directory: %s\n", this->installSourceDir); 102 151 103 152 this->userName = getenv("USER"); 104 PRINTF( 4)("Logged in username is: %s\n", this->userName);153 PRINTF(5)("Logged in username is: %s\n", this->userName); 105 154 } 106 155 … … 108 157 bool* GuiUpdate::checkForUpdates(void) 109 158 { 110 PRINTF( 3)("checking for new version of orxonox\n");159 PRINTF(4)("checking for new version of orxonox\n"); 111 160 FileInfo updateFileInfo; 112 161 updateFileInfo.fileName = "update_info"; … … 218 267 dataInfo->webRoot = "http://www.orxonox.ethz.ch/files/"; 219 268 dataInfo->localRoot = "./"; 220 PRINTF( 3)("Preparing to download file %s.\n", dataInfo->fileName);269 PRINTF(4)("Preparing to download file %s.\n", dataInfo->fileName); 221 270 downloadWithStyle(dataInfo); 222 271 } … … 284 333 CURL* GuiUpdate::curlHandle = NULL; 285 334 286 /** 287 \brief A bool parameter that shows if we are downloading. 288 */ 335 //! A bool parameter that shows if we are downloading. 289 336 bool GuiUpdate::isDownloading = false; 290 337 338 //! A parameter to see, if downloading has been canceled 339 bool GuiUpdate::downloadCanceled = false; 291 340 292 341 /** … … 303 352 return false; 304 353 } 305 PRINTF( 3)("Downloading.\n");354 PRINTF(4)("Downloading.\n"); 306 355 FileInfo* info =(FileInfo*)fileInfo; 307 356 CURLcode res; … … 351 400 return false; 352 401 } 353 PRINTF( 3)("Downloading.\n");402 PRINTF(4)("Downloading.\n"); 354 403 FileInfo* info =(FileInfo*)fileInfo; 355 404 CURLcode res; … … 419 468 curl_easy_cleanup(curlHandle); 420 469 421 PRINTF( 3)("Closing the downloaded file.\n");470 PRINTF(4)("Closing the downloaded file.\n"); 422 471 fclose(info->fileHandle); 423 472 … … 445 494 gint GuiUpdate::cancelDownload(GtkWidget* w, GdkEventKey* event, void* bar) 446 495 { 447 PRINTF( 4)("Cannot cancle the Downloading process until after this File\n");496 PRINTF(3)("Cannot cancle the Downloading process until after this File\n"); 448 497 } 449 498 #endif /* HAVE_GTK2 */ -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_update.h
r4063 r4139 10 10 #include "gui_element.h" 11 11 #include "gui_gtk.h" 12 13 14 #define DATA_IDENTIFIER "data.oxd" 12 15 13 16 #include <stdio.h> … … 59 62 static gint updateSourceFunc(GtkWidget* w, GdkEventKey* event, void* info); 60 63 #endif /* HAVE_GTK2 */ 64 65 static bool checkDataDir(const char* fileName, void* object); 61 66 62 67 #ifdef HAVE_CURL -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_video.cc
r4063 r4139 27 27 #include "gui_video.h" 28 28 29 #include "gui_gtk.h" 29 30 #include "glincl.h" 30 31 #include <stdlib.h> … … 35 36 GuiVideo::GuiVideo(void) 36 37 { 37 this->videoFrame = new Frame("Video-Options:"); 38 this->videoBox = new Box('v'); 39 this->videoFrame->setGroupName("video"); 40 41 this->fullscreen = new CheckButton("Fullscreen-mode"); 42 this->fullscreen->setFlagName("windowed", "q", 1); 43 this->fullscreen->saveability(); 44 this->videoBox->fill(this->fullscreen); 45 this->resolution = new Menu("Resolution"); 46 this->getResolutions(this->resolution); 47 this->resolution->saveability(); 48 this->resolution->setFlagName("resolution", "r", 0); 49 this->videoBox->fill(this->resolution); 50 this->wireframe = new CheckButton("WireFrame-mode"); 51 this->wireframe->setFlagName("wireframe", "w", 0); 52 this->wireframe->saveability(); 53 this->videoBox->fill(this->wireframe); 54 55 this->advancedWindowCreate(); 56 this->videoBox->fill(this->advancedWindowGetButton()); 57 58 this->videoFrame->fill(videoBox); 59 this->setMainWidget(this->videoFrame); 38 Frame* videoFrame; //!< The Frame that holds the video options. 39 40 videoFrame = new Frame("Video-Options:"); 41 videoFrame->setGroupName("video"); 42 { 43 Box* videoBox; //!< The Box that holds the video options. 44 45 videoBox = new Box('v'); 46 { 47 CheckButton* fullscreen; //!< CheckButton for fullscreen-mode 48 Menu* resolution; //!< Menu for the resolution 49 CheckButton* wireframe; //!< CheckButton for wireframe Mode. 50 51 fullscreen = new CheckButton(CONFIG_NAME_FULLSCREEN); 52 fullscreen->setFlagName("windowed", "q", 1); 53 fullscreen->setDescription("Starts orxonox in windowed mode"); 54 fullscreen->saveability(); 55 videoBox->fill(fullscreen); 56 resolution = new Menu(CONFIG_NAME_RESOLUTION); 57 getResolutions(resolution); 58 resolution->saveability(); 59 resolution->setFlagName("resolution", "r", 0); 60 resolution->setDescription("Sets the resolution of orxonox"); 61 videoBox->fill(resolution); 62 wireframe = new CheckButton(CONFIG_NAME_WIREFRAME); 63 wireframe->setFlagName("wireframe", "w", 0); 64 wireframe->setDescription("Starts orxonox in wireframe mode"); 65 wireframe->saveability(); 66 videoBox->fill(wireframe); 67 68 videoBox->fill(advancedWindowCreate()); 69 } 70 videoFrame->fill(videoBox); 71 } 72 setMainWidget(videoFrame); 60 73 } 61 74 … … 71 84 \brief Creates a window, and all it contains for the Source-update. 72 85 */ 73 void GuiVideo::advancedWindowCreate(void) 74 { 86 Widget* GuiVideo::advancedWindowCreate(void) 87 { 88 // advanced-Performance-Options 89 Window* advancedWindow; //!< A Window to display advanced options. 90 Button* advancedButton; //!< A Button to open the Advanced Video Performance Window. 75 91 // the button, that opens this Window. 76 this->advancedButton = new Button("advanced");92 advancedButton = new Button("advanced"); 77 93 78 94 // the Window itself 79 this->advancedWindow = new Window("Advanced Video Options"); 80 this->advancedWindow->setGroupName("advancedVideoOptions"); 81 82 this->advancedBox = new Box('v'); 83 84 // Advanced Performance Options 85 this->shadows = new CheckButton("Shadows"); 86 this->shadows->saveability(); 87 this->advancedBox->fill(this->shadows); 88 89 this->fog = new CheckButton("Fog"); 90 this->fog->saveability(); 91 this->advancedBox->fill(this->fog); 92 93 this->reflections = new CheckButton("Reflections"); 94 this->reflections->saveability(); 95 this->advancedBox->fill(this->reflections); 96 97 this->textures = new CheckButton("Textures"); 98 this->textures->saveability(); 99 this->advancedBox->fill(this->textures); 100 101 this->textureDetail = new Menu("Texture Detail", "low", "medium", "high", "lastItem"); 102 this->textureDetail->setDefaultValue(1); 103 this->textureDetail->saveability(); 104 this->advancedBox->fill(this->textureDetail); 105 106 this->modelDetailLabel = new Label("Model Detail"); 107 this->advancedBox->fill(this->modelDetailLabel); 108 this->modelDetail = new Menu("Model Detail", "low", "high", "lastItem"); 109 this->modelDetail->setDefaultValue(1); 110 this->modelDetail->saveability(); 111 this->advancedBox->fill(this->modelDetail); 112 113 this->antiAliasingLabel = new Label("Anti-Aliasing-depth:"); 114 this->advancedBox->fill(this->antiAliasingLabel); 115 this->antiAliasing = new Menu("Anti Aliasing", "0", "1", "2", "4", "8", "lastItem"); 116 this->antiAliasing->setDefaultValue(2); 117 this->antiAliasing->saveability(); 118 this->advancedBox->fill(this->antiAliasing); 119 120 this->filterMethodLabel = new Label("Filtering Method:"); 121 this->advancedBox->fill(this->filterMethodLabel); 122 this->filterMethod = new Menu("Filtering Method", "none", "linear", "bilinear", "trilinear", "anisortopic", "lastItem"); 123 this->filterMethod->setDefaultValue(1); 124 this->filterMethod->saveability(); 125 this->advancedBox->fill(this->filterMethod); 126 127 this->closeButton = new Button("close"); 128 this->advancedBox->fill(this->closeButton); 129 130 this->advancedWindow->fill(advancedBox); 131 #ifdef HAVE_GTK2 132 this->advancedButton->connectSignal("button_press_event", this->advancedWindow, Window::windowOpen); 133 this->closeButton->connectSignal("button_press_event", this->advancedWindow, Window::windowClose); 134 this->advancedWindow->connectSignal("destroy", this->advancedWindow, Window::windowClose); 135 this->advancedWindow->connectSignal("delete_event", this->advancedWindow, Window::windowClose); 95 advancedWindow = new Window("Advanced Video Options"); 96 advancedWindow->setGroupName(CONFIG_SECTION_VIDEO_ADVANCED); 97 { 98 Box* advancedBox; //!< A Box to pack the options into. 99 100 advancedBox = new Box('v'); 101 { 102 CheckButton* shadows; //!< CheckButton for shadows 103 CheckButton* fog; //!< CheckButton for fog. 104 CheckButton* reflections; //!< CheckButton for reflections 105 CheckButton* textures; //!< CheckButton for textures 106 Menu* textureDetail; //!< Menu for the Texture-Detail. 107 Label* modelDetailLabel; //!< Label for model-detail. 108 Menu* modelDetail; //!< model-detail. 109 Label* antiAliasingLabel; //!< Label for the anti-aliasing mode. 110 Menu* antiAliasing; //!< Menu for the Antialiasing-mode. 111 Label* filterMethodLabel; //!< Label for filtering-Method. 112 Menu* filterMethod; //!< Menu for filtering Method. 113 Button* closeButton; //!< A Button to close the Advanced-settingsWindow. 114 115 // Advanced Performance Options 116 shadows = new CheckButton(CONFIG_NAME_SHADOWS); 117 shadows->saveability(); 118 advancedBox->fill(shadows); 119 120 fog = new CheckButton(CONFIG_NAME_FOG); 121 fog->saveability(); 122 advancedBox->fill(fog); 123 124 reflections = new CheckButton(CONFIG_NAME_REFLECTIONS); 125 reflections->saveability(); 126 advancedBox->fill(reflections); 127 128 textures = new CheckButton(CONFIG_NAME_TEXTURES); 129 textures->saveability(); 130 advancedBox->fill(textures); 131 132 textureDetail = new Menu(CONFIG_NAME_TEXTURE_DETAIL, "low", "medium", "high", "lastItem"); 133 textureDetail->setDefaultValue(1); 134 textureDetail->saveability(); 135 advancedBox->fill(textureDetail); 136 137 modelDetailLabel = new Label(CONFIG_NAME_MODEL_DETAIL); 138 advancedBox->fill(modelDetailLabel); 139 modelDetail = new Menu(CONFIG_NAME_MODEL_DETAIL, "low", "high", "lastItem"); 140 modelDetail->setDefaultValue(1); 141 modelDetail->saveability(); 142 advancedBox->fill(modelDetail); 143 144 antiAliasingLabel = new Label("Anti-Aliasing-depth:"); 145 advancedBox->fill(antiAliasingLabel); 146 antiAliasing = new Menu(CONFIG_NAME_ANTI_ALIASING, "0", "1", "2", "4", "8", "lastItem"); 147 antiAliasing->setDefaultValue(2); 148 antiAliasing->saveability(); 149 advancedBox->fill(antiAliasing); 150 151 filterMethodLabel = new Label("Filtering Method:"); 152 advancedBox->fill(filterMethodLabel); 153 filterMethod = new Menu(CONFIG_NAME_FILTER_METHOD, "none", "linear", "bilinear", "trilinear", "anisortopic", "lastItem"); 154 filterMethod->setDefaultValue(1); 155 filterMethod->saveability(); 156 advancedBox->fill(filterMethod); 157 158 closeButton = new Button("close"); 159 #ifdef HAVE_GTK2 160 closeButton->connectSignal("button_press_event", advancedWindow, Window::windowClose); 136 161 #endif /* HAVE_GTK2 */ 137 Window::addWindow(this->advancedWindow); 138 139 } 140 141 /** 142 \returns A Pointer to the Button of the UpdaterSourceWindow 143 */ 144 Button* GuiVideo::advancedWindowGetButton(void) 145 { 146 return this->advancedButton; 147 } 148 162 163 advancedBox->fill(closeButton); 164 } 165 advancedWindow->fill(advancedBox); 166 } 167 #ifdef HAVE_GTK2 168 advancedButton->connectSignal("button_press_event", advancedWindow, Window::windowOpen); 169 advancedWindow->connectSignal("destroy", advancedWindow, Window::windowClose); 170 advancedWindow->connectSignal("delete_event", advancedWindow, Window::windowClose); 171 #endif /* HAVE_GTK2 */ 172 Window::addWindow(advancedWindow); 173 174 return advancedButton; 175 } 176 177 /** 178 \brief sets all resolutions to the menu 179 \param menu the Menu to set The resolutions to. 180 */ 149 181 void GuiVideo::getResolutions(Menu* menu) 150 182 { … … 170 202 else{ 171 203 /* Print valid modes */ 172 PRINT( 4)("Available Modes\n");204 PRINT(5)("Available Modes\n"); 173 205 for(i = 0; modes[i] ;++i) 174 206 { 175 207 if (x != modes[i]->w || y != modes[i]->h) 176 208 { 177 PRINT (4)(" %d x %d\n", modes[i]->w, modes[i]->h);209 PRINTF(5)(" %d x %d\n", modes[i]->w, modes[i]->h); 178 210 sprintf(tmpChar, "%dx%d", modes[i]->w, modes[i]->h); 179 211 menu->addItem(tmpChar); -
orxonox/branches/md2_loader/src/lib/gui/gui/gui_video.h
r4063 r4139 8 8 #include "gui.h" 9 9 #include "gui_element.h" 10 #include "gui_gtk.h" 10 11 // FORWARD DECLARATIONS 12 class Widget; 13 class Menu; 11 14 12 15 //! Class that creates the Video-Options. … … 14 17 { 15 18 private: 16 Frame* videoFrame; //!< The Frame that holds the video options. 17 Box* videoBox; //!< The Box that holds the video options. 18 CheckButton* fullscreen; //!< CheckButton for fullscreen-mode 19 Menu* resolution; //!< Menu for the resolution 20 CheckButton* wireframe; //!< CheckButton for wireframe Mode. 21 22 // advanced-Performance-Options 23 Window* advancedWindow; //!< A Window to display advanced options. 24 Button* advancedButton; //!< A Button to open the Advanced Video Performance Window. 25 Box* advancedBox; //!< A Box to pack the options into. 26 CheckButton* shadows; //!< CheckButton for shadows 27 CheckButton* fog; //!< CheckButton for fog. 28 CheckButton* reflections; //!< CheckButton for reflections 29 CheckButton* textures; //!< CheckButton for textures 30 Menu* textureDetail; //!< Menu for the Texture-Detail. 31 32 Label* modelDetailLabel; //!< Label for model-detail. 33 Menu* modelDetail; //!< model-detail. 34 35 Label* antiAliasingLabel; //!< Label for the anti-aliasing mode. 36 Menu* antiAliasing; //!< Menu for the Antialiasing-mode. 37 38 Label* filterMethodLabel; //!< Label for filtering-Method. 39 Menu* filterMethod; //!< Menu for filtering Method. 40 41 Button* closeButton; //!< A Button to close the Advanced-settingsWindow. 42 43 Button* advancedWindowGetButton(void); 44 void advancedWindowCreate(void); 19 // Button* advancedWindowGetButton(void); 45 20 46 21 public: … … 48 23 ~GuiVideo(void); 49 24 25 private: 50 26 void getResolutions(Menu* menu); 51 52 27 Widget* advancedWindowCreate(void); 53 28 }; 54 29 #endif /* _GUI_VIDEO_H */ -
orxonox/branches/md2_loader/src/lib/gui/gui/rc
r4063 r4139 1 /* 2 * style <name> [= <name>] 3 * { 4 * <option> 5 * } 6 * 7 * widget <widget_set> style <style_name> 8 * widget_class <widget_class_set> style <style_name> 9 * 10 * Here is a list of all the possible states. Note that some do not apply to 11 * certain widgets. 12 * 13 * NORMAL - The normal state of a widget, without the mouse over top of 14 * it, and not being pressed, etc. 15 * 16 * PRELIGHT - When the mouse is over top of the widget, colors defined 17 * using this state will be in effect. 18 * 19 * ACTIVE - When the widget is pressed or clicked it will be active, and 20 * the attributes assigned by this tag will be in effect. 21 * 22 * INSENSITIVE - When a widget is set insensitive, and cannot be 23 * activated, it will take these attributes. 24 * 25 * SELECTED - When an object is selected, it takes these attributes. 26 * 27 * Given these states, we can set the attributes of the widgets in each of 28 * these states using the following directives. 29 * 30 * fg - Sets the foreground color of a widget. 31 * bg - Sets the background color of a widget. 32 * bg_pixmap - Sets the background of a widget to a tiled pixmap. 33 * base - Sets the base of Widgets 34 * font - Sets the font to be used with the given widget. 35 */ 36 37 38 1 39 static const gchar* rc_string = 2 ( 40 ( 41 "style'orxonox'" 42 "{" 43 "fg[NORMAL] = { 0.0, 1.0, 0.0 }" 44 "fg[PRELIGHT] = { 0.0, 1.0, 0.0 }" 45 "fg[ACTIVE] = { 0.0, 1.0, 0.0 }" 46 "fg[INSENSITIVE] = { 0.0, 0.8, 0.0 }" 47 "fg[SELECTED] = { 0.0, 1.0, 0.0 }" 48 49 "bg[NORMAL] = { 0.0, 0.0, 0.0 }" 50 "bg[PRELIGHT] = { 0.0, 1.0, 0.0 }" 51 "bg[ACTIVE] = { 0.0, 0.3, 0.0 }" 52 "bg[INSENSITIVE] = { 0.0, 0.1, 0.0 }" 53 "bg[SELECTED] = { 0.0, 0.1, 0.0 }" 54 55 "base[NORMAL] = { 0.0, 1.0, 0.0 }" 56 "base[PRELIGHT] = { 0.0, 1.0, 0.0 }" 57 "base[ACTIVE] = { 0.0, 1.0, 0.0 }" 58 "base[INSENSITIVE] = { 0.0, 1.0, 0.0 }" 59 "base[SELECTED] = { 0.0, 1.0, 0.0 }" 60 61 "font = '-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*'" 62 "}" 63 3 64 "style'window'" 4 65 "{" … … 7 68 "base[NORMAL] = { 0, 0, 0 }" 8 69 "base[INSENSITIVE] = { 0, 0, 0 }" 70 "}" 71 72 "style'frame'" 73 "{" 74 "bg[NORMAL] = { 0.0, 0.4, 0.0 }" 9 75 "}" 10 76 … … 26 92 "bg[NORMAL] = { 0, 0, 0 }" 27 93 "fg[NORMAL] = { 0, 1.0, 0 }" 28 "bg[INSENSITIVE] = { 1.0, 0, 1.0 }"29 "fg[INSENSITIVE] = { 1.0, 0, 1.0 }"94 "bg[INSENSITIVE] = { 0.0, 0.2, 0.0 }" 95 "fg[INSENSITIVE] = { 0.0, 0.8, 0.0 }" 30 96 "base[NORMAL] = { 0, 1.0, 0 }" 31 97 "base[PRELIGHT] = { 0, 1.0, 0 }" … … 55 121 "}" 56 122 123 "widget'Gtk*' style'orxonox'" 124 "widget'*Gtk*Frame*' style'frame'" 57 125 "widget'GtkWindow' style'window'" 58 "widget'GtkFrame' style'window'"59 "widget'Gtk*EventBox' style'window'"60 "widget'GtkDialog' style'window'"61 126 "widget'GtkFileSelection' style'window'" 62 127 "widget'*Gtk*Scale' style'scale'"
Note: See TracChangeset
for help on using the changeset viewer.