#63 numeric spinbox element

This commit is contained in:
Mikayla Fischler
2022-06-11 16:44:31 -04:00
parent 3004902ce5
commit 4488a0594f
2 changed files with 100 additions and 0 deletions

View File

@@ -87,6 +87,11 @@ function element.new(args)
function protected.on_update(...)
end
-- get control value
function protected.get_value()
return nil
end
---@class graphics_element
local public = {}
@@ -117,6 +122,11 @@ function element.new(args)
protected.on_update(...)
end
-- get the control value reading
function public.get_value()
return protected.get_value()
end
-- show the element
function public.show()
protected.window.setVisible(true)