psi29a
4f919d9239
Merge branch 'fix_element_destroy' into 'master'
...
Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup
See merge request OpenMW/openmw!3033
(cherry picked from commit 364bc91f5b
)
c6eed2a6
Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup
2023-05-21 17:34:13 +00:00
Petr Mikheev
d18588dce7
Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts.
2023-04-26 00:38:29 +02:00
uramer
ed5e0ff4f3
Set Element layout to nil on destroy ( !2770 for 0.48)
2023-02-27 23:44:00 +01:00
Petr Mikheev
1540c9679f
Don't expose LuaUtil::Callback to lua ( !2733 for 0.48)
2023-02-27 23:44:00 +01:00
uramer
4b2ef32b86
Move implementation of UI Content to Lua ( !2661 for 0.48)
2023-02-27 22:17:04 +01:00
uramer
9042f47f0a
Use an anonymous namespace in element.cpp
2022-05-19 16:10:49 +02:00
uramer
5d7fc0ab17
Limit maximum Lua UI layout depth to prevent stack overflow
2022-05-19 16:10:05 +02:00
uramer
52d05be04b
Styling for Settings
2022-05-14 10:27:30 +00:00
uramer
1f5e3b78d4
Use Flex, don't force re-renders on layout table changes
2022-05-08 11:15:17 +02:00
uramer
03659bef86
MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594 )
2022-05-03 17:36:49 +00:00
uramer
788745e004
Make coordinate calculation more robust, implement Flex widget type
2022-04-04 23:10:03 +02:00
uramer
fc50724f5c
Render text and images correctly in templates with slots
2022-02-25 18:18:26 +01:00
uramer
581c3f4882
Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI
2022-02-06 20:22:38 +00:00
uramer
f07f05ddd3
Add Container widget type, use it to make Adapter code less hacky
2022-02-01 19:50:03 +01:00
uramer
086a7d9bc5
Wrap Lua settings widgets into an Adapter widget
2022-02-01 19:50:03 +01:00
uramer
a972a54ea9
Allow changing element root widget type, prevent use after free in script settings
2022-02-01 19:50:02 +01:00
uramer
960dd1f708
Lua UI templates
2022-01-28 09:31:45 +00:00
uramer
cc528d2e08
Dispose Lua UI elements correctly
2022-01-18 08:12:56 +00:00
uramer
c865114b9b
Lua UI Layers
2021-12-14 17:38:06 +00:00
uramer
e65c946452
Add a data field to Lua UI layouts
2021-12-02 21:52:29 +00:00
uramer
e9f8c34372
Correctly set UI properties to defaults when passed nil
2021-11-28 11:31:34 +00:00
uramer
68963538ae
Lua UI API
2021-11-18 15:19:54 +00:00