mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Lua UI templates
This commit is contained in:
parent
063af50dee
commit
960dd1f708
18 changed files with 521 additions and 257 deletions
|
@ -2,9 +2,10 @@
|
|||
|
||||
namespace LuaUi
|
||||
{
|
||||
void LuaTextEdit::setProperties(sol::object props)
|
||||
void LuaTextEdit::updateProperties()
|
||||
{
|
||||
setCaption(parseProperty(props, "caption", std::string()));
|
||||
WidgetExtension::setProperties(props);
|
||||
setCaption(propertyValue("caption", std::string()));
|
||||
|
||||
WidgetExtension::updateProperties();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue