From 679abb46ec5337000272c1c02a8f5de0fae99edd Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 10 Feb 2019 12:00:02 +0100 Subject: [PATCH] core/menusystem: rename the parent menu file --- sonic-boost.love/core/modules/menusystem/flowbox.lua | 2 +- sonic-boost.love/core/modules/menusystem/grid.lua | 2 +- sonic-boost.love/core/modules/menusystem/init.lua | 2 +- sonic-boost.love/core/modules/menusystem/listbox.lua | 2 +- .../core/modules/menusystem/{menu.lua => parent.lua} | 0 sonic-boost.love/core/modules/menusystem/textmenu.lua | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename sonic-boost.love/core/modules/menusystem/{menu.lua => parent.lua} (100%) diff --git a/sonic-boost.love/core/modules/menusystem/flowbox.lua b/sonic-boost.love/core/modules/menusystem/flowbox.lua index 6a8d475..ead520d 100644 --- a/sonic-boost.love/core/modules/menusystem/flowbox.lua +++ b/sonic-boost.love/core/modules/menusystem/flowbox.lua @@ -1,5 +1,5 @@ local cwd = (...):gsub('%.flowbox$', '') .. "." -local Menu = require(cwd .. "menu") +local Menu = require(cwd .. "parent") FlowBox = Menu:extend() diff --git a/sonic-boost.love/core/modules/menusystem/grid.lua b/sonic-boost.love/core/modules/menusystem/grid.lua index a9dbd6b..aa65614 100644 --- a/sonic-boost.love/core/modules/menusystem/grid.lua +++ b/sonic-boost.love/core/modules/menusystem/grid.lua @@ -1,5 +1,5 @@ local cwd = (...):gsub('%.grid$', '') .. "." -local Menu = require(cwd .. "menu") +local Menu = require(cwd .. "parent") GridBox = Menu:extend() diff --git a/sonic-boost.love/core/modules/menusystem/init.lua b/sonic-boost.love/core/modules/menusystem/init.lua index cbcf8ed..c729b4a 100644 --- a/sonic-boost.love/core/modules/menusystem/init.lua +++ b/sonic-boost.love/core/modules/menusystem/init.lua @@ -2,7 +2,7 @@ local MenuSystem = Object:extend() local cwd = (...):gsub('%.init$', '') .. "." -MenuSystem.Parent = require(cwd .. "menu") +MenuSystem.Parent = require(cwd .. "parent") MenuSystem.ListBox = require(cwd .. "listbox") MenuSystem.FlowBox = require(cwd .. "flowbox") MenuSystem.Grid = require(cwd .. "grid") diff --git a/sonic-boost.love/core/modules/menusystem/listbox.lua b/sonic-boost.love/core/modules/menusystem/listbox.lua index 37b938c..130584c 100644 --- a/sonic-boost.love/core/modules/menusystem/listbox.lua +++ b/sonic-boost.love/core/modules/menusystem/listbox.lua @@ -1,5 +1,5 @@ local cwd = (...):gsub('%.listbox$', '') .. "." -local Menu = require(cwd .. "menu") +local Menu = require(cwd .. "parent") ListBox = Menu:extend() diff --git a/sonic-boost.love/core/modules/menusystem/menu.lua b/sonic-boost.love/core/modules/menusystem/parent.lua similarity index 100% rename from sonic-boost.love/core/modules/menusystem/menu.lua rename to sonic-boost.love/core/modules/menusystem/parent.lua diff --git a/sonic-boost.love/core/modules/menusystem/textmenu.lua b/sonic-boost.love/core/modules/menusystem/textmenu.lua index 78afdfe..e4a8aa7 100644 --- a/sonic-boost.love/core/modules/menusystem/textmenu.lua +++ b/sonic-boost.love/core/modules/menusystem/textmenu.lua @@ -1,5 +1,5 @@ local cwd = (...):gsub('%.textmenu$', '') .. "." -local Menu = require(cwd .. "menu") +local Menu = require(cwd .. "parent") local TextMenu = Menu:extend()