/** * @author Edouard DUPIN * * @copyright 2010, Edouard DUPIN, all right reserved * * @license MPL v2.0 (see license file) */ #pragma once #include #include #include #include namespace appl { class Windows : public ewol::widget::Windows { private: ememory::SharedPtr m_env; ememory::SharedPtr m_camera; ege::camera::ControlBase m_cameraControler; protected: Windows(); void init() override; public: DECLARE_FACTORY(Windows); virtual ~Windows() { }; private: void onCallbackPeriodicUpdateCamera(const ewol::event::Time& _event); public: void setMeshName(const std::string& _fileName); void setDebugNormal(); void setDebugAABB(); void setDebugShape(); bool onEventEntry(const ewol::event::Entry& _event) override; bool onEventInput(const ewol::event::Input& _event) override; }; }