-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.lua
More file actions
56 lines (53 loc) · 900 Bytes
/
main.lua
File metadata and controls
56 lines (53 loc) · 900 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
local Layout = require "library.luigi.layout"
local Backend = require "library.luigi.backend"
local layout = Layout {
type = "window",
text = "Suyu SDK",
id = "mainWindow",
{
type = "menu",
{
text = "Project",
{
text = "Create project",
id = "createProject",
startcut = "ctrl-c",
status = "Create a project",
},
{
text = "Open project",
id = "openProject",
standart = "ctrl-o",
status = "Open a project",
},
{
text = "Quit program",
id = "quitProgram",
standart = "ctrl-q",
},
},
{
text = "View",
{
text = "FullScrenn Mode",
id = "fullScreenMode",
standart = "ctrl-f",
},
},
{
text = "Info",
{
text = "About Suyu SDK",
id = "aboutProgram",
},
{
text = "Licences",
id = "licences",
}
}
}
}
layout.quitProgram:onPress ( function ()
os.exit()
end )
layout:show()