MCPcopy Create free account
hub / github.com/Samsung/rlottie / _toggle_start_button

Function _toggle_start_button

example/lottieviewer.cpp:74–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static void
75_toggle_start_button(AppInfo *info)
76{
77 if (!info->autoPlaying)
78 {
79 info->autoPlaying = EINA_TRUE;
80 info->view->play();
81 elm_object_text_set(info->button, "Stop");
82 }
83 else
84 {
85 info->autoPlaying = EINA_FALSE;
86 info->view->stop();
87 elm_object_text_set(info->button, "Start");
88 }
89}
90
91static Eina_Bool
92_animator_cb(void *data)

Callers 2

_animator_cbFunction · 0.85
_button_clicked_cbFunction · 0.85

Calls 2

playMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected