diff --git a/contrib/mobile/drawContext.cpp b/contrib/mobile/drawContext.cpp index abccbd2ad7367d4246aeee21ae522ee7da17af37..403ca1abdb89ddbd8aa0bd45fa913f914ecfa48d 100644 --- a/contrib/mobile/drawContext.cpp +++ b/contrib/mobile/drawContext.cpp @@ -708,7 +708,8 @@ int onelab_cb(std::string action) if(onelabUtils::runGmshClient(action, true)) redraw = 1; - if(redraw == 0 && !onelab::server::instance()->getChanged("GetDP"))continue; + if(redraw == 0 && !onelab::server::instance()->getChanged("GetDP")) + continue; std::vector<onelab::string> ps; onelab::server::instance()->get(ps, "GetDP/1ModelName"); diff --git a/contrib/mobile/drawContext.h b/contrib/mobile/drawContext.h index 87220f6e04e15834b241caae56a75b17cc8201e4..f71c9e51af41db6bce14cdd6bb22e1417be8e8ae 100644 --- a/contrib/mobile/drawContext.h +++ b/contrib/mobile/drawContext.h @@ -19,14 +19,6 @@ #include "movePosition.h" -void drawArray(VertexArray *va, int type, bool useColorArray=false, - bool useNormalArray=false); -int onelab_cb(std::string); -int animation_next(); -int animation_prev(); -int number_of_animation(); -void set_animation(int step); - class drawContext{ private: float _translate[3], _scale[3]; // current translation and scale @@ -63,4 +55,12 @@ public: void drawScale(); }; +void drawArray(VertexArray *va, int type, bool useColorArray=false, + bool useNormalArray=false); +int onelab_cb(std::string); +int animation_next(); +int animation_prev(); +int number_of_animation(); +void set_animation(int step); + #endif