graphics element hidden on creation option, changed hide/show logic to only hide/show current element

This commit is contained in:
Mikayla Fischler
2023-05-25 17:40:16 -04:00
parent e313b77abc
commit f9aa75a105
36 changed files with 69 additions and 33 deletions

View File

@@ -23,6 +23,7 @@ local element = require("graphics.element")
---@field y? integer 1 if omitted
---@field height? integer parent height if omitted
---@field fg_bg? cpair foreground/background colors
---@field hidden? boolean true to hide on initial draw
-- new multi button (latch selection, exclusively one button at a time)
---@param args multi_button_args