/** * @author Edouard DUPIN * * @copyright 2010, Edouard DUPIN, all right reserved * * @license GPL v3 (see license file) */ #include #include #include #include #undef __class__ #define __class__ "Windows" appl::Windows::Windows() { addObjectType("appl::Windows"); } void appl::Windows::init() { ewol::widget::Windows::init(); setTitle("example 001_HelloWorld"); std::shared_ptr tmpWidget = ewol::widget::Label::create(); if (tmpWidget == nullptr) { APPL_ERROR("Can not allocate widget ==> display might be in error"); } else { tmpWidget->setLabel("Hello World"); tmpWidget->setExpand(bvec2(true,true)); setSubWidget(tmpWidget); } }