Changeset 4316 in orxonox.OLD for orxonox/branches/physics/src/lib/gui
- Timestamp:
- May 27, 2005, 12:34:09 AM (20 years ago)
- Location:
- orxonox/branches/physics/src/lib/gui/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/lib/gui/gui/Makefile.am
r4283 r4316 25 25 noinst_LIBRARIES = libORXgui.a 26 26 27 libORXgui_a_CPPFLAGS=$(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 27 libORXgui_a_CPPFLAGS = -DBUILD_ORXONOX \ 28 $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 28 29 29 30 libORXgui_a_SOURCES = gui.cc \ -
orxonox/branches/physics/src/lib/gui/gui/Makefile.in
r4283 r4316 200 200 AM_LDFLAGS = $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 201 201 noinst_LIBRARIES = libORXgui.a 202 libORXgui_a_CPPFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 202 libORXgui_a_CPPFLAGS = -DBUILD_ORXONOX \ 203 $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 204 203 205 libORXgui_a_SOURCES = gui.cc \ 204 206 gui_gtk.cc \ -
orxonox/branches/physics/src/lib/gui/gui/gui_gtk.cc
r4178 r4316 47 47 bool initGUI(int argc, char *argv[]) 48 48 { 49 executable = new char[strlen(argv[0])+1]; 50 strcpy(executable, argv[0]); 49 if (argv) 50 { 51 executable = new char[strlen(argv[0])+1]; 52 strcpy(executable, argv[0]); 53 } 54 else 55 executable = NULL; 51 56 52 57 #ifdef HAVE_GTK2 … … 1080 1085 { 1081 1086 static_cast<Option*>(option)->changeOption(); 1082 flags->setTextFromFlags(Window::mainWindow); //// must be different !!! 1087 #ifdef BUILD_ORXONOX 1088 flags->setTextFromFlags(Window::mainWindow); 1089 #endif 1083 1090 } 1084 1091 #endif /* HAVE_GTK2 */
Note: See TracChangeset
for help on using the changeset viewer.