SetGadgetColor(#Gadget, ColorType, Color) accept RGBA()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

SetGadgetColor(#Gadget, ColorType, Color) accept RGBA()

Post by IdeasVacuum »

For the color value, only RGB() is accepted, but very often the application is using RGBA(). It would therefore be a great help if RGBA() where to be accepted - just ignoring the alpha channel when it is incompatible with the gadget.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.