fmtTime(sec: number?) → string
| arg | type | description |
|---|
| sec | number? | |
fmtDate(t: number?) → string
| arg | type | description |
|---|
| t | number? | |
snippet(s: string?, n: number) → string
| arg | type | description |
|---|
| s | string? | |
| n | number | |
panelBox(ctx: ?, W: ?, H: ?, portrait: ?, maxW: ?, maxH: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| W | ? | |
| H | ? | |
| portrait | ? | |
| maxW | ? | |
| maxH | ? | |
focusOf(ctx: ?, t: ?, idx: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
| idx | ? | |
buildLog(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
perPage(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
slotNo(ctx: ?, t: ?, i: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
| i | ? | |
slotCard(ctx: ?, T: ?, i: ?, n: ?, data: ?, w: ?, h: ?, mode: ?, focused: ?, layout: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| i | ? | |
| n | ? | |
| data | ? | |
| w | ? | |
| h | ? | |
| mode | ? | |
| focused | ? | |
| layout | ? | |
savesHeader(ctx: ?, T: ?, t: ?, pw: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| t | ? | |
| pw | ? | |
savesTabs(ctx: ?, T: ?, t: ?, pw: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| t | ? | |
| pw | ? | |
buildSaves(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
galleryItems(ctx: ?) → void
buildGallery(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
buildViewer(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
rowStyle(ctx: ?, T: ?, w: ?, focused: ?, extra: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| w | ? | |
| focused | ? | |
| extra | ? | |
sliderRow(ctx: ?, T: ?, t: ?, items: ?, key: ?, label: ?, min: ?, max: ?, fmt: ?, w: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| t | ? | |
| items | ? | |
| key | ? | |
| label | ? | |
| min | ? | |
| max | ? | |
| fmt | ? | |
| w | ? | |
toggleRow(ctx: ?, T: ?, t: ?, items: ?, key: ?, label: ?, desc: ?, w: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| t | ? | |
| items | ? | |
| key | ? | |
| label | ? | |
| desc | ? | |
| w | ? | |
chipRow(ctx: ?, T: ?, t: ?, items: ?, label: ?, list: ?, current: ?, cbPrefix: ?, w: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| t | ? | |
| items | ? | |
| label | ? | |
| list | ? | |
| current | ? | |
| cbPrefix | ? | |
| w | ? | |
controlsHelp(ctx: ?, T: ?, w: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| w | ? | |
head(icon: ?, text: ?, width: ?) → void
| arg | type | description |
|---|
| icon | ? | |
| text | ? | |
| width | ? | |
previewBox(ctx: ?, T: ?, w: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| T | ? | |
| w | ? | |
buildSettings(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
buildMenu(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
buildConfirm(ctx: ?, t: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
build(kind: string, ctx: ?, t: ?) → void
| arg | type | description |
|---|
| kind | string | |
| ctx | ? | |
| t | ? | |
slotAction(ctx: ?, t: ?, n: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
| n | ? | |
setPage(ctx: ?, t: ?, p: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
| p | ? | |
callback(ctx: ?, a: string, parts: ?, data: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| a | string | |
| parts | ? | |
| data | ? | |
input(ctx: ?, t: ?, i: ?) → boolean
Screen-specific keys and buttons; returns true when it handled the frame's intent.
| arg | type | description |
|---|
| ctx | ? | |
| t | ? | |
| i | ? | |