So far there are:
- Wrap all the other window related functions.
- Enhance the Label type such that if an image is given to it during creation, it'll automatically make a shadow label with the image and the real one on top - so you can use echos in the label while still having a background fine.
Completed:
- Get the colorized echo functions work for labels too
- This is sort of done. a label's echo now has extra parameters. Say you have a label L, then L:echo("someText", "green", "cb14") will display a green 'someText' centered and bold in size 14 font. The format and font color will be remembered for next time, which may or may not be the behaviour always wanted =). Note that setting an echo format font size doesn't affect the font size as defined for sizing the label and stored in the fontSize field. These extra parameters can also be set at creation time, like any other parameter.
- Also added are the convenience functions setFormat(format) and setFgColor(color)
- Consistent and useful color support where colors can be given by name, hex or decimal
- Colors can be specified as decimal ("<160,0,64>"), html hex ("#a00040"), hecho hex ("|ca00040"), by name ("red"), or in an explicit table ({r=160,g=0,b=0x40, a=128}). The decimal html and hecho hex forms also accept a fourth number for alpha. If it is missing, the default is 255.
- e.g. l = Geyser.Label:new({xyhw..., fgColor = "red", color = "#30303040"}) creates a label with red text and a transparent background of some dark shade of gray.