scenes/test: test menu overflow

This commit is contained in:
Kazhnuz 2019-02-13 17:13:54 +01:00
parent 80bd57c4fe
commit d352987aca

View file

@ -26,6 +26,7 @@ local TestScene = Scene:extend()
local MenuType = require "core.modules.menusystem.listbox" local MenuType = require "core.modules.menusystem.listbox"
local MenuType2 = require "core.modules.menusystem.flowbox" local MenuType2 = require "core.modules.menusystem.flowbox"
local MenuType3 = require "core.modules.menusystem.grid"
local Widget = require "core.modules.menusystem.widgets" 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"]) 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"]) Widget.Base(self.menusystem.menus["testMenu2"])
Widget.Base(self.menusystem.menus["testMenu2"]) Widget.Base(self.menusystem.menus["testMenu2"])