From 1feb3ed69ccc5466bfcecf34f585d36465cbed68 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 16 May 2007 08:17:45 +0000 Subject: [PATCH] More documentation for creating a custom box type. I am sure this could be written more elegantly, but my English seems to get worse every day ;-/ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/common.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/documentation/common.html b/documentation/common.html index 53e91ad4f..f25477f99 100644 --- a/documentation/common.html +++ b/documentation/common.html @@ -350,6 +350,16 @@ Fl::set_boxtype(XYZ_BOX, xyz_draw, 1, 1, 2, 2); offsets for the x, y, width, and height values that should be subtracted when drawing the label inside the box.

+

A complete box design contains four box types in this order: +a filled, neutral box (UP_BOX), a filled, depressed box +(DOWN_BOX), and the same as outlines only (UP_FRAME +and DOWN_FRAME). The function +fl_down(Fl_Boxtype) +expects the neutral design on a boxtype with a numerical +value evenly divideable by two. +fl_frame(Fl_Boxtype) +expects the UP_BOX design at a value divideable by four.

+

Labels and Label Types

The label(), align(), labelfont(),