[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:
~Game()
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:
/**
* @brief Get the game status.
@ -63,7 +63,7 @@ namespace ege {
return m_status.set(_value)
}
protected:
ewol::object::ParamList<float> m_ratio; //!< Speed ratio
ewol::parameter::List<float> m_ratio; //!< Speed ratio
public:
/**
* @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));
}
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 ...

View File

@ -79,7 +79,7 @@ namespace ege {
gameStop
};
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 ...
// Note : This is only for temporary elements : on the display
std::vector<ege::Environement::ResultNearestElement> 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();