psi29a
a63d7e473e
Merge branch 'crash_temporary_ui_element' into 'master'
...
Fix crash #7469
See merge request OpenMW/openmw!3367
(cherry picked from commit 42469c4b54
)
e1cbeb0d
Don't free ui element's shared_ptr right before destroying it
2023-08-21 09:25:50 +22:02
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
95219e6fa2
Fix bug in lua_ui/content.lua: getmetatable(ui.content{}) shouldn't return a global mutable table ( !2733 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
Petr Mikheev
628017a817
Move asyncpackage from apps/openmw/mwlua to components/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
Andrei Kortunov
7cce341822
Fix initializer
2022-07-03 15:44:50 +04:00
Andrei Kortunov
aa349f2ed9
Initialize some missing variables
2022-07-03 15:44:50 +04:00
uramer
591fa9b700
Add missing workaround for a MyGUI visibility bug
2022-06-20 21:43:17 +02:00
uramer
6d2dcaea50
Lua UI: Enable autoSize for single line text edit
2022-06-11 22:24:20 +02:00
uramer
6c9c832927
Lua UI: Support autosized multiline text
2022-06-06 21:52:55 +00:00
jvoisin
0cc304e659
Clean up MyGUI includes
...
This should improve incremental compilation.
2022-06-04 15:26:36 +02: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
Petr Mikheev
d16fa553c8
Fix LuaUtil::Callback
2022-05-15 21:34:48 +02:00
uramer
1766f89c4d
Fix a typo
2022-05-14 16:55:11 +02:00
uramer
52d05be04b
Styling for Settings
2022-05-14 10:27:30 +00:00
uramer
e92c88a133
Make the documentation clearer, match the documentation when no buttons are pressed for an event
2022-05-10 20:00:42 +02:00
uramer
1f5e3b78d4
Use Flex, don't force re-renders on layout table changes
2022-05-08 11:15:17 +02:00
uramer
aea2c019de
Fix content names for layouts inserted with :add()
2022-05-08 11:15:16 +02:00
uramer
03659bef86
MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594 )
2022-05-03 17:36:49 +00:00
uramer
02bbd226b8
Less primary/secondary coordinate boilerplate in Flex
2022-04-06 23:36:44 +02:00
uramer
3c74a20335
Refactor horizontal/vertical cases in Flex
2022-04-05 17:51:04 +02:00
uramer
788745e004
Make coordinate calculation more robust, implement Flex widget type
2022-04-04 23:10:03 +02:00
Petr Mikheev
fbc84465c5
Merge branch 'futureproof_layers' into 'master'
...
Add layer size, make layers API more flexible
See merge request OpenMW/openmw!1724
2022-03-29 20:11:11 +00:00
uramer
5d1fe6c2bc
Add layer size, make layers API more flexible
2022-03-23 15:04:49 +01:00
psi29a
d2f2393de8
Merge branch 'opacity_color_bindings' into 'master'
...
Bindings for image color and widget alpha (#6654 )
Closes #6654
See merge request OpenMW/openmw!1723
2022-03-23 08:32:15 +00:00
Cody Glassman
b3e0275e89
Lua UI API: Let image manager handle missing textures
2022-03-22 05:41:26 +00:00
glassmancody.info
26c7e308ed
mygui bindings for color and alpha
2022-03-21 22:00:32 -07:00
uramer
8e81b6c645
Fix updating UI image resource
2022-03-19 21:26:02 +01:00
uramer
36c46ada6f
Pass unhandled Lua UI events to the parent
2022-03-14 19:07:23 +00:00
uramer
67879bac55
MR feedack
2022-02-26 17:01:46 +01:00
uramer
a7bb87d8a1
Use StringUtils::format
2022-02-25 18:18:27 +01:00
uramer
e7ed709e5e
Fix Lua TextEdit skin
2022-02-25 18:18:26 +01:00
uramer
fc50724f5c
Render text and images correctly in templates with slots
2022-02-25 18:18:26 +01:00
uramer
e092ee2624
Document the Lua Image widget, add UI texture resources
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
ef1e72dc17
Revert from settings description to searchHints
2022-02-01 19:50:03 +01:00
uramer
7f796d148e
Clean up
2022-02-01 19:50:03 +01:00
uramer
67641dcdb7
Fix compile errors
2022-02-01 19:50:03 +01: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
1455aa3e02
Allow changing script settings pages after registering them
2022-02-01 19:50:02 +01:00
uramer
5f7ab49880
Implement script setting pages' descriptions
2022-02-01 19:50:02 +01:00
uramer
a005f25c4b
Use page terminology for script settings
2022-02-01 19:50:02 +01:00
uramer
e78b8402fa
Fix warnings
2022-02-01 19:50:02 +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
fba82eb1a7
Script settings tab
2022-02-01 19:50:02 +01:00