function drawAffLabels()<br>affWindowLabel = Geyser.Label:new({<br>name = "affWindowShow",<br>x = 1, y = 1,<br>width = 75, height = 75,<br>bgColor = "black", fgColor = "white",<br>message = [[<center>Affs</center>]]<br>})<br>setLabelClickCallback("affWindowLabel")<br>end<br><br>function drawDefLabel()<br>defWindowLabel = Geyser.Label:new({<br>name = "defWindowHide",<br>x = 1+10, y = 1,<br>width = 10, height = 10,<br>bgColor = "black", fgColor = "white",<br>message = [[<center>Defs</center>]]<br>})<br>setLabelClickCallback("defWindowLabel")<br>end<br><br>function affWindowLabel()<br>affWindowLabel:hide()<br>defWindowLabel:show()<br>end<br><br>function defWindowLabel()<br>affWindowShow:show()<br>defWindowShow:hide()<br>end<br>
Comments
labelName:setClickCallback("stuff")