main.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. return {
  2. { id = 'background',
  3. kind = 'Element',
  4. properties = {
  5. width = .999999,
  6. height = .999999,
  7. background = {0, 0, 0}
  8. }
  9. },
  10. { id = 'header',
  11. kind = 'Element',
  12. properties = {
  13. width = .999999,
  14. height = 48,
  15. background = {255, 255, 255, 50}
  16. }
  17. },
  18. { id = 'editButton',
  19. kind = 'Button',
  20. properties = {
  21. x = 4,
  22. y = 4,
  23. width = 40,
  24. height = 40,
  25. border = {255, 255, 255},
  26. font = 'aeromatics'
  27. }
  28. },
  29. { id = 'optionsButton',
  30. kind = 'Button',
  31. properties = {
  32. x = 40 + 8,
  33. y = 4,
  34. width = 40,
  35. height = 40,
  36. anchor = 'right',
  37. border = {255, 255, 255},
  38. font = 'aeromatics'
  39. }
  40. },
  41. { id = 'exitButton',
  42. kind = 'Button',
  43. properties = {
  44. x = 4,
  45. y = 4,
  46. width = 40,
  47. height = 40,
  48. anchor = 'right',
  49. border = {255, 255, 255},
  50. font = 'aeromatics'
  51. }
  52. },
  53. { id = 'survivalButton',
  54. kind = 'Button',
  55. properties = {
  56. x = .2,
  57. y = .8,
  58. width = .25,
  59. height = .1,
  60. padding = .01,
  61. border = {255, 255, 255},
  62. font = 'inglobalb',
  63. text = 'Survival',
  64. center = true
  65. }
  66. },
  67. { id = 'versusButton',
  68. kind = 'Button',
  69. properties = {
  70. x = .55,
  71. y = .8,
  72. width = .25,
  73. height = .1,
  74. padding = .01,
  75. border = {255, 255, 255},
  76. font = 'inglobalb',
  77. text = 'Versus',
  78. center = true
  79. }
  80. }
  81. }