Evil Eye
|
481e63ffa7
|
Prevent stale pointers in UI widgets
|
2024-09-29 22:36:31 +02:00 |
|
Evil Eye
|
1d13f7db8f
|
Simplify detachFromParent
|
2024-03-28 20:17:05 +01:00 |
|
Evil Eye
|
8cbcb82dd4
|
Prevent iterator invalidation when updating Lua UI and increase const correctness
|
2024-03-28 20:01:50 +01:00 |
|
uramer
|
68ed771816
|
Fix element detachment logic
|
2024-03-14 20:28:12 +01:00 |
|
uramer
|
2f40491065
|
Fix crash when destroying UI element in the same frame as creating it
|
2024-03-14 18:08:18 +01:00 |
|
uramer
|
b12f98db98
|
Don't destroy root widget for new elements
|
2024-03-12 17:48:42 +01:00 |
|
uramer
|
af8662daee
|
Detach Lua Elements properly from their parent
|
2024-03-10 14:05:37 +01:00 |
|
uramer
|
0f60052bb8
|
Set Element state in Element::create
|
2024-03-09 22:27:10 +01:00 |
|
uramer
|
9ae61f1932
|
Fix child UI Elements created in the same frame as parent
|
2024-03-06 23:16:02 +01:00 |
|
uramer
|
9cce2e39ba
|
Merge branch 'master' into menuscripts
|
2024-01-27 15:45:31 +01:00 |
|
Andrei Kortunov
|
87c9f395f1
|
Move local variables in components
|
2024-01-19 16:01:48 +04:00 |
|
uramer
|
b9afd7245c
|
Create separate UI api tables for menu and player contexts
|
2024-01-13 10:13:13 +01:00 |
|
uramer
|
4ed2af7666
|
Merge branch 'master' into menuscripts
|
2024-01-10 23:21:42 +01:00 |
|
Andrei Kortunov
|
d1a7dfee87
|
Add missing assertion
|
2024-01-08 16:19:40 +04:00 |
|
uramer
|
a6e2ceebb8
|
Don't clear menu UI on game load
|
2024-01-07 23:29:20 +01:00 |
|
Evil Eye
|
f52e8f76c6
|
Use std::erase instead of using std::remove without erasing
|
2023-11-29 16:59:01 +01:00 |
|
uramer
|
f3a7b087eb
|
Clean up unncesesary namespace prefixes
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
86ea12a458
|
Handle moving element into another element layout
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
cf84386cc2
|
Use Element Content children for Settings UI
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
4ba2aca3d3
|
Handle Element root changing type
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
919e067ab7
|
Error when encountering destroyed widgets
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
a36360cbde
|
Update parent coords when updating element
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
4a4cef5709
|
Attach elements to each other, safely destroy
|
2023-11-24 20:36:45 +01:00 |
|
uramer
|
e1cbeb0d3b
|
Don't free ui element's shared_ptr right before destroying it
|
2023-08-20 16:02:38 +02:00 |
|
Petr Mikheev
|
c6eed2a6c6
|
Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup
|
2023-05-20 02:34:23 +02:00 |
|
Petr Mikheev
|
c362b2efa6
|
Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts.
|
2023-04-25 22:11:04 +02:00 |
|
uramer
|
38bceb653d
|
Set Element layout to nil on destroy
|
2023-02-26 14:13:06 +01:00 |
|
Petr Mikheev
|
65885d994f
|
Don't expose LuaUtil::Callback to lua
|
2023-02-14 21:08:19 +01:00 |
|
uramer
|
e96681151c
|
Get rid of the LuaUI::Content namespace
|
2023-02-01 17:18:50 +01:00 |
|
uramer
|
fc1430af95
|
Move implementation of UI Content to Lua
|
2023-01-29 17:07:38 +01:00 |
|
Petr Mikheev
|
d9e9db0983
|
Additional information in Lua profiler
|
2023-01-13 21:14:23 +01:00 |
|
clang-format-bot
|
ddb0522bbf
|
Apply clang-format to code base
|
2022-09-22 21:35:26 +03: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 |
|