summaryrefslogtreecommitdiffhomepage
path: root/config/menus/pause.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/menus/pause.lua')
-rw-r--r--config/menus/pause.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/menus/pause.lua b/config/menus/pause.lua
new file mode 100644
index 0000000..74dd043
--- /dev/null
+++ b/config/menus/pause.lua
@@ -0,0 +1,19 @@
+local menu = ...
+
+local Button = require "not.Button"
+
+local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale()
+local bx = width/2-29
+
+return {
+ Button(menu)
+ :setText("Unpause")
+ :setPosition(bx, height - 36)
+ :set("active", function () end)
+ ,
+ Button(menu)
+ :setText("Exit")
+ :setPosition(bx, height - 20)
+ :set("active", function () end)
+ ,
+}