From 9ca9171e7a35f4a2b3b6c8b52bdc966218b8137f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 18 Apr 2002 19:10:56 +0000 Subject: Fl_Text_Buffer docos. Reformat function reference (still need to add rest of drawing functions...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/enumerations.html | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) (limited to 'documentation/enumerations.html') diff --git a/documentation/enumerations.html b/documentation/enumerations.html index 8c6c98951..032eb33d8 100644 --- a/documentation/enumerations.html +++ b/documentation/enumerations.html @@ -132,6 +132,7 @@ FL_KEYBOARD and FL_SHORTCUT events:
  • FL_BUTTON2 - Mouse button 2 is pushed.
  • FL_BUTTON3 - Mouse button 3 is pushed.
  • +

    Alignment Values

    The following constants define bits that can be used with Fl_Widget::align() to control the positioning of the @@ -230,42 +231,10 @@ FLTK standard color cube: -

    The inline methods for getting a grayscale, color cube, or RGB color -value are described next. - -

    Color Functions

    - -

    Fl_Color fl_gray_ramp(int i)

    - -

    Returns a gray color value from black (i == 0) to -white (i == FL_NUM_GRAY - 1). FL_NUM_GRAY is -defined to be 24 in the current FLTK release. To get the closest -FLTK gray value to an 8-bit grayscale color 'I' use: - -

    - -

    Fl_Color fl_color_cube(int r, int g, int b)

    - -

    Returns a color out of the color cube. -r must be in the range 0 to FL_NUM_RED (5) minus 1. -g must be in the range 0 to FL_NUM_GREEN (8) minus 1. -b must be in the range 0 to FL_NUM_BLUE (5) minus 1. - -

    To get the closest color to a 8-bit set of R,G,B values use: - -

    - -

    Fl_Color fl_rgb_color(uchar r, uchar g, uchar b)
    -Fl_Color fl_rgb_color(uchar g)

    - -

    Returns the 24-bit RGB color value for the specified 8-bit -RGB or grayscale values. +

    The inline methods for getting a grayscale, color cube, or +RGB color value are described in Appendix B - Function +Reference.

    Cursors

    -- cgit v1.2.3