core/menusystem: add the view table to GridBox
This commit is contained in:
parent
6bd30bf71c
commit
88701f5e44
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ local Menu = require(cwd .. "parent")
|
|||
local GridBox = Menu:extend()
|
||||
|
||||
function GridBox:new(menusystem, name, x, y, w, h, colNumber, lineNumber)
|
||||
self.view = {}
|
||||
self.view.slotNumber = colNumber * lineNumber
|
||||
self.view.colNumber = colNumber
|
||||
self.view.colNumber = lineNumber
|
||||
|
|
Loading…
Reference in a new issue