scenes/test: test menu overflow
This commit is contained in:
parent
80bd57c4fe
commit
d352987aca
1 changed files with 14 additions and 1 deletions
|
@ -26,6 +26,7 @@ local TestScene = Scene:extend()
|
|||
|
||||
local MenuType = require "core.modules.menusystem.listbox"
|
||||
local MenuType2 = require "core.modules.menusystem.flowbox"
|
||||
local MenuType3 = require "core.modules.menusystem.grid"
|
||||
local Widget = require "core.modules.menusystem.widgets"
|
||||
|
||||
|
||||
|
@ -41,8 +42,20 @@ function TestScene:new()
|
|||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
Widget.Base(self.menusystem.menus["testMenu1"])
|
||||
|
||||
MenuType2(self.menusystem, "testMenu2", 164, 32, 24*8, 24*8, 8, 8)
|
||||
MenuType2(self.menusystem, "testMenu2", 164, 32, 24*8, 24*2, 8, 2)
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
Widget.Base(self.menusystem.menus["testMenu2"])
|
||||
|
|
Loading…
Reference in a new issue