Lua UI templates

This commit is contained in:
uramer 2022-01-28 09:31:45 +00:00 committed by Petr Mikheev
parent 063af50dee
commit 960dd1f708
18 changed files with 521 additions and 257 deletions

View file

@ -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();
}
}