-add_executable(lottie-gif "lottie2gif.cpp")
+add_executable(lottie2gif "lottie2gif.cpp")
-target_compile_options(lottie-gif
+target_compile_options(lottie2gif
PRIVATE
-std=c++11)
-target_link_libraries(lottie-gif rlottie)
+target_link_libraries(lottie2gif rlottie)
-target_include_directories(lottie-gif
+target_include_directories(lottie2gif
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/../inc/")
using namespace std;
static void
-onExitCb(void *data, void *extra)
+onExitCb(void *data, void */*extra*/)
{
LottieView *view = (LottieView *)data;
delete view;
}
static void
-onRenderPreCb(void *data, void *extra)
+onRenderPreCb(void *data, void */*extra*/)
{
LottieView *view = (LottieView *)data;
view->render();
}
static Eina_Bool
-on_key_down(void *data, int type, void *event)
+on_key_down(void *data, int /*type*/, void *event)
{
Ecore_Event_Key *keyData = (Ecore_Event_Key *)event;
}
std::vector<std::string>
-EvasApp::jsonFiles(const std::string &dirName, bool recurse)
+EvasApp::jsonFiles(const std::string &dirName, bool /*recurse*/)
{
DIR *d;
struct dirent *dir;
}
static void
-_button_clicked_cb(void *data, Evas_Object *obj, void *event_info)
+_button_clicked_cb(void *data, Evas_Object */*obj*/, void */*event_info*/)
{
AppInfo *info = (AppInfo *)data;
}
static void
-_gl_selected_cb(void *data, Evas_Object *obj, void *event_info)
+_gl_selected_cb(void *data, Evas_Object */*obj*/, void *event_info)
{
Evas_Object *nf = (Evas_Object *)data;
Elm_Object_Item *it = (Elm_Object_Item *)event_info;
}
static char *
-_gl_text_get(void *data, Evas_Object *obj, const char *part)
+_gl_text_get(void *data, Evas_Object */*obj*/, const char */*part*/)
{
ItemData *id = (ItemData *) data;
const char *ptr = strrchr(jsonFiles[id->index].c_str(), '/');
}
static void
-_gl_del(void *data, Evas_Object *obj)
+_gl_del(void */*data*/, Evas_Object */*obj*/)
{
}
};
static void
-onExitCb(void *data, void *extra)
+onExitCb(void *data, void */*extra*/)
{
LottieViewTest *view = (LottieViewTest *)data;
delete view;
}
static void
-onRenderPreCb(void *data, void *extra)
+onRenderPreCb(void *data, void */*extra*/)
{
LottieViewTest *view = (LottieViewTest *)data;
view->render();
};
static void
-onExitCb(void *data, void *extra)
+onExitCb(void *data, void */*extra*/)
{
UxSampleTest *view = (UxSampleTest *)data;
delete view;
}
static void
-onRenderPreCb(void *data, void *extra)
+onRenderPreCb(void *data, void */*extra*/)
{
UxSampleTest *view = (UxSampleTest *)data;
if (view->mView)
}
static void
-onResizeCb(void *data, void *extra)
+onResizeCb(void *data, void */*extra*/)
{
UxSampleTest *view = (UxSampleTest *)data;
view->resize();