diff options
author | Aki <nthirtyone@gmail.com> | 2017-04-07 03:24:40 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-04-07 03:24:40 +0200 |
commit | d1a19fea50aefc9d7fb52568a5bdcfb56d75eccf (patch) | |
tree | d86118b2bae5125f6cecd28a5a7b6f46739f30a9 | |
parent | 54e85dd188af15cd5f3f5e08f5d3e69088a909b1 (diff) | |
download | roflnauts-d1a19fea50aefc9d7fb52568a5bdcfb56d75eccf.zip roflnauts-d1a19fea50aefc9d7fb52568a5bdcfb56d75eccf.tar.gz roflnauts-d1a19fea50aefc9d7fb52568a5bdcfb56d75eccf.tar.bz2 |
Moved menu elements to /not/
-rw-r--r-- | config/menus/credits.lua | 4 | ||||
-rw-r--r-- | config/menus/host.lua | 4 | ||||
-rw-r--r-- | config/menus/main.lua | 6 | ||||
-rw-r--r-- | config/menus/select.lua | 6 | ||||
-rw-r--r-- | config/menus/settings.lua | 6 | ||||
-rw-r--r-- | not/Button.lua (renamed from button.lua) | 2 | ||||
-rw-r--r-- | not/Element.lua (renamed from element.lua) | 0 | ||||
-rw-r--r-- | not/Header.lua (renamed from header.lua) | 2 | ||||
-rw-r--r-- | not/Selector.lua (renamed from selector.lua) | 2 |
9 files changed, 16 insertions, 16 deletions
diff --git a/config/menus/credits.lua b/config/menus/credits.lua index 6ba04b3..77cba62 100644 --- a/config/menus/credits.lua +++ b/config/menus/credits.lua @@ -1,7 +1,7 @@ local menu = ... -local button = require "button" -local element = require "element" +local button = require "not.Button" +local element = require "not.Element" local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale() local bx = width/2-29 diff --git a/config/menus/host.lua b/config/menus/host.lua index 47aaa5e..8a4887e 100644 --- a/config/menus/host.lua +++ b/config/menus/host.lua @@ -1,7 +1,7 @@ local menu = ... -local button = require "button" -local selector = require "selector" +local button = require "not.Button" +local selector = require "not.Selector" local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale() local bx = width/2-29 diff --git a/config/menus/main.lua b/config/menus/main.lua index 661299c..236c011 100644 --- a/config/menus/main.lua +++ b/config/menus/main.lua @@ -1,8 +1,8 @@ local menu = ... -local button = require "button" -local header = require "header" -local element = require "element" +local button = require "not.Button" +local header = require "not.Header" +local element = require "not.Element" local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale() local bx = width/2-29 diff --git a/config/menus/select.lua b/config/menus/select.lua index 452a3bf..e759f40 100644 --- a/config/menus/select.lua +++ b/config/menus/select.lua @@ -1,8 +1,8 @@ local menu = ... -local button = require "button" -local selector = require "selector" -local element = require "element" +local button = require "not.Button" +local selector = require "not.Selector" +local element = require "not.Element" local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale() local bx = width/2-29 diff --git a/config/menus/settings.lua b/config/menus/settings.lua index bfdfc6e..ae0403d 100644 --- a/config/menus/settings.lua +++ b/config/menus/settings.lua @@ -1,8 +1,8 @@ local menu = ... -local button = require "button" -local selector = require "selector" -local element = require "element" +local button = require "not.Button" +local selector = require "not.Selector" +local element = require "not.Element" local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale() local bx = width/2-29 diff --git a/button.lua b/not/Button.lua index 7afc8e9..91aca45 100644 --- a/button.lua +++ b/not/Button.lua @@ -13,7 +13,7 @@ Button = { } -- `Button` is a child of `Element`. -require "element" +require "not.Element" Button.__index = Button setmetatable(Button, Element) diff --git a/element.lua b/not/Element.lua index e6d91da..e6d91da 100644 --- a/element.lua +++ b/not/Element.lua diff --git a/header.lua b/not/Header.lua index 9c18bf1..a563ab2 100644 --- a/header.lua +++ b/not/Header.lua @@ -9,7 +9,7 @@ Header = { } -- `Header` is a child of `Element`. -require "element" +require "not.Element" Header.__index = Header setmetatable(Header, Element) diff --git a/selector.lua b/not/Selector.lua index 1a449ed..8e03457 100644 --- a/selector.lua +++ b/not/Selector.lua @@ -35,7 +35,7 @@ Selector = { } -- `Selector` is a child of `Element`. -require "element" +require "not.Element" Selector.__index = Selector setmetatable(Selector, Element) |