GetStringColors()
Aiue opened this issue ยท 3 comments
Call with a fontstring as the argument. Will parse for any |c string modifiers and return them as r,g,b,a (four return values for each found instance).
If no string modifiers are found, return the GetTextColor() values.
Or omit the argument and return nothing if nothing is found. I may need to sleep on this, I already somewhat lost my train of thought.
(I should definitely avoid passing the FontString as an argument, though. Especially considering I have so far avoided using any API calls. Should aim to keep it that way.)