74 Commits
Author SHA1 Message Date
nox7 c4e0ebe2ee Only change cursor after layout update is done 2026-09-26 17:22:42 -05:00
nox7 f70b2ede51 Only update cursor if it's actually changed 2026-09-26 17:17:38 -05:00
nox7 2278f02471 Fix cursor not propagating on Lua UI 2026-09-21 19:03:58 -05:00
nox7 b3a0227e44 Add Lua custom cursor registration 2026-09-21 19:03:58 -05:00
nox7 d11ab71852 Add ignorePointerEvents and update docs with new prop 2026-09-10 09:54:44 +03:00
nox7 d762b7e365 Use floats without casting 2026-09-03 17:26:54 +02:00
nox7 81f90ec660 Use preciseX and preciseY from SDL to account for fractional scrolling on high-precision devices 2026-09-03 17:26:54 +02:00
nox7 1ccc932e18 Switch to using SDL wheel event instead of MyGui 2026-09-03 17:26:53 +02:00
nox7 5749babd48 Implement mouseWheel MyGUI delegate 2026-09-03 17:26:53 +02:00
nox7 c05d8bbd06 Re-attach content widget after template children 2026-07-29 14:40:38 -05:00
nox7 91c68e0f25 Simplify padding property parsing and use parsing error that comes from propertyValue 2026-07-27 17:07:41 +03:00
nox7 48e94bfabb Refactor vec4i usage to new padding struct. A lot easier to follow in code 2026-07-27 17:07:41 +03:00
nox7 fef92b6cec Fix formatting 2026-07-27 17:07:41 +03:00
nox7 7eee4906ce Update padding to use Vec4i. Change parse behavior from Lua to accept vector4 and not a number or table. Update docs 2026-07-27 17:07:41 +03:00
nox7 7f8601fef5 Address MR review comments: Fix misspellings in docs, remove new line, remove defensive safe-guard code that has no logical use 2026-07-27 17:07:41 +03:00
Cole Green a166325465 Add documentation of padding on base Widget 2026-07-27 17:07:41 +03:00
nox7 63dcd80a89 Adds content widget for handling clipping. Implements padding logic for
position calculations.
2026-07-27 17:07:41 +03:00
nox7 d97ebb55d8 Add padding property. Add parsePadding() 2026-07-27 17:07:41 +03:00
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