Commit Graph

26 Commits (d39552962f36473cbaf031a563b45d9835336024)

Author SHA1 Message Date
uramer e1cbeb0d3b Don't free ui element's shared_ptr right before destroying it 1 year ago
Petr Mikheev c6eed2a6c6 Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup 2 years ago
Petr Mikheev c362b2efa6 Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2 years ago
uramer 38bceb653d Set Element layout to nil on destroy 2 years ago
Petr Mikheev 65885d994f Don't expose LuaUtil::Callback to lua 2 years ago
uramer e96681151c Get rid of the LuaUI::Content namespace 2 years ago
uramer fc1430af95 Move implementation of UI Content to Lua 2 years ago
Petr Mikheev d9e9db0983 Additional information in Lua profiler 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
uramer 9042f47f0a Use an anonymous namespace in element.cpp 3 years ago
uramer 5d7fc0ab17 Limit maximum Lua UI layout depth to prevent stack overflow 3 years ago
uramer 52d05be04b Styling for Settings 3 years ago
uramer 1f5e3b78d4 Use Flex, don't force re-renders on layout table changes 3 years ago
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 3 years ago
uramer 788745e004 Make coordinate calculation more robust, implement Flex widget type 3 years ago
uramer fc50724f5c Render text and images correctly in templates with slots 3 years ago
uramer 581c3f4882 Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI 3 years ago
uramer f07f05ddd3 Add Container widget type, use it to make Adapter code less hacky 3 years ago
uramer 086a7d9bc5 Wrap Lua settings widgets into an Adapter widget 3 years ago
uramer a972a54ea9 Allow changing element root widget type, prevent use after free in script settings 3 years ago
uramer 960dd1f708 Lua UI templates 3 years ago
uramer cc528d2e08 Dispose Lua UI elements correctly 3 years ago
uramer c865114b9b Lua UI Layers 3 years ago
uramer e65c946452 Add a data field to Lua UI layouts 3 years ago
uramer e9f8c34372 Correctly set UI properties to defaults when passed nil 3 years ago
uramer 68963538ae Lua UI API 3 years ago