21.06.2011, 16:48
I'm using color embedding for the first time and I'm curious how would I make a define that I could use instead of having to add the color define every time.
Instead of having to look up the definition for each color like {FFFFFF} for white and {FF0000} for red, I would like to use {WHITE_EMBED} and {RED_EMBED}.
I tried defining white as #define WHITE_EMBED "FFFFFF" and all that it does is send {WHITE_EMBED} as part of the client message.
Instead of having to look up the definition for each color like {FFFFFF} for white and {FF0000} for red, I would like to use {WHITE_EMBED} and {RED_EMBED}.
I tried defining white as #define WHITE_EMBED "FFFFFF" and all that it does is send {WHITE_EMBED} as part of the client message.