GNOME Bugzilla – Bug 376401
A new ColorSetting class
Last modified: 2006-11-27 17:31:13 UTC
This adds a new class called ColorSetting which stores a tuple with 3 or 4 values (depending if alpha is enabled). The values are between 0 and 0xFFFF.
Created attachment 76775 [details] [review] ColorSetting ColorSetting class and widget factory.
Eitan, Do we need the explicit has_alpha flag? Or can the widget factory determine that the alpha is present simply from the size of the color tuple? (length 3 versus 4)
Created attachment 76779 [details] [review] Proposed patch That's a great idea!
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.