Changeset 144 in flair-src for trunk/lib/FlairSimulator/src


Ignore:
Timestamp:
Feb 27, 2017, 10:59:54 AM (8 years ago)
Author:
Bayard Gildas
Message:

Go!

Location:
trunk/lib/FlairSimulator/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Gui_impl.cpp

    r134 r144  
    266266    }
    267267
    268     for (size_t i = 0; i < models.size(); i++) {
    269       models.at(i)->ProcessUpdate(NULL);
    270     }
     268//    for (size_t i = 0; i < models.size(); i++) {
     269//      models.at(i)->ProcessUpdate(NULL);
     270ProcessUpdate(NULL);
     271Printf("Appel à ProcessUpdate depuis Gui_impl::RunGui\n");
     272//    }
    271273
    272274    // on fait ca ici, devrait etre un peu plus haut
  • trunk/lib/FlairSimulator/src/Model_impl.cpp

    r70 r144  
    331331
    332332    self->ProcessUpdate(output);
     333Printf("Appel à ProcessUpdate depuis Model_impl::Run\n"); //already done by Gui_impl::RunGui (dans le cas où il y a un GUI)
    333334  }
    334335
  • trunk/lib/FlairSimulator/src/unexported/Gui_impl.h

    r70 r144  
    2525
    2626namespace irr {
    27 class IrrlichtDevice;
    28 namespace scene {
    29 class ISceneManager;
    30 class IMeshSceneNode;
    31 class ITriangleSelector;
    32 }
    33 namespace video {
    34 class IVideoDriver;
    35 }
    36 namespace gui {
    37 class IGUIFont;
    38 class IGUIEnvironment;
    39 }
     27  class IrrlichtDevice;
     28  namespace scene {
     29    class ISceneManager;
     30    class IMeshSceneNode;
     31    class ITriangleSelector;
     32  }
     33  namespace video {
     34    class IVideoDriver;
     35  }
     36  namespace gui {
     37    class IGUIFont;
     38    class IGUIEnvironment;
     39  }
    4040}
    4141
    4242namespace flair {
    43 namespace core {
    44 class Object;
    45 }
    46 namespace simulator {
    47 class Model;
    48 class GenericObject;
    49 class Gui;
    50 class VisualizationCamera;
    51 }
     43  namespace core {
     44    class Object;
     45    class IODevice;
     46  }
     47  namespace simulator {
     48    class Model;
     49    class GenericObject;
     50    class Gui;
     51    class VisualizationCamera;
     52  }
    5253}
    5354
    5455class MyEventReceiver;
    5556
    56 class Gui_impl {
     57class Gui_impl:public IODevice {
    5758public:
    5859  Gui_impl(flair::simulator::Gui *self, int app_width, int app_height,
Note: See TracChangeset for help on using the changeset viewer.