Flags


Typedefs

typedef Flags fltk::Align
typedef int fltk::Flags

Enumerations

enum  {
  NO_FLAGS, fltk::ALIGN_CENTER, fltk::ALIGN_TOP, fltk::ALIGN_BOTTOM,
  fltk::ALIGN_LEFTTOP, fltk::ALIGN_LEFT, fltk::ALIGN_TOPLEFT, fltk::ALIGN_BOTTOMLEFT,
  fltk::ALIGN_LEFTBOTTOM, fltk::ALIGN_RIGHT, fltk::ALIGN_TOPRIGHT, fltk::ALIGN_BOTTOMRIGHT,
  fltk::ALIGN_RIGHTTOP, fltk::ALIGN_CENTERLEFT, fltk::ALIGN_RIGHTBOTTOM, fltk::ALIGN_INSIDE,
  fltk::ALIGN_INSIDE_TOP, fltk::ALIGN_INSIDE_BOTTOM, fltk::ALIGN_INSIDE_LEFT, fltk::ALIGN_INSIDE_TOPLEFT,
  fltk::ALIGN_INSIDE_BOTTOMLEFT, fltk::ALIGN_INSIDE_RIGHT, fltk::ALIGN_INSIDE_TOPRIGHT, fltk::ALIGN_INSIDE_BOTTOMRIGHT,
  fltk::ALIGN_CLIP, fltk::ALIGN_WRAP, fltk::ALIGN_MASK, fltk::NOTACTIVE,
  fltk::OUTPUT, fltk::VALUE, fltk::SELECTED, fltk::INVISIBLE,
  fltk::HIGHLIGHT, fltk::CHANGED, fltk::COPIED_LABEL, fltk::RAW_LABEL,
  fltk::LAYOUT_VERTICAL, fltk::TAB_TO_FOCUS, fltk::CLICK_TO_FOCUS, fltk::INACTIVE,
  fltk::FOCUSED, fltk::PUSHED
}

Typedef Documentation

typedef int Flags
 

Type returned by fltk::Widget::flags() and passed to fltk::Box and many other drawing functions.

typedef Flags Align
 

For back compatability with fltk1.1


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
ALIGN_CENTER  (0) The label is centered inside widget
ALIGN_TOP  Label is centered above widget.
ALIGN_BOTTOM  Label is centered below widget.
ALIGN_LEFTTOP  Label is left of widget at top.
ALIGN_LEFT  Label is to left of widget.
ALIGN_TOPLEFT  Label is left-justified above widget.
ALIGN_BOTTOMLEFT  Label is left-justified below widget.
ALIGN_LEFTBOTTOM  Label is left of widget at bottom.
ALIGN_RIGHT  Label is to right of widget.
ALIGN_TOPRIGHT  Label is right-justified above widget.
ALIGN_BOTTOMRIGHT  Label is right-justified below widget.
ALIGN_RIGHTTOP  Label is right of widget at top.
ALIGN_CENTERLEFT  Label is centered in space left of widget.
ALIGN_RIGHTBOTTOM  Label is right of widget at bottom.
ALIGN_INSIDE  Label is inside widget, image centered.
ALIGN_INSIDE_TOP  Label is inside widget at top.
ALIGN_INSIDE_BOTTOM  Label is inside widget at bottom.
ALIGN_INSIDE_LEFT  Label is inside widget at left.
ALIGN_INSIDE_TOPLEFT  Label is inside widget at top left.
ALIGN_INSIDE_BOTTOMLEFT  Label is inside widget at bottom left.
ALIGN_INSIDE_RIGHT  Label is inside widget at right.
ALIGN_INSIDE_TOPRIGHT  Label is inside widget at top right.
ALIGN_INSIDE_BOTTOMRIGHT  Label is inside widget bottom right.
ALIGN_CLIP  The label is clipped to the widget.
ALIGN_WRAP  The label is word-wrapped.
ALIGN_MASK  Used to split align() from flags().
NOTACTIVE  !active()
OUTPUT  does not get events, draw text colors
VALUE  true/on state
SELECTED  chosen in browser/menu, draw selected colors
INVISIBLE  !visible(), draw_frame()
HIGHLIGHT  draw highlighted
CHANGED  value() changed since last callback
COPIED_LABEL  copy_label() was called
RAW_LABEL  don't interpret & or @ in label
LAYOUT_VERTICAL  fltk::Pack puts this widget vertical
TAB_TO_FOCUS  Widget::tab_to_focus();.
CLICK_TO_FOCUS  Widget::click_to_focus().
INACTIVE  draw it grayed-out
FOCUSED  draw with keyboard focus
PUSHED  draw pushed-in


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