mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-24 07:53:54 +00:00
24 lines
No EOL
512 B
Lua
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 |