|
FLTK standard box types
This enum defines the standard box types included with FLTK.
FL_NO_BOX means nothing is drawn at all, so whatever is already on the screen remains. The FL_..._FRAME types only draw their edges, leaving the interior unchanged. The blue color in Figure 1 is the area that is not drawn by the frame types.
Figure 1: FLTK standard box types
- Todo:
- Description of boxtypes is incomplete. See below for the defined enum Fl_Boxtype.
- See also
- src/Fl_get_system_colors.cxx
|
Fl_Boxtype | fl_box (Fl_Boxtype b) |
| Get the filled version of a frame. More...
|
|
enum | Fl_Boxtype {
FL_NO_BOX = 0
, FL_FLAT_BOX
, FL_UP_BOX
, FL_DOWN_BOX
,
FL_UP_FRAME
, FL_DOWN_FRAME
, FL_THIN_UP_BOX
, FL_THIN_DOWN_BOX
,
FL_THIN_UP_FRAME
, FL_THIN_DOWN_FRAME
, FL_ENGRAVED_BOX
, FL_EMBOSSED_BOX
,
FL_ENGRAVED_FRAME
, FL_EMBOSSED_FRAME
, FL_BORDER_BOX
, _FL_SHADOW_BOX
,
FL_BORDER_FRAME
, _FL_SHADOW_FRAME
, _FL_ROUNDED_BOX
, _FL_RSHADOW_BOX
,
_FL_ROUNDED_FRAME
, _FL_RFLAT_BOX
, _FL_ROUND_UP_BOX
, _FL_ROUND_DOWN_BOX
,
_FL_DIAMOND_UP_BOX
, _FL_DIAMOND_DOWN_BOX
, _FL_OVAL_BOX
, _FL_OSHADOW_BOX
,
_FL_OVAL_FRAME
, _FL_OFLAT_BOX
, _FL_PLASTIC_UP_BOX
, _FL_PLASTIC_DOWN_BOX
,
_FL_PLASTIC_UP_FRAME
, _FL_PLASTIC_DOWN_FRAME
, _FL_PLASTIC_THIN_UP_BOX
, _FL_PLASTIC_THIN_DOWN_BOX
,
_FL_PLASTIC_ROUND_UP_BOX
, _FL_PLASTIC_ROUND_DOWN_BOX
, _FL_GTK_UP_BOX
, _FL_GTK_DOWN_BOX
,
_FL_GTK_UP_FRAME
, _FL_GTK_DOWN_FRAME
, _FL_GTK_THIN_UP_BOX
, _FL_GTK_THIN_DOWN_BOX
,
_FL_GTK_THIN_UP_FRAME
, _FL_GTK_THIN_DOWN_FRAME
, _FL_GTK_ROUND_UP_BOX
, _FL_GTK_ROUND_DOWN_BOX
,
_FL_GLEAM_UP_BOX
, _FL_GLEAM_DOWN_BOX
, _FL_GLEAM_UP_FRAME
, _FL_GLEAM_DOWN_FRAME
,
_FL_GLEAM_THIN_UP_BOX
, _FL_GLEAM_THIN_DOWN_BOX
, _FL_GLEAM_ROUND_UP_BOX
, _FL_GLEAM_ROUND_DOWN_BOX
,
FL_FREE_BOXTYPE
} |
|
#define | FL_CIRCLE_BOX FL_ROUND_DOWN_BOX |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_DIAMOND_BOX () |
|
Fl_Labeltype FL_EXPORT | fl_define_FL_EMBOSSED_LABEL () |
|
Fl_Labeltype FL_EXPORT | fl_define_FL_ENGRAVED_LABEL () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_GLEAM_UP_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_GTK_UP_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_OVAL_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_PLASTIC_UP_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_RFLAT_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_ROUND_UP_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_ROUNDED_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_RSHADOW_BOX () |
|
FL_EXPORT Fl_Boxtype | fl_define_FL_SHADOW_BOX () |
|
Fl_Labeltype FL_EXPORT | fl_define_FL_SHADOW_LABEL () |
|
#define | FL_DIAMOND_BOX FL_DIAMOND_DOWN_BOX |
|
#define | FL_DIAMOND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_DIAMOND_BOX()+1) |
|
#define | FL_DIAMOND_UP_BOX fl_define_FL_DIAMOND_BOX() |
|
Fl_Boxtype | fl_down (Fl_Boxtype b) |
| Get the "pressed" or "down" version of a box. More...
|
|
#define | FL_EMBOSSED_LABEL fl_define_FL_EMBOSSED_LABEL() |
|
#define | FL_ENGRAVED_LABEL fl_define_FL_ENGRAVED_LABEL() |
|
Fl_Boxtype | fl_frame (Fl_Boxtype b) |
| Get the unfilled, frame only version of a box. More...
|
|
#define | FL_FRAME FL_ENGRAVED_FRAME |
|
#define | FL_FRAME_BOX FL_ENGRAVED_BOX |
|
#define | FL_GLEAM_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+1) |
|
#define | FL_GLEAM_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+3) |
|
#define | FL_GLEAM_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+7) |
|
#define | FL_GLEAM_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+6) |
|
#define | FL_GLEAM_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+5) |
|
#define | FL_GLEAM_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+4) |
|
#define | FL_GLEAM_UP_BOX fl_define_FL_GLEAM_UP_BOX() |
|
#define | FL_GLEAM_UP_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+2) |
|
#define | FL_GTK_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+1) |
|
#define | FL_GTK_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+3) |
|
#define | FL_GTK_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+9) |
|
#define | FL_GTK_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+8) |
|
#define | FL_GTK_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+5) |
|
#define | FL_GTK_THIN_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+7) |
|
#define | FL_GTK_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+4) |
|
#define | FL_GTK_THIN_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+6) |
|
#define | FL_GTK_UP_BOX fl_define_FL_GTK_UP_BOX() |
|
#define | FL_GTK_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+2) |
|
enum | Fl_Labeltype {
FL_NORMAL_LABEL = 0
, FL_NO_LABEL
, _FL_SHADOW_LABEL
, _FL_ENGRAVED_LABEL
,
_FL_EMBOSSED_LABEL
, _FL_MULTI_LABEL
, _FL_ICON_LABEL
, _FL_IMAGE_LABEL
,
FL_FREE_LABELTYPE
} |
| The labeltype() method sets the type of the label. More...
|
|
#define | FL_OFLAT_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+3) |
|
#define | FL_OSHADOW_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+1) |
|
#define | FL_OVAL_BOX fl_define_FL_OVAL_BOX() |
|
#define | FL_OVAL_FRAME (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+2) |
|
#define | FL_PLASTIC_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+1) |
|
#define | FL_PLASTIC_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+3) |
|
#define | FL_PLASTIC_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+7) |
|
#define | FL_PLASTIC_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+6) |
|
#define | FL_PLASTIC_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+5) |
|
#define | FL_PLASTIC_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+4) |
|
#define | FL_PLASTIC_UP_BOX fl_define_FL_PLASTIC_UP_BOX() |
|
#define | FL_PLASTIC_UP_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+2) |
|
#define | FL_RFLAT_BOX fl_define_FL_RFLAT_BOX() |
|
#define | FL_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_ROUND_UP_BOX()+1) |
|
#define | FL_ROUND_UP_BOX fl_define_FL_ROUND_UP_BOX() |
|
#define | FL_ROUNDED_BOX fl_define_FL_ROUNDED_BOX() |
|
#define | FL_ROUNDED_FRAME (Fl_Boxtype)(fl_define_FL_ROUNDED_BOX()+2) |
|
#define | FL_RSHADOW_BOX fl_define_FL_RSHADOW_BOX() |
|
#define | FL_SHADOW_BOX fl_define_FL_SHADOW_BOX() |
|
#define | FL_SHADOW_FRAME (Fl_Boxtype)(fl_define_FL_SHADOW_BOX()+2) |
|
#define | FL_SHADOW_LABEL fl_define_FL_SHADOW_LABEL() |
|
#define | FL_SYMBOL_LABEL FL_NORMAL_LABEL |
| Sets the current label type and return its corresponding Fl_Labeltype value.
|
|