fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

fl_color.cxx File Reference

Color handling. More...

#include "Fl_XColor.H"
#include <FL/Fl.H>
#include <FL/x.H>
#include <FL/fl_draw.H>
#include "fl_cmap.h"
Include dependency graph for fl_color.cxx:

Go to the source code of this file.

Defines

#define fl_overlay   0

Functions

ulong fl_xpixel (uchar r, uchar g, uchar b)
ulong fl_xpixel (Fl_Color i)
Fl_Color fl_color_average (Fl_Color color1, Fl_Color color2, float weight)
Fl_Color fl_inactive (Fl_Color c)
Fl_Color fl_contrast (Fl_Color fg, Fl_Color bg)

Variables

uchar fl_redmask
uchar fl_greenmask
uchar fl_bluemask
int fl_redshift
int fl_greenshift
int fl_blueshift
int fl_extrashift
Fl_XColor fl_xmap [1][256]
Fl_Color fl_color_
 The current color.

Detailed Description

Color handling.

Definition in file fl_color.cxx.


Define Documentation

#define fl_overlay   0

HAVE_OVERLAY determines whether fl_overlay is variable or defined as 0

Definition at line 124 of file fl_color.cxx.

Referenced by fl_xpixel(), and Fl_Menu_Window::flush().


Variable Documentation

color mask used in current color map handling

Definition at line 59 of file fl_color.cxx.

Referenced by fl_read_image(), and fl_xpixel().

color shift used in current color map handling

Definition at line 63 of file fl_color.cxx.

Referenced by fl_read_image(), and fl_xpixel().

color shift used in current color map handling

Definition at line 64 of file fl_color.cxx.

Referenced by fl_xpixel().

color mask used in current color map handling

Definition at line 58 of file fl_color.cxx.

Referenced by fl_read_image(), and fl_xpixel().

color shift used in current color map handling

Definition at line 62 of file fl_color.cxx.

Referenced by fl_read_image(), and fl_xpixel().

color mask used in current color map handling

Definition at line 57 of file fl_color.cxx.

Referenced by fl_read_image(), and fl_xpixel().

color shift used in current color map handling

Definition at line 61 of file fl_color.cxx.

Referenced by fl_read_image(), and fl_xpixel().

Fl_XColor fl_xmap[1][256]

HAVE_OVERLAY determines whether fl_xmap is one or two planes

Definition at line 122 of file fl_color.cxx.