48 Commits
Author SHA1 Message Date
nox7 39c7def396 Document that ui.getElements now returns elements in rendered order when on an overlapping MyGUI layer 2026-10-05 10:14:03 -05:00
Alexei Kotov baba267c20 Merge branch 'cursor-rotation' into 'master'
Missing Lua cursor feature - rotation

See merge request OpenMW/openmw!5651
2026-10-03 22:48:07 +03:00
nox7 1719cf6e75 Document clockwise movement. Use radians instead of degrees. Swap float usage to double 2026-10-02 06:56:44 -05:00
nox7 d3df056187 Docs 2026-10-02 06:33:53 -05:00
nox7 998f7ecc80 Add missing cursor prop to widgets. Fix ui cursor docs and broken mlink 2026-10-01 15:53:03 -05:00
nox7 b6fe8e755c Dupe calling clarification 2026-09-21 19:05:37 -05:00
nox7 2d7abc8ca7 Update docs with new cursor size max and info on dupe calling 2026-09-21 19:05:37 -05:00
nox7 5ac61e001b Add getCursor(), but also properly revert back to the original engine cursor if the Lua cursor is set to nil 2026-09-21 19:03:59 -05:00
nox7 b3a0227e44 Add Lua custom cursor registration 2026-09-21 19:03:58 -05:00
nox7 78ef775562 Add setCursorPosition and getCursorPosition 2026-09-21 19:03:58 -05:00
nox7 31909fbde2 Disable player controls when the Lua API requests mouse release 2026-09-21 19:03:58 -05:00
nox7 75a7c2c10a Change names of cursor visibility methods 2026-09-21 19:03:58 -05:00
nox7 ce0b469e6a Update docs 2026-09-21 19:03:58 -05:00
nox7 9e7a55e196 First pass with basic Lua bindings for controlling cursor mode and visibility 2026-09-21 19:03:58 -05:00
nox7andEvil Eye 97f3f11d9c Remove word 'normalized' 2026-09-03 17:26:54 +02:00
nox7andEvil Eye 81f90ec660 Use preciseX and preciseY from SDL to account for fractional scrolling on high-precision devices 2026-09-03 17:26:54 +02:00
nox7andEvil Eye 1ccc932e18 Switch to using SDL wheel event instead of MyGui 2026-09-03 17:26:53 +02:00
nox7andEvil Eye 557480e651 Document mouse wheel event on widget 2026-09-03 17:26:53 +02:00
Alexei Kotov de993b89da Merge branch 'get-all-elements' into 'master'
Add getElements to UI Lua module

Closes #9206

See merge request OpenMW/openmw!5414
2026-07-18 16:24:35 +03:00
nox7andAlexei Kotov fa82710cb1 Add to Lua docs 2026-07-17 02:54:32 +03:00
nox7 2559c690e8 Add new method to Lua docs 2026-07-11 12:18:54 -05:00
Mads Buvik SandveiandAlexei Kotov e804f754b9 Option to suppress unused warnings 2026-04-03 14:59:01 +03:00
Cody Glassman 302d92561d docs - begin restructing docs 2025-06-16 15:36:43 -07:00
Evil Eye 91bcd0a556 Add a showInDialogue parameter to ui.showMessage and use it for level up messages 2024-06-27 17:16:49 +02:00
uramer 79deb5f559 Remove settings pages in Lua 2024-01-10 23:13:27 +01:00
uramer 88049ffac6 Document packages available in menu scripts 2024-01-08 21:58:11 +01:00
uramer 2be3824d9e Clarify child element update behavior in the documentation 2023-11-24 20:41:54 +01:00
uramer 39df270ff2 Update UI Content docs 2023-11-24 20:36:45 +01:00
uramer 9e22a5ac43 Add a note in the docs 2023-02-26 14:13:06 +01:00
psi29a 68b3b90255 Merge branch 'ui_content_leak' into 'master'
Move implementation of UI Content to Lua (#7155)

See merge request OpenMW/openmw!2661
2023-02-01 22:51:47 +00:00
uramer 539ee77888 Note Layout names colliding with Content methods 2023-01-30 23:29:00 +01:00
uramerandPetr Mikheev c17eedd348 Documentation and API fixes (part of !2529) 2023-01-30 10:13:26 +00:00
Adam Ibrahim 96f4057f08 Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua 2022-05-18 03:22:12 +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
uramerandCody Glassman 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 2022-05-03 17:36:49 +00:00
Petr Mikheev 88d09c336c Lua console 2022-04-21 21:57:07 +02:00
uramer 5d1fe6c2bc Add layer size, make layers API more flexible 2022-03-23 15:04:49 +01:00
Petr Mikheev d185cb6dce Add Lua function ui.screenSize() 2022-03-20 00:16:41 +01:00
uramer e7474490a1 Document using ui.texture to create atlases 2022-02-25 18:18:27 +01:00
uramer 94cc090f73 PR feedack for documentation 2022-02-25 18:18:27 +01:00
uramer e092ee2624 Document the Lua Image widget, add UI texture resources 2022-02-25 18:18:26 +01:00
uramerandPetr Mikheev a1abc84f59 Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way. 2022-02-21 20:43:27 +00:00
uramerandPetr Mikheev 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 946b8b804c MR feedback 2022-02-02 16:42:04 +01:00
uramer 2185fd29c5 Document ui.registerSettingsPage 2022-02-01 19:50:03 +01:00
uramerandPetr Mikheev c865114b9b Lua UI Layers 2021-12-14 17:38:06 +00:00
uramerandPetr Mikheev 68963538ae Lua UI API 2021-11-18 15:19:54 +00:00
Petr Mikheev 4eb5841c60 Update OpenMW Lua documentation 2021-07-09 20:48:54 +02:00