rlottie/example: refactor to use evas_object_image_pixels_dirty_set() api

This commit is contained in:
subhransu mohanty
2019-06-04 13:58:32 +09:00
committed by Subhransu
parent e521b6d8df
commit 11c7403768
6 changed files with 74 additions and 94 deletions

View File

@@ -103,14 +103,6 @@ onKeyCb(void *data, void *extra)
}
}
static void
onRenderPreCb(void *data, void */*extra*/)
{
UxSampleTest *view = (UxSampleTest *)data;
if (view->mView)
view->mView->render();
}
static void
onResizeCb(void *data, void */*extra*/)
{
@@ -134,7 +126,6 @@ main(int argc, char **argv)
app->addExitCb(onExitCb, view);
app->addKeyCb(onKeyCb, view);
app->addRenderPreCb(onRenderPreCb, view);
app->addResizeCb(onResizeCb, view);
app->run();