modules/menusystem: add an arbitrary order variable to widgets

This commit is contained in:
Kazhnuz 2019-04-11 17:31:29 +02:00
parent 05a5f8d877
commit 9367bee577
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ function BaseWidget:new(menu)
self.canvas = {}
self.canvas.texture = nil
self.canvas.needRedraw = true
self.order = 0
end
function BaseWidget:register()