summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/luascript
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2024-04-14 07:36:45 +1000
committer Vas Crabb <vas@vastheman.com>2024-04-14 07:36:45 +1000
commit8e7af961c656c1cc1b1d2282a1c2a3d8d1f6d020 (patch)
treec2b961f3cbf7d7f80baa2176223608b6bb14ee7d /docs/source/luascript
parent7662be246fa603345ec44776ca0f09984328c4bd (diff)
emu/rendlay.cpp, ui/ui.cpp: Allow layout views to control pointer display.
Diffstat (limited to 'docs/source/luascript')
-rw-r--r--docs/source/luascript/ref-core.rst3
-rw-r--r--docs/source/luascript/ref-render.rst15
2 files changed, 14 insertions, 4 deletions
diff --git a/docs/source/luascript/ref-core.rst b/docs/source/luascript/ref-core.rst
index f761b20f5de..7b72d90ebdb 100644
--- a/docs/source/luascript/ref-core.rst
+++ b/docs/source/luascript/ref-core.rst
@@ -587,9 +587,6 @@ driver.is_bios_root (read-only)
driver.requires_artwork (read-only)
A Boolean indicating whether the system requires external artwork to be
usable.
-driver.clickable_artwork (read-only)
- A Boolean indicating whether the system requires clickable artwork features
- to be usable.
driver.unofficial (read-only)
A Boolean indicating whether this is an unofficial but common user
modification to a system.
diff --git a/docs/source/luascript/ref-render.rst b/docs/source/luascript/ref-render.rst
index eee432660dd..7cc1400b3cb 100644
--- a/docs/source/luascript/ref-render.rst
+++ b/docs/source/luascript/ref-render.rst
@@ -754,6 +754,10 @@ manager.machine.video.snapshot_target
Properties
~~~~~~~~~~
+target.ui_container (read-only)
+ The :ref:`render container <luascript-ref-rendercontainer>` for drawing user
+ interface elements over this render target, or ``nil`` for hidden render
+ targets (targets that are not shown to the user directly).
target.index (read-only)
The 1-based index of the render target. This has O(n) complexity.
target.width (read-only)
@@ -810,6 +814,9 @@ Instantiation
manager.machine.render.ui_container
Gets the render container used to draw the user interface, including menus,
sliders and pop-up messages.
+manager.machine.render.targets[index].ui_container
+ Gets the render container used to draw user interface elements over a
+ particular render target.
manager.machine.screens[tag].container
Gets the render container used to draw a given screen.
@@ -1145,10 +1152,16 @@ view.bounds (read-only)
effective bounds of the view in its current configuration. The coordinates
are in view units, which are arbitrary but assumed to have square aspect
ratio.
-view.has_art
+view.has_art (read-only)
A Boolean indicating whether the view has any non-screen items, including
items that are not visible because the user has hidden the item collection
that they belong to.
+view.show_pointers (read/write)
+ A Boolean that sets whether mouse and pon pointers should be displayed for
+ the view.
+view.hide_inactive_pointers (read/write)
+ A Boolean that sets whether mouse pointers for the view should be hidden
+ after a period of inactivity.
.. _luascript-ref-renderlayitem: