MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuApplicationReflow

Function PiuApplicationReflow

modules/piu/All/piuApplication.c:228–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void PiuApplicationReflow(void* it, PiuFlags flags)
229{
230 PiuApplication* self = it;
231 if (flags & piuHorizontallyChanged)
232 (*self)->flags |= piuContentsHorizontallyChanged;
233 else if (flags & piuContentsHorizontallyChanged)
234 (*self)->flags |= piuContentsHorizontallyChanged;
235 if (flags & piuVerticallyChanged)
236 (*self)->flags |= piuContentsVerticallyChanged;
237 else if (flags & piuContentsVerticallyChanged)
238 (*self)->flags |= piuContentsVerticallyChanged;
239 (*self)->flags |= piuContentsPlaced;
240 PiuViewReflow((*self)->view);
241}
242
243void PiuApplicationResize(PiuApplication* self)
244{

Callers

nothing calls this directly

Calls 1

PiuViewReflowFunction · 0.50

Tested by

no test coverage detected