From d352987acabeaa400f918a400e4831142df508d4 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 13 Feb 2019 17:13:54 +0100 Subject: [PATCH] scenes/test: test menu overflow --- sonic-boost.love/scenes/test_scene/init.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/sonic-boost.love/scenes/test_scene/init.lua b/sonic-boost.love/scenes/test_scene/init.lua index 4125af5..9a8b22a 100644 --- a/sonic-boost.love/scenes/test_scene/init.lua +++ b/sonic-boost.love/scenes/test_scene/init.lua @@ -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"])