File geyser/GeyserLabel.lua
Functions
Geyser.Label:echo (message, color, format) | Prints a message to the window. |
Geyser.Label:setBackgroundImage (imageFileName) | Sets a background image for this label. |
Geyser.Label:setClickCallback (func, ...) | Sets a callback to be used when this label is clicked. |
Tables
Geyser.Label | Represents a label like we all know and love. |
Functions
- Geyser.Label:echo (message, color, format)
-
Prints a message to the window. All parameters are optional and if not specified will use the last set value.
Parameters- message: The message to print. Can contain html formatting.
- color: The color to use.
- format: A format list to use. 'c' - center, 'b' - bold, 'i' - italics, 'u' - underline, '##' - font size. For example, "cb18" specifies center bold 18pt font be used. Order doesn't matter.
- Geyser.Label:setBackgroundImage (imageFileName)
-
Sets a background image for this label.
Parameters- imageFileName: The image to use for a background image.
- Geyser.Label:setClickCallback (func, ...)
-
Sets a callback to be used when this label is clicked.
Parameters- func: The function to use.
- ...: Parameters to pass to the function. Must be strings or numbers.