Color class promoted from WbKernel to Kernel
Reason for change
Seaside needs to be able to access the Color class to provide HTML color tags, possibly in a headless image. This class was only available when the WbKernel application (part of WindowBuilder Pro – Runtime) was loaded and when the CommonGraphics GUI Framework was available.
Change
• The Color class is moved to the base with all its original behavior than is not dependent on a GUI framework.
• The CgRGBColor class is made a subclass of Color to provide behavior based on having a GUI framework available.
• All previous WbKernel extensions to Color that depend on having a GUI framework are moved to CgRGBColor.
• Instances of Color support RGB color intensities of 0 – 255.
Action required
Change any Color references in your applications that provide values to a GUI framework to CgRGBColor.
Last modified date: 07/02/2019