diff options
| author | Robin Howard <robin@rhoward.id.au> | 2024-01-21 18:13:49 +1100 |
|---|---|---|
| committer | Robin Howard <buzzyrobin@noreply.codeberg.org> | 2024-01-23 02:30:18 +0000 |
| commit | 3f1fadbeef571a6653f5648c2b78073ddd37d169 (patch) | |
| tree | 823237ccbea7dedf5dd9cbb4a317d38b502631a3 /ldoc-stubs/queue.lua | |
| parent | 9b63f14cb8d2978fa1293997b541fb2a935cb89e (diff) | |
| download | tangara-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.lua | 6 |
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 |
