Changeset 4316 in orxonox.OLD for orxonox/branches/physics/src/subprojects/particles/framework.cc
- Timestamp:
- May 27, 2005, 12:34:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/subprojects/particles/framework.cc
r4314 r4316 19 19 #include "particle_engine.h" 20 20 21 #include "gui_gtk.h" 21 22 #include "p_node.h" 22 23 #include "null_parent.h" … … 27 28 #include "resource_manager.h" 28 29 #include "camera.h" 30 31 #include <pthread.h> 29 32 30 33 int verbose; … … 348 351 349 352 353 void* Framework::initGui(void* argv) 354 { 355 Window* guiMainWindow = NULL; 356 357 initGUI(0, NULL); 358 359 guiMainWindow = new Window("ParticlesFUN"); 360 361 Window::mainWindow->showall(); 362 mainloopGUI(); 363 } 364 365 350 366 351 367 int main(int argc, char *argv[]) 352 368 { 353 369 verbose = 3; 370 pthread_t guiThread; 371 354 372 Framework* framework = new Framework(); 373 374 pthread_create(&guiThread, NULL, Framework::initGui,(void*) argv); 375 // framework->initGui(argv); 376 355 377 framework->mainLoop(); 356 378
Note: See TracChangeset
for help on using the changeset viewer.