FLTK Box Types


Variables

Box *const fltk::BORDER_BOX
Box *const fltk::BORDER_FRAME
Box *const fltk::DIAMOND_DOWN_BOX
Box *const fltk::DIAMOND_UP_BOX
Box *const fltk::DOTTED_FRAME
Box *const fltk::DOWN_BOX
Box *const fltk::EMBOSSED_BOX
Box *const fltk::ENGRAVED_BOX
Box *const fltk::FLAT_BOX
Box *const fltk::HIGHLIGHT_DOWN_BOX
Box *const fltk::HIGHLIGHT_UP_BOX
Box *const fltk::NO_BOX
Box *const fltk::OFLAT_BOX
Box *const fltk::OSHADOW_BOX
Box *const fltk::OVAL_BOX
Box *const fltk::PLASTIC_DOWN_BOX
Box *const fltk::PLASTIC_UP_BOX
Box *const fltk::RFLAT_BOX
Box *const fltk::ROUND_DOWN_BOX
Box *const fltk::ROUND_UP_BOX
Box *const fltk::ROUNDED_BOX
Box *const fltk::RSHADOW_BOX
Box *const fltk::THIN_DOWN_BOX
Box *const fltk::THIN_UP_BOX
Box *const fltk::UP_BOX

Detailed Description

These variables point at static instances of several classes of Box which can be put in as the box() attribute of widgets.

boxtypes.gif

Variable Documentation

Box *const DIAMOND_DOWN_BOX
 

Diamond shape used to draw Motif-style checkboxes.

Box *const DIAMOND_UP_BOX
 

Raised diamond shape used to draw Motif-style checkboxes.

Box *const OVAL_BOX
 

Ellipse with a black border.

Box *const OSHADOW_BOX
 

Ellipse with a black border and gray shadow.

Box *const OFLAT_BOX
 

Ellipse with no border.

Box *const PLASTIC_DOWN_BOX
 

Pushed in version of PLASTIC_UP_BOX

Box *const PLASTIC_UP_BOX
 

Box designed to vaguely resemble a certain fruit-themed operating system.

Box *const ROUND_DOWN_BOX
 

Inset oval or circle.

Box *const ROUND_UP_BOX
 

Raised oval or circle.

Box *const ROUNDED_BOX
 

Round-cornered rectangle with a black border.

Box *const RSHADOW_BOX
 

Round-cornered rectangle with a black border and gray shadow.

Box *const RFLAT_BOX
 

Round-cornered rectangle with no border.

Box *const DOTTED_FRAME
 

Default value for focusbox(). This draws nothing if FOCUSED is not set in the flags. If it is set, this draws a dashed line one pixel inset.

Box *const NO_BOX
 

Draws nothing. Can be used as a box to make the background of a widget invisible. Also some widgets check specifically for this and change their behavior or drawing methods.

Box *const FLAT_BOX
 

Draws a flat rectangle of getbgcolor().

Box *const DOWN_BOX
 

Inset box in fltk's standard theme

Box *const UP_BOX
 

A up button in fltk's standard theme.

Box *const THIN_DOWN_BOX
 

1-pixel-thick inset box.

Box *const THIN_UP_BOX
 

1-pixel-thick raised box.

Box *const ENGRAVED_BOX
 

2-pixel thick engraved line around edge.

Box *const EMBOSSED_BOX
 

2-pixel thick raised line around edge.

Box *const BORDER_BOX
 

1-pixel thick gray line around rectangle.

Box *const BORDER_FRAME
 

Obsolete. Draws colored edge and draws nothing inside rectangle.

Box *const HIGHLIGHT_UP_BOX
 

Draws like FLAT_BOX normally, and as THIN_UP_BOX when the mouse pointer points at it or the value of the widget is turned on.

Box *const HIGHLIGHT_DOWN_BOX
 

Draws like FLAT_BOX normally, and as THIN_DOWN_BOX when the mouse pointer points at it or the value of the widget is turned on.


Sun May 8 21:48:57 2005. FLTK ©2004 Bill Spitzak and others. See Main Page for details.