#63 numeric spinbox element
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user