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

Function main

example/uxsampletest.cpp:117–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117int
118main(int argc, char **argv)
119{
120 EvasApp *app = new EvasApp(800, 800);
121 app->setup();
122
123 bool renderMode = true;
124 if (argc > 1) {
125 if (!strcmp(argv[1],"--disable-render"))
126 renderMode = false;
127 }
128 UxSampleTest *view = new UxSampleTest(app, renderMode);
129 view->showNext();
130
131 app->addExitCb(onExitCb, view);
132 app->addKeyCb(onKeyCb, view);
133 app->addResizeCb(onResizeCb, view);
134
135 app->run();
136 delete app;
137 return 0;
138}

Callers

nothing calls this directly

Calls 6

showNextMethod · 0.80
addExitCbMethod · 0.80
addKeyCbMethod · 0.80
addResizeCbMethod · 0.80
setupMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected