[API] update new Parameter API

This commit is contained in:
Edouard DUPIN 2014-10-29 22:54:43 +01:00
parent 343021de91
commit 6adec3434e
3 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ namespace ege {
public: public:
~Game() ~Game()
protected: protected:
ewol::object::ParamList<enum gameStatus> m_status; //!< the display is running (not in pause) ewol::parameter::List<enum gameStatus> m_status; //!< the display is running (not in pause)
public: public:
/** /**
* @brief Get the game status. * @brief Get the game status.
@ -63,7 +63,7 @@ namespace ege {
return m_status.set(_value) return m_status.set(_value)
} }
protected: protected:
ewol::object::ParamList<float> m_ratio; //!< Speed ratio ewol::parameter::List<float> m_ratio; //!< Speed ratio
public: public:
/** /**
* @brief Get the game speed ratio. * @brief Get the game speed ratio.

View File

@ -370,7 +370,7 @@ vec3 ege::widget::Scene::convertScreenPositionInMapPosition(const vec2& _posScre
return m_camera->projectOnZGround(calculateDeltaAngle(_posScreen)); 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); ewol::Widget::onParameterChangeValue(_paramPointer);
if (_paramPointer == m_isRunning) { if (_paramPointer == m_isRunning) {
// nothing to do ... // nothing to do ...

View File

@ -79,7 +79,7 @@ namespace ege {
gameStop gameStop
}; };
protected: protected:
ewol::object::ParamList<enum gameStatus> m_isRunning; //!< the display is running (not in pause) ewol::parameter::List<enum gameStatus> m_isRunning; //!< the display is running (not in pause)
float m_ratioTime; //!< Ratio time for the speed of the game ... float m_ratioTime; //!< Ratio time for the speed of the game ...
// Note : This is only for temporary elements : on the display // Note : This is only for temporary elements : on the display
std::vector<ege::Environement::ResultNearestElement> m_displayElementOrdered; std::vector<ege::Environement::ResultNearestElement> m_displayElementOrdered;
@ -142,7 +142,7 @@ namespace ege {
protected: // Derived function protected: // Derived function
virtual void onDraw(); virtual void onDraw();
virtual void onParameterChangeValue(const ewol::object::ParameterRef& _paramPointer); virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
public: // Derived function public: // Derived function
virtual void systemDraw(const ewol::DrawProperty& _displayProp); virtual void systemDraw(const ewol::DrawProperty& _displayProp);
virtual void onRegenerateDisplay(); virtual void onRegenerateDisplay();