From 4c53a5d8f4f23358a101ef6bda4b6b8ea4b95274 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Sun, 31 Jan 1999 07:43:16 +0000 Subject: Added optimization for SGI builds (mike: please run autoconf before making a distribution). Documentation fixes. git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/common.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'documentation/common.html') diff --git a/documentation/common.html b/documentation/common.html index 21916922d..f69523cae 100644 --- a/documentation/common.html +++ b/documentation/common.html @@ -149,7 +149,8 @@ already on the screen remains. The FL_..._FRAME types only draw their edges, leaving the interior unchanged. In the above diagram the blue color is the area that is not drawn by the box.

Making your own Boxtypes

- You can define your own boxtypes by making a small function that draws +Warning: this interface may change in future versions of fltk! +

You can define your own boxtypes by making a small function that draws the box and adding it to the table of boxtypes.

The Drawing Function

The drawing function is passed the bounding box and background color @@ -228,7 +229,8 @@ raised Fl_Bitmap or Fl_Pixmap objects.

Making Your Own Label Types

- Label types are actually indexes into a table of functions that draw +Warning: this interface may change in future versions of fltk! +

Label types are actually indexes into a table of functions that draw them. The primary purpose of this is to let you reuse the label() pointer as a pointer to arbitrary data such as a bitmap or pixmap. You can also use this to draw the labels in ways inaccessible through the -- cgit v1.2.3