Commit Graph

39 Commits

Author SHA1 Message Date
Evil Eye b0e9df0139 Ensure class members are tied to the main Lua state 2025-03-03 19:37:07 +01:00
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 af8662daee Detach Lua Elements properly from their parent 2024-03-10 14:05:37 +01:00
uramer 9403f06618 Fix visibility breaking after multiple updates 2023-11-24 20:36:45 +01:00
uramer d214f6f6ef Get rid of unncesesary onCoordChange 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
psi29a 6a87ba8f33 Merge branch 'mygui343_fix' into 'master'
Fix MyGUI 3.4.3 issues [#7528]

See merge request OpenMW/openmw!3319
2023-10-25 12:35:13 +00:00
uramer 6081dcc43c Work around MyGUI bug in a less destructive way 2023-10-22 11:29:00 +02:00
Bret Curtis e97b07b6a4 additional cleanup 2023-10-17 23:53:04 +02:00
Andrei Kortunov f5b18d2d5d Do not copy objects twice where possible 2023-08-02 20:03:48 +04:00
Evil Eye a0127dd7e4 Allow compilation with MYGUI_DONT_USE_OBSOLETE 2023-07-15 15:02:27 +02:00
elsid 843753da14
Remove unused includes 2022-10-09 16:44:18 +02:00
clang-format-bot ddb0522bbf
Apply clang-format to code base 2022-09-22 21:35:26 +03: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
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 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
glassmancody.info 26c7e308ed mygui bindings for color and alpha 2022-03-21 22:00:32 -07:00
uramer 36c46ada6f Pass unhandled Lua UI events to the parent 2022-03-14 19:07:23 +00: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 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 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 15c7bddd57 Move SDL-MyGUI input mappings to components, map both ways 2021-12-04 12:16:38 +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 eceed558be Fix coverity uninitialized variables 2021-11-19 18:05:43 +01:00
uramer 68963538ae Lua UI API 2021-11-18 15:19:54 +00:00