[DEBUG] correct ewol depreacation of periodicCall
This commit is contained in:
parent
a3bf31527e
commit
f6f440efc6
@ -8,6 +8,7 @@
|
||||
|
||||
#include <appl/debug.hpp>
|
||||
#include <etk/tool.hpp>
|
||||
#include <ewol/object/Manager.hpp>
|
||||
|
||||
appl::WidgetDisplay::WidgetDisplay() {
|
||||
addObjectType("appl::WidgetDisplay");
|
||||
@ -17,7 +18,7 @@ appl::WidgetDisplay::WidgetDisplay() {
|
||||
void appl::WidgetDisplay::init() {
|
||||
ewol::Widget::init();
|
||||
m_compositing.setSource("DATA:SnowFlake.svg", ivec2(128,128));
|
||||
periodicCallEnable();
|
||||
getObjectManager().periodicCall.connect(sharedFromThis(), &appl::WidgetDisplay::periodicCall);
|
||||
for (int32_t iii=0; iii<250 ; ++iii) {
|
||||
m_elements.push_back(appl::WidgetDisplay::Element());
|
||||
}
|
||||
|
@ -38,9 +38,9 @@ namespace appl {
|
||||
std::vector<Element> m_elements;
|
||||
public: // Derived function
|
||||
void onRegenerateDisplay();
|
||||
virtual void periodicCall(const ewol::event::Time& _event);
|
||||
virtual bool onEventInput(const ewol::event::Input& _event);
|
||||
virtual void onDraw();
|
||||
void periodicCall(const ewol::event::Time& _event);
|
||||
bool onEventInput(const ewol::event::Input& _event) override;
|
||||
void onDraw() override;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user