Commit Graph
195 Commits
Author SHA1 Message Date
nox7 998f7ecc80 Add missing cursor prop to widgets. Fix ui cursor docs and broken mlink 2026-10-01 15:53:03 -05:00
Evil Eye 11bf73b30f Merge branch 'improve-ui-examples' into 'master'
Improve Lua UI docs with concrete examples

Closes #9166

See merge request OpenMW/openmw!5370
2026-09-11 09:25:12 +00:00
Cole Green b4b406991e Update images to use new docs master links 2026-09-10 19:39:29 -05:00
nox7andAlexei Kotov d11ab71852 Add ignorePointerEvents and update docs with new prop 2026-09-10 09:54:44 +03:00
Dave Corley 0a520521cd CLEANUP: Save state mutation should be gated behind a function and not contextually mutable 2026-09-04 11:19:32 -05:00
nox7andEvil Eye 557480e651 Document mouse wheel event on widget 2026-09-03 17:26:53 +02:00
Alexei Kotov 44c14fe735 Merge branch 'projectile-onhit-handlers' into 'master'
Magic projectile onhit handler

Closes #9265

See merge request OpenMW/openmw!5483
2026-08-26 03:55:50 +03:00
jvoisin 7d626a9919 Merge branch 'showmessage_event_arg' into 'master'
ShowMessage event now supports showInDialogue argument too

See merge request OpenMW/openmw!5538
2026-08-24 19:03:59 +00:00
Mads Buvik Sandvei e2b73d51f1 Merge branch 'master' into projectile-onhit-handlers 2026-08-23 23:49:56 +02:00
GoodBetterandCole Green 697f79e1ea Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Cole Green <36878742-nox7@users.noreply.gitlab.com>
2026-08-22 18:34:33 +00:00
gbtb c88fd1ea68 ShowMessage event now supporst showInDialogue argument too 2026-08-22 18:21:29 +10:00
Mads Buvik SandveiandEvil Eye b75c2eada6 Combat global 2026-08-20 15:38:37 +00:00
Mads Buvik Sandvei 6644b6de1d Review comments 2026-08-13 21:50:30 +02:00
Mads Buvik Sandvei 88f11c5130 Magic Projectile on hit handler 2026-08-06 21:48:31 +02:00
Dave CorleyandEvil Eye 4de8816679 CLEANUP: again 2026-08-03 16:51:12 +02:00
Dave CorleyandEvil Eye a98c12431e CLEANUP: Correct documentation errors 2026-08-03 16:51:12 +02:00
Dave CorleyandEvil Eye 9ebc92b4a9 CLEANUP: 3 am copy paste error 2026-08-03 16:51:12 +02:00
Dave CorleyandEvil Eye ba4b40e668 FEAT: Add an eventHandler in global scope to switch save states for objects 2026-08-03 16:51:12 +02:00
Mads Buvik SandveiandAlexei Kotov 3ad5daf348 Dehardcode apply magic effects 2026-07-30 00:42:34 +03:00
MathiasandClaude Fable 5 4f93c2460e Clamp out-of-range values in the number settings renderer (#9183)
Previously the number renderer silently discarded input outside the
min/max range and restored the stored value, forcing users to guess the
limits. Clamp to the nearest bound instead.

The integer check runs before clamping so that non-integer input is
still rejected for integer settings rather than accepted whenever it
happens to clamp to an integral bound.

The focusLoss handler now always stores the resolved value - the clamped
number, or the previous value when the input cannot be parsed. Writing
the setting is what rebuilds the widget, so a value that clamps onto the
value already stored would otherwise leave the raw text on display.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 08:56:49 +02:00
nox7andAlexei Kotov 48e94bfabb Refactor vec4i usage to new padding struct. A lot easier to follow in code 2026-07-27 17:07:41 +03:00
nox7andAlexei Kotov 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
nox7andAlexei Kotov 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 GreenandAlexei Kotov a166325465 Add documentation of padding on base Widget 2026-07-27 17:07:41 +03:00
Cole GreenandAlexei Kotov be7301b9ed Implement onPlaced and onDropped for actors and players 2026-07-18 16:30:12 +03:00
nox7 2cbc877a2d Update flex examples with new code and new images 2026-07-16 21:17:15 -05:00
nox7 3da1c01ba1 Update example titles following review suggestion 2026-07-16 20:40:24 -05:00
nox7 ebf3b8206e Add comment about force dContainer type. Change 'Window' verbiage to 'Box' 2026-07-16 20:27:32 -05:00
Cole Green 5afa50bc36 Headline syntax to match headline text length 2026-07-16 20:24:11 -05:00
Cole Green e37d6f6734 Resolve comments on formatting - headline RST syntax delimiter lengths matching character length. Remove stray period 2026-07-16 20:24:11 -05:00
Cole Green 245f445476 Resolve markdown usage instead of accepted RST syntax 2026-07-16 20:24:11 -05:00
Cole Green 2d5583e475 Normalize example quotes. Remove semicolon in examples 2026-07-16 20:24:11 -05:00
nox7 5745208b0c Two more flex examples with grow external and MWUI example with text 2026-07-16 20:24:11 -05:00
nox7 635fa112e3 Provide new docs on how to create UI with MWUI and using flex widgets 2026-07-16 20:24:11 -05:00
Cole Greenandnox7 edaa32e01b Document 'wrap' property on flex widgets 2026-05-30 21:48:01 -05:00
Cole Greenandnox7 e7fd7254ac Document 'gap' property in flex doc 2026-05-30 21:48:01 -05:00
Alexei Kotov ff26ff7241 Revert "Merge branch 'flex-wrap-property' into 'master'"
This reverts commit e75866ff5a, reversing
changes made to 5ceff51074.
2026-05-30 15:42:23 +03:00
Alexei Kotov 728de5c15a Merge branch 'viewport-resized-handler' into 'master'
Implement onViewportResized Handler

See merge request OpenMW/openmw!5276
2026-05-29 00:57:42 +03:00
Cole GreenandAlexei Kotov a0f22d3cb4 Document 'wrap' property on flex widgets 2026-05-29 00:54:08 +03:00
Cole GreenandAlexei Kotov 9b0b0b172c Document 'gap' property in flex doc 2026-05-29 00:54:08 +03:00
nox7 eca4eaffc3 Fix desync of packages and missing player context 2026-05-04 22:17:27 -05:00
nox7 72734671be Fix docs showing wrong table index for ModifyStat event 2026-05-04 21:16:05 -05:00
nox7 c30dbf3c4d Fix docs showing openmw.types available in Menu context 2026-05-04 21:15:48 -05:00
Cole Greenandnox7 fdb8a64860 Document 'onViewportResized' engine handler 2026-04-21 20:41:39 -05:00
Evil Eye e39b867f11 Fix docs 2026-03-01 20:58:14 +01:00
Evil Eye 75772caa10 Add documentation 2026-03-01 20:58:14 +01:00
MaarsandDaisyhasacat 731a0ee698 onDialogueResponse implementation 2026-02-13 22:55:38 +00:00
Alexei Kotov 0fffd25141 Fix SkillProgression interface documented context (#8815) 2026-01-16 10:49:12 +03:00
uramer 47721e7939 Fix dead links to Teal documentation 2025-11-26 14:54:11 +00:00
Evil Eye e978c230dc Override functions by shallow copying the interface instead of overriding files 2025-11-24 17:45:07 +01:00