mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
#62 redrawing
This commit is contained in:
parent
2ac9bab92e
commit
b99f57e480
@ -106,7 +106,7 @@ function element.new(args)
|
||||
end
|
||||
|
||||
-- draw the element given new data
|
||||
function public.draw(...)
|
||||
function public.update(...)
|
||||
protected.on_update(...)
|
||||
end
|
||||
|
||||
@ -120,6 +120,11 @@ function element.new(args)
|
||||
protected.window.setVisible(false)
|
||||
end
|
||||
|
||||
-- re-draw the element
|
||||
function public.redraw()
|
||||
protected.window.redraw()
|
||||
end
|
||||
|
||||
return protected
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user