-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.lua
28 lines (21 loc) · 824 Bytes
/
main.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
-- REQUIRES Alignmate (https://github.com/develephant/solar2d-alignmate-lib)
-- local Text = require('ui.text')
-- local Button = require('ui.button')
-- local Alignmate = require('alignment.alignmate')
-- local TitleText = Text.new({ text = "Jello", fontSize = 48 })
-- local HelloText = Text.new({ text = "Hello", fontSize = 48 })
-- local MellowText = Text.new({ text = "Mellow", fontSize = 48 })
-- Alignmate.center(TitleText)
-- Alignmate.centerRight(HelloText)
-- Alignmate.centerLeft(MellowText)
-- local function onSubmit(e)
-- print('clicked')
-- TitleText.text = "Swello"
-- end
-- local submitButton = Button.new({
-- label = "Submit",
-- onPress = onSubmit
-- })
-- Alignmate.bottom(submitButton, { padBottom = 20 })
local fs = require("filesystem.fs").new()
print(fs:getRootDirectory())