Files
PlanetFleet/Assets/Scripts/Gui/controlsTab.lua

54 lines
1.1 KiB
Lua

gui = {
{
guiType = GuiType.TEXT,
name = '',
text = 'Controls',
pos = {x = 20, y = 50, z = 0},
scale = .5,
font = 'batang.ttf',
fontFirstChar = 0,
fontLastChar = 256,
color = {x = 1, y = 1, z = 1, w = 1}
},
{
guiType = GuiType.TEXT,
name = '',
text = 'Key bindings',
pos = {x = 20, y = 190, z = 0},
scale = .25,
font = 'batang.ttf',
fontFirstChar = 0,
fontLastChar = 256,
color = {x = 1, y = 1, z = 1, w = 1}
},
{
pos = {x = 20, y = 200, z = 0},
size = {x = 470, y = 20},
guiType = GuiType.LISTBOX,
listboxType = ListboxType.CONTROLS,
numMaxDisplay = 5
},
{
pos = {x = 20, y = 410, z = 0},
size = {x = 150, y = 20},
guiType = GuiType.BUTTON,
name = 'Ok',
buttonType = ButtonType.OK
},
{
pos = {x = 180, y = 410, z = 0},
size = {x = 150, y = 20},
guiType = GuiType.BUTTON,
name = 'Restore defaults',
buttonType = ButtonType.DEFAULTS
},
{
pos = {x = 340, y = 410, z = 0},
size = {x = 150, y = 20},
guiType = GuiType.BUTTON,
name = 'Back',
screen = 'options.lua',
buttonType = ButtonType.BACK
}
}