From e4731d3f1a81a363faff89792064438efce05d1e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 4 Oct 2002 17:23:09 +0000 Subject: Final doco updates for 1.1.0. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/common.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'documentation/common.html') diff --git a/documentation/common.html b/documentation/common.html index 7a7a85066..ca7b4c4fc 100644 --- a/documentation/common.html +++ b/documentation/common.html @@ -118,6 +118,8 @@ the value() of the widget.

widgets use an associated Fl_Text_Buffer class for the value, instead of a simple string.

+ +

Valuators

Unlike text widgets, valuators keep track of numbers instead of @@ -150,6 +152,8 @@ and maximum() methods set the range of values that are reported by the widget.

+ +

Groups

The Fl_Group widget class is used as a general @@ -224,9 +228,9 @@ fixed contents.

  • FL_CYAN
  • -
  • FL_WHITE (this is the default background color of text widgets)
  • +
  • FL_WHITE
  • -
  • FL_GRAY (this is the default background color of most widgets)
  • +
  • FL_GRAY (this is the default color of most widgets)
  • RGB colors can be set using the fl_rgb_color() @@ -288,6 +292,8 @@ void xyz_draw(int x, int y, int w, int h, Fl_Color c) { } + +

    A simple drawing function might fill a rectangle with the given color and then draw a black outline:

    @@ -331,6 +337,8 @@ sign. Figure 3-4 shows the available symbols.

    FLTK Symbols
    Figure 3-4: FLTK label symbols

    + +

    The @ sign may also be followed by the following optional "formatting" characters, in this order:

    -- cgit v1.2.3