summaryrefslogtreecommitdiffhomepage
path: root/config/menusettings.lua
blob: 380828dec6b6d500c44291697fb6bd579cb6f58b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local menu = ...

local button = require "button"
local selector = require "selector"

local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale()
local bx = width/2-29

return {
	button:new(menu)
		:setText("Go back")
		:setPosition(bx,117)
		:set("active", function (self)
				self.parent:load("menumain")
			end)
	,
}