1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-24 12:53:54 +00:00
openmw/files/builtin_scripts/scripts/omw/mwui/text.lua
2022-05-14 10:27:30 +00:00

24 lines
No EOL
512 B
Lua

local ui = require('openmw.ui')
local constants = require('scripts.omw.mwui.constants')
local textNormal = {
type = ui.TYPE.Text,
props = {
textSize = constants.textNormalSize,
textColor = constants.normalColor,
},
}
local textHeader = {
type = ui.TYPE.Text,
props = {
textSize = constants.textHeaderSize,
textColor = constants.headerColor,
},
}
return function(templates)
templates.textNormal = textNormal
templates.textHeader = textHeader
end