56 Commits

Author SHA1 Message Date
Mads Buvik Sandvei e804f754b9 Option to suppress unused warnings 2026-04-03 14:59:01 +03:00
Alexei Kotov 02b8749bfc Fix Coverity copy warnings 2026-03-30 20:38:01 +03:00
Mads Buvik Sandvei 9a508857b9 set -> vector. Other comments by Capo 2026-03-29 16:21:14 +02:00
Mads Buvik Sandvei 26496837e7 remove redundant includes and checks 2026-03-28 20:44:52 +01:00
Mads Buvik Sandvei 3b878aae06 Actually don't short-circuit for real this time 2026-03-28 16:44:04 +01:00
Mads Buvik Sandvei 08558e8944 Fixes based on comments by Capo 2026-03-28 16:38:06 +01:00
Mads Buvik Sandvei a851dca7b9 Only generate warnings if lua debug = true. Otherwise stick to printing information about "lua debug" once. 2026-03-28 15:25:21 +01:00
Mads Buvik Sandvei fd9c11179f Use widget() to get name/typeName 2026-03-11 23:05:19 +01:00
Mads Buvik Sandvei 558bbf8b48 Warn on unused properties 2026-03-11 00:07:08 +01:00
Aussiemon 1cb8965f27 Clamp widget extension size and position calculation to prevent crashes, performance problems 2026-01-21 22:02:02 +00:00
AnyOldName3 ef8e7d97cb Resolve merge conflicts from !4971 2025-11-10 16:01:47 +00:00
Evil Eye baefea94e8 Capture this explicitly 2025-11-05 22:09:23 +01:00
AnyOldName3 0a9f5a3c66 Resolve merge conflicts from !4938 and !4956 2025-11-02 18:05:38 +00:00
Evil Eye 4f8b418c23 Ensure LuaUtil::call is invoked from a safe context 2025-10-30 22:24:53 +01:00
Evil Eye a665980d5e Erase the widget we want to attach rather than the widget we're attaching to 2025-10-23 17:23:37 +02:00
Evil Eye f7292680d6 Fix most conversion warnings in components 2025-09-18 22:00:55 +02:00
elsid 0f36b7fc97 Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
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