Package openmw_aux.uiΒΆ

OpenMW version: 0.49.0
core.API_REVISION: 60 *

openmw_aux.ui defines utility functions for UI.

Implementation can be found in resources/vfs/openmw_aux/ui.lua.

Usage:

local auxUi = require('openmw_aux.ui')

Type ui

ui.deepDestroy(elementOrLayout)

Recursively destroys all elements in the passed layout or element

ui.deepLayoutCopy(layout)
ui.deepUpdate(elementOrLayout)

Recursively updates all elements in the passed layout or element

Type ui

Field(s)

ui.deepDestroy(elementOrLayout)

Recursively destroys all elements in the passed layout or element

Parameter

ui.deepLayoutCopy(layout)

Parameter

  • #table layout :

Return value

#table: copied layout

ui.deepUpdate(elementOrLayout)

Recursively updates all elements in the passed layout or element

Parameter