Advertisement
Guest User

Untitled

a guest
May 25th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. -------------------------------------------------
  2. -- Put your Lua functions here. --
  3. -- --
  4. -- Note that you can also use external Scripts --
  5. -------------------------------------------------
  6.  
  7.  
  8. function makegui()
  9.  
  10. setBorderLeft(150)
  11. left_container = Geyser.Container:new({
  12. name = "left_container", -- give it a unique name here
  13. x=0, y=0, -- have it start at the top-left corner of mudlet
  14. width = "100%", height="100%", color = "red" -- with a width of 200, and a height of the full screen, hence 100%
  15. })
  16.  
  17. testlabel = Geyser.Label:new({
  18. name = "testlabel",
  19. x = "80%", y = 0,
  20. width = "50%", height = "100%",
  21. fgColor = "black",
  22. color = "SeaGreen",
  23. message = [[<td valign="bottom">heey<td>]]
  24. },left_container)
  25.  
  26. magistacksbox = Geyser.Label:new({
  27. name = "magistacksbox",
  28. x = "0%", y = "40%",
  29. width = 150, height = "30%",
  30. fgColor = "black",
  31. color = "white",
  32. },left_container)
  33.  
  34.  
  35.  
  36. magistacksbox:setStyleSheet([[qproperty-alignment: 'AlignTop';]])
  37. magistacksbox:setFontSize( 12)
  38. magistacksbox:setColor("grey")
  39. testlabel:setColor("red")
  40. testlabel:echo("testing")
  41. testlabel:echo([[<p style="color: blue">Some blue text.</p>]])
  42.  
  43. clearWindow("testlabel")
  44.  
  45. myaffwindow = Geyser.Label:new({
  46. name = "myaffwindow",
  47. x = "0%", y = "10%",
  48. width = 75, height = "30%",
  49. fgColor = "black",
  50. color = "white",
  51. },left_container)
  52.  
  53. myaffwindow:setStyleSheet([[qproperty-alignment: 'AlignTop';]])
  54. myaffwindow:setColor("grey")
  55.  
  56. myaffwindow:setFontSize( 10)
  57.  
  58. mystatwindow = Geyser.Label:new({
  59. name = "mystatwindow",
  60. x = 75, y = "10%",
  61. width = 75, height = "30%",
  62. fgColor = "black",
  63. color = "white",
  64. },left_container)
  65.  
  66. mystatwindow:setStyleSheet([[qproperty-alignment: 'AlignTop';]])
  67. mystatwindow:setColor("grey")
  68.  
  69. mystatwindow:setFontSize( 10)
  70.  
  71.  
  72.  
  73. AIbox = Geyser.Label:new({
  74. name = "AIbox",
  75. x = "0%", y = "70%",
  76. width = 150, height = "20%",
  77. fgColor = "black",
  78. color = "white",
  79. },left_container)
  80.  
  81.  
  82.  
  83. AIbox:setStyleSheet([[qproperty-alignment: 'AlignTop';]])
  84. AIbox:setFontSize( 8)
  85. AIbox:setColor("grey")
  86.  
  87.  
  88.  
  89. playbox = Geyser.Label:new({
  90. name = "playbox",
  91. x = "70%", y = "50%",
  92. width = "20%", height = "40%",
  93. fgColor = "black",
  94. color = "white",
  95. },left_container)
  96.  
  97.  
  98.  
  99. playbox:setStyleSheet([[qproperty-alignment: 'AlignTop';]])
  100.  
  101. playbox:setFontSize( 5)
  102. playbox:setColor("white")
  103.  
  104. hideWindow("playbox")
  105. hideWindow("testlabel")
  106.  
  107.  
  108. end
  109.  
  110.  
  111. makegui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement