diff options
author | Wuzzy <almikes@aol.com> | 2016-11-29 18:14:09 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-11-29 18:14:09 +0100 |
commit | cd98073c40a3340526a3a4238b5c71eefb57f2c5 (patch) | |
tree | 4493835129610bb2f941118d168345b5f637e526 /init.lua | |
parent | 4d2b79732c62bf4b33c9262df295094591f1495e (diff) |
Add docs for doc.widgets.gallery
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -511,6 +511,7 @@ doc.widgets.text = function(data, x, y, width, height) end -- Image gallery +-- Currently, only one gallery per entry is supported. TODO: Add support for multiple galleries in an entry (low priority) doc.widgets.gallery = function(imagedata, playername, x, y, aspect_ratio, width, rows) if playername == nil then return nil end -- emergency exit @@ -564,8 +565,7 @@ doc.widgets.gallery = function(imagedata, playername, x, y, aspect_ratio, width, end local bw, bh - -- TODO: Use different identifiers - return formstring, "doc_button_gallery_prev", "doc_button_gallery_next" + return formstring, ih end -- Direct formspec |