modules/menusystem: add an arbitrary order variable to widgets
This commit is contained in:
parent
05a5f8d877
commit
9367bee577
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ function BaseWidget:new(menu)
|
||||||
self.canvas = {}
|
self.canvas = {}
|
||||||
self.canvas.texture = nil
|
self.canvas.texture = nil
|
||||||
self.canvas.needRedraw = true
|
self.canvas.needRedraw = true
|
||||||
|
|
||||||
|
self.order = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
function BaseWidget:register()
|
function BaseWidget:register()
|
||||||
|
|
Loading…
Reference in a new issue