- Timestamp:
- May 2, 2006, 10:04:13 PM (19 years ago)
- Location:
- branches/qt_gui/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/Makefile.am
r7428 r7479 12 12 bin_PROGRAMS = orxonox 13 13 14 orxonox_CPPFLAGS = -DIS_ORXONOX 15 orxonox_LDFLAGS = -u global_ModelParticles_Factory 14 orxonox_CPPFLAGS = \ 15 -DIS_ORXONOX \ 16 @QT_CXXFLAGS@ 17 18 orxonox_LDFLAGS = 16 19 17 20 orxonox_DEPENDENCIES = \ … … 24 27 util/libORXutils.a \ 25 28 $(libORXlibs_a_LIBRARIES_) \ 26 $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 29 $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) \ 30 @QT_LIBS@ 27 31 28 32 orxonox_SOURCES = \ … … 63 67 64 68 ## orxonox.conf will be used from home-dir instead. 65 EXTRA_DIST = proto/proto_class.h \ 66 proto/proto_class.cc \ 67 proto/proto_singleton.h \ 68 proto/proto_singleton.cc \ 69 proto/proto_world_entity.h \ 70 proto/proto_world_entity.cc \ 71 defs/include_paths.am \ 72 story_entities/Makefile.am 69 EXTRA_DIST = \ 70 proto/proto_class.h \ 71 proto/proto_class.cc \ 72 proto/proto_singleton.h \ 73 proto/proto_singleton.cc \ 74 proto/proto_world_entity.h \ 75 proto/proto_world_entity.cc \ 76 defs/include_paths.am \ 77 story_entities/Makefile.am 73 78 74 79 if SUB_PROJECTS … … 78 83 endif 79 84 80 SUBDIRS = lib \ 81 util \ 82 world_entities \ 83 . \ 84 $(SUB_PROGS) 85 SUBDIRS = \ 86 lib \ 87 util \ 88 world_entities \ 89 . \ 90 $(SUB_PROGS) 85 91 86 92 -
branches/qt_gui/src/lib/BuildLibs.am
r7256 r7479 2 2 libORXlibs_a_LIBRARIES_ = \ 3 3 $(LIB_PREFIX)/libORXlibs.a \ 4 $(LIB_PREFIX)/gui/gtk_gui/libORXgui.a \ 4 $(LIB_PREFIX)/gui/gtk_gui/libORXgtkgui.a \ 5 $(LIB_PREFIX)/gui/qt_gui/libORXqtgui.a \ 5 6 $(LIB_PREFIX)/gui/gl_gui/libORXglgui.a \ 7 $(LIB_PREFIX)/gui/libORXbasegui.a \ 6 8 $(LIB_PREFIX)/graphics/importer/libORXimporter.a \ 7 9 $(LIB_PREFIX)/graphics/libORXgraphics.a \ -
branches/qt_gui/src/lib/gui/gtk_gui/Makefile.am
r5463 r7479 2 2 include $(MAINSRCDIR)/defs/include_paths.am 3 3 4 noinst_LIBRARIES = libORXg ui.a4 noinst_LIBRARIES = libORXgtkgui.a 5 5 6 libORXgui_a_CPPFLAGS = -DBUILD_ORXONOX \ 7 $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 6 libORXgtkgui_a_CPPFLAGS = \ 7 -DBUILD_ORXONOX \ 8 $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 8 9 9 libORXgui_a_SOURCES = gui.cc \ 10 gui_gtk.cc \ 11 gui_element.cc \ 12 gui_video.cc \ 13 gui_audio.cc \ 14 gui_exec.cc \ 15 gui_flags.cc \ 16 gui_banner.cc \ 17 gui_keys.cc \ 18 gui_update.cc 10 libORXgtkgui_a_SOURCES = \ 11 gui.cc \ 12 gui_gtk.cc \ 13 gui_element.cc \ 14 gui_video.cc \ 15 gui_audio.cc \ 16 gui_exec.cc \ 17 gui_flags.cc \ 18 gui_banner.cc \ 19 gui_keys.cc \ 20 gui_update.cc 19 21 20 22 noinst_HEADERS= gui.h \ 21 22 23 24 25 26 27 28 29 23 gui_gtk.h \ 24 gui_element.h \ 25 gui_video.h \ 26 gui_audio.h \ 27 gui_exec.h \ 28 gui_flags.h \ 29 gui_banner.h \ 30 gui_keys.h \ 31 gui_update.h 30 32 31 33 EXTRA_DIST = rc \ -
branches/qt_gui/src/lib/gui/gui_saveable.cc
r7478 r7479 25 25 */ 26 26 GuiSaveable::GuiSaveable (const std::string& optionName) 27 : BaseObject(optionName) 27 28 { 28 29 this->bSaveable = false; 30 29 31 } 30 32 … … 49 51 : GuiSaveable(groupName) 50 52 { 51 // this->setName(groupName);52 53 } 53 54 -
branches/qt_gui/src/lib/gui/gui_saveable.h
r7478 r7479 15 15 { 16 16 //! A class for ... 17 class GuiSaveable 17 class GuiSaveable : public BaseObject 18 18 { 19 19 public: -
branches/qt_gui/src/lib/gui/qt_gui/qt_gui.cc
r7478 r7479 27 27 { 28 28 29 this->mainWindow = new QMainWindow(); 30 this->mainWindow->show(); 31 32 this->exec(); 29 33 30 34 -
branches/qt_gui/src/lib/gui/qt_gui/qt_gui.h
r7478 r7479 10 10 #include "gui_element.h" 11 11 #include <qapplication.h> 12 #include <qmainwindow.h> 12 13 13 14 namespace OrxGui … … 30 31 31 32 private: 33 QMainWindow* mainWindow; 32 34 std::list<GuiElement*> elements; //!< A List of Elements within the QTGui 33 35 }; -
branches/qt_gui/src/orxonox.cc
r7427 r7479 30 30 #include "globals.h" 31 31 32 #include "gui .h"32 #include "gui/qt_gui/qt_gui.h" 33 33 34 34 #include "parser/ini_parser/ini_parser.h" … … 330 330 CONFIG_SECTION_DATA, 331 331 CONFIG_NAME_DATADIR ); 332 Gui* gui = newGui(argc, argv);332 OrxGui::Gui* gui = new OrxGui::QtGui(argc, argv); 333 333 gui->startGui(); 334 334 delete gui; … … 497 497 498 498 // starting the GUI 499 Gui* gui = newGui(argc, argv);499 OrxGui::Gui* gui = new OrxGui::QtGui(argc, argv); 500 500 gui->startGui(); 501 501 502 if (!gui->startOrxonox)503 return 0;502 // if (!gui->startOrxonox) 503 // return 0; 504 504 505 505 delete gui;
Note: See TracChangeset
for help on using the changeset viewer.