summaryrefslogtreecommitdiff
path: root/ldoc-stubs/queue.lua
diff options
context:
space:
mode:
authorRobin Howard <robin@rhoward.id.au>2024-01-21 18:13:49 +1100
committerRobin Howard <buzzyrobin@noreply.codeberg.org>2024-01-23 02:30:18 +0000
commit3f1fadbeef571a6653f5648c2b78073ddd37d169 (patch)
tree823237ccbea7dedf5dd9cbb4a317d38b502631a3 /ldoc-stubs/queue.lua
parent9b63f14cb8d2978fa1293997b541fb2a935cb89e (diff)
downloadtangara-fw-3f1fadbeef571a6653f5648c2b78073ddd37d169.tar.gz
Plumb queue next+previous through to Lua, incl. with stubs and docs.
Diffstat (limited to 'ldoc-stubs/queue.lua')
-rw-r--r--ldoc-stubs/queue.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/ldoc-stubs/queue.lua b/ldoc-stubs/queue.lua
index 83849624..2d6a2a29 100644
--- a/ldoc-stubs/queue.lua
+++ b/ldoc-stubs/queue.lua
@@ -19,4 +19,10 @@ queue.replay = types.Property
-- @see types.Property
queue.random = types.Property
+--- Moves forward in the play queue, looping back around to the beginning if repeat is on.
+function queue.next() end
+
+--- Moves backward in the play queue, looping back around to the end if repeat is on.
+function queue.previous() end
+
return queue