From 497afccb07164373e0de6639e754d7d691f1926f Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 14 Oct 2008 22:12:25 +0000 Subject: Doxygen pdf man: First version added in documentation/fltk.pdf, old doc removed, images, dox files moved to a new src directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Color_Chooser.html | 91 ------------------------------------- 1 file changed, 91 deletions(-) delete mode 100644 documentation/Fl_Color_Chooser.html (limited to 'documentation/Fl_Color_Chooser.html') diff --git a/documentation/Fl_Color_Chooser.html b/documentation/Fl_Color_Chooser.html deleted file mode 100644 index 4ffd985bb..000000000 --- a/documentation/Fl_Color_Chooser.html +++ /dev/null @@ -1,91 +0,0 @@ - - - Fl_Color_Chooser - - - -

class Fl_Color_Chooser

-
-

Class Hierarchy

- -

Include Files

- -

Description

- The Fl_Color_Chooser widget provides a standard RGB color -chooser. You can place any number of these into a panel of your own -design. This widget contains the hue box, value slider, and rgb input -fields from the above diagram (it does not have the color chips or the -Cancel or OK buttons). The callback is done every time the user -changes the rgb value. It is not done if they move the hue control in -a way that produces the same rgb value, such as when saturation -or value is zero. -

Methods

- -

-Fl_Color_Chooser::Fl_Color_Chooser(int x, int y, int w, int h, const -char *label = 0)

- Creates a new Fl_Color_Chooser widget using the given -position, size, and label string. The recommended dimensions are -200x95. The color is initialized to black. -

virtual -Fl_Color_Chooser::~Fl_Color_Chooser()

- The destructor removes the color chooser and all of its controls. -

double Fl_Color_Chooser::hue() const -

- Return the current hue. 0 <= hue < 6. Zero is red, one is yellow, -two is green, etc. This value is convienent for the internal -calculations - some other systems consider hue to run from zero to one, -or from 0 to 360. -

double -Fl_Color_Chooser::saturation() const

- Returns the saturation. 0 <= saturation <= 1. -

double Fl_Color_Chooser::value() -const

- Returns the value/brightness. 0 <= value <= 1. -

double Fl_Color_Chooser::r() const

- Returns the current red value. 0 <= r <= 1. -

double Fl_Color_Chooser::g() const

- Returns the current green value. 0 <= g <= 1. -

double Fl_Color_Chooser::b() const

- Returns the current blue value. 0 <= b <= 1. -

int Fl_Color_Chooser::rgb(double, -double, double)

- Sets the current rgb color values. Does not do the callback. Does -not clamp (but out of range values will produce psychedelic effects in -the hue selector). -

int -Fl_Color_Chooser::hsv(double,double,double)

- Set the hsv values. The passed values are clamped (or for hue, -modulus 6 is used) to get legal values. Does not do the callback. -

static void -Fl_Color_Chooser::hsv2rgb(double, double, double, double&, double&, -double&)

- This static method converts HSV colors to RGB colorspace. -

static void -Fl_Color_Chooser::rgb2hsv(double, double, double, double&, double&, -double&)

- This static method converts RGB colors to HSV colorspace. - -- cgit v1.2.3