[DEV] build again

This commit is contained in:
Edouard DUPIN 2016-03-11 21:43:51 +01:00
parent a9355a5168
commit 9450ebc574
6 changed files with 11 additions and 14 deletions

View File

@ -305,11 +305,6 @@ ege::Environement::Environement() :
propertyStatus.add(gameStop, "stop", "Scene is stopped");
}
void ege::Environement::init(const std::string& _name) {
ewol::Object::init(_name);
}
void ege::Environement::clear() {
m_listElement.clear();
}

View File

@ -99,7 +99,6 @@ namespace ege {
std::vector<std::shared_ptr<ege::Element>> m_listElement; //!< List of all element added in the Game
protected:
Environement();
void init(const std::string& _name="NoName");
public:
DECLARE_FACTORY(Environement);
virtual ~Environement() { };

View File

@ -25,12 +25,12 @@ ege::widget::Mesh::Mesh():
addObjectType("ege::widget::Mesh");
}
void ege::widget::Mesh::init(const std::string& _filename) {
ewol::Widget::init(_filename);
m_meshName = _filename;
void ege::widget::Mesh::init() {
ewol::Widget::init();
m_meshName = *propertyName;
// Limit event at 1:
setMouseLimit(1);
if (_filename!="") {
if (*propertyName!="") {
m_object = ege::resource::Mesh::create(m_meshName);
if (nullptr == m_object) {
EGE_ERROR("Can not load the resource : \"" << m_meshName << "\"");

View File

@ -30,7 +30,7 @@ namespace ege {
float m_cameraDistance;
protected:
Mesh();
void init(const std::string& _filename); // automatic considering in the appl Data older
void init(); // automatic considering in the appl Data older
public:
virtual ~Mesh();
public: // Derived function

View File

@ -47,8 +47,7 @@ ege::widget::Scene::Scene() :
addObjectType("ege::widget::Scene");
}
void ege::widget::Scene::init(std::shared_ptr<ege::Environement> _env) {
m_env = _env;
void ege::widget::Scene::init() {
ewol::Widget::init();
setKeyboardRepeate(false);
propertyCanFocus.set(true);

View File

@ -51,7 +51,11 @@ namespace ege {
* @return (no execption generated (not managed in embended platform))
*/
Scene();
void init(std::shared_ptr<ege::Environement> _env);
void init();
public:
void setEnv(std::shared_ptr<ege::Environement> _env) {
m_env = _env;
}
public:
DECLARE_FACTORY(Scene);
/**