-
Notifications
You must be signed in to change notification settings - Fork 5
Color_Chooser
doyousketch2 edited this page Sep 6, 2019
·
6 revisions
Corresponds to:
Fl_Color_Chooser
Inherits from:
Widget
fl.Color_Chooser( int X, int Y, int W, int H, *str label ) ==> userdata Widget-
fl.Color_Chooser{ table entries } ==> userdata Widget(table constructor syntax)
-
obj:rgb( double Red, double Green, double Blue ) ==> bool new(1 if new, 0 was previous) -
obj:hsv( double Hue, double Saturation, double Value ) ==> bool new(1 if new, 0 was previous) - methods defined for the
Widgetuserdata type -
obj.r ==> double Redget -
obj.g ==> double Greenget -
obj.b ==> double Blueget -
obj.hue ==> double Hueget -
obj.saturation ==> double Satget -
obj.value ==> double Valueget -
obj.mode ==> int modeget (see below) -
obj.mode = int modeset (see below) - properties defined for the
Widgetuserdata type
(note: Color_Chooser does not inherit the methods and properties of
Group, although Fl_Color_Chooser is implemented as a sub-class of
Fl_Group!)
Color modes are rgb(0), byte(1), hex(2), or hsv(3)
Related functions: Fl_Color