Color conversions

Geyser is an object oriented framework for creating, updating and organizing GUI elements within Mudlet.
Post Reply
User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Color conversions

Post by Vadi »

Similar to how position can be specified in pixels, characters or %, how about allowing colors to be specified as well - in rgb, hex, or named format? Additionally, accepting "transparent" for 0,0,0,0 would be nice.

guy
Posts: 26
Joined: Wed Mar 03, 2010 5:41 am
Location: Seattle

Re: Color conversions

Post by guy »

That's a great idea. Internally it could all be one format that translates easily to the core Mudlet color setting functions. I'm not happy with how Geyser handles colors right now - it seems really hackish. Maybe a color class that gets used transparently is the answer, no pun intended.

Post Reply