How to get the standard background of Geyser.Label

Geyser is an object oriented framework for creating, updating and organizing GUI elements within Mudlet.
Post Reply
Mundron
Posts: 1
Joined: Sun Oct 07, 2018 9:43 am

How to get the standard background of Geyser.Label

Post by Mundron »

Hi,

I built an Interface using Geyser.Label. If I case a buff, the background of a certain label should become yellow and if the buff runs out, the label should have the standard background again. Is there a simple function to change the background to its standard color?

Jor'Mox
Posts: 1101
Joined: Wed Apr 03, 2013 2:19 am

Re: How to get the standard background of Geyser.Label

Post by Jor'Mox »

Labels don't have a "standard color" in a general sense. So if you want to return it to whatever color it had before you changed it to yellow, your code will have to know or in some other way "remember" what that color was, so it can set it.

Post Reply