From 6adec3434ea382c94554f5d8fac3b60573eae382 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Wed, 29 Oct 2014 22:54:43 +0100 Subject: [PATCH] [API] update new Parameter API --- ege/Game.h | 4 ++-- ege/widget/Scene.cpp | 2 +- ege/widget/Scene.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ege/Game.h b/ege/Game.h index 1753a9e..eae7382 100644 --- a/ege/Game.h +++ b/ege/Game.h @@ -46,7 +46,7 @@ namespace ege { public: ~Game() protected: - ewol::object::ParamList m_status; //!< the display is running (not in pause) + ewol::parameter::List m_status; //!< the display is running (not in pause) public: /** * @brief Get the game status. @@ -63,7 +63,7 @@ namespace ege { return m_status.set(_value) } protected: - ewol::object::ParamList m_ratio; //!< Speed ratio + ewol::parameter::List m_ratio; //!< Speed ratio public: /** * @brief Get the game speed ratio. diff --git a/ege/widget/Scene.cpp b/ege/widget/Scene.cpp index 006ed45..f680e8b 100644 --- a/ege/widget/Scene.cpp +++ b/ege/widget/Scene.cpp @@ -370,7 +370,7 @@ vec3 ege::widget::Scene::convertScreenPositionInMapPosition(const vec2& _posScre return m_camera->projectOnZGround(calculateDeltaAngle(_posScreen)); } -void ege::widget::Scene::onParameterChangeValue(const ewol::object::ParameterRef& _paramPointer) { +void ege::widget::Scene::onParameterChangeValue(const ewol::parameter::Ref& _paramPointer) { ewol::Widget::onParameterChangeValue(_paramPointer); if (_paramPointer == m_isRunning) { // nothing to do ... diff --git a/ege/widget/Scene.h b/ege/widget/Scene.h index b98a9dc..82b07ea 100644 --- a/ege/widget/Scene.h +++ b/ege/widget/Scene.h @@ -79,7 +79,7 @@ namespace ege { gameStop }; protected: - ewol::object::ParamList m_isRunning; //!< the display is running (not in pause) + ewol::parameter::List m_isRunning; //!< the display is running (not in pause) float m_ratioTime; //!< Ratio time for the speed of the game ... // Note : This is only for temporary elements : on the display std::vector m_displayElementOrdered; @@ -142,7 +142,7 @@ namespace ege { protected: // Derived function virtual void onDraw(); - virtual void onParameterChangeValue(const ewol::object::ParameterRef& _paramPointer); + virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer); public: // Derived function virtual void systemDraw(const ewol::DrawProperty& _displayProp); virtual void onRegenerateDisplay();