
FLTK::Flags - Unified flags set for FLTK

Type returned by Widget::flags() and passed to Box and many other drawing functions.
These flags control the appearance of boxes and widgets. This same value is used to:
These are shared because various parts of the code, especially drawing, want all of this information at once, and providing it as a single word is the easiest way.

This is the complete list of flags.
You may import them with the flags tag or individually.
NO_FLAGSALIGN_TOPLabel is centered above widget
ALIGN_BOTTOMLabel is centered below widget
ALIGN_LEFTLabel is to left of widget
ALIGN_RIGHTLabel is to right of widget
ALIGN_CENTERThe label is centered inside widget
ALIGN_INSIDELabel is inside widget, image centered
ALIGN_CLIPThe label is clipped to the widget
ALIGN_WRAPThe label is word-wrapped
ALIGN_MASKALIGN_POSITIONMASKUsed to split align() from flags() =item ALIGN_TOPLEFT
Label is left-justified above widget
ALIGN_BOTTOMLEFTLabel is left-justified below widget
ALIGN_TOPRIGHTLabel is right-justified above widget
ALIGN_BOTTOMRIGHTLabel is right-justified below widget
ALIGN_CENTERLEFTLabel is centered in space left of widget
ALIGN_CENTERRIGHTLabel is centered in space left of widget
ALIGN_INSIDE_TOPLabel is inside widget at top
ALIGN_INSIDE_BOTTOMLabel is inside widget at bottom
ALIGN_INSIDE_LEFTLabel is inside widget at left
ALIGN_INSIDE_TOPLEFTLabel is inside widget at top left
ALIGN_INSIDE_BOTTOMLEFTLabel is inside widget at bottom left
ALIGN_INSIDE_RIGHTLabel is inside widget at right
ALIGN_INSIDE_TOPRIGHTLabel is inside widget at top right
ALIGN_INSIDE_BOTTOMRIGHTLabel is inside widget bottom right
ALIGN_MENULabel is inside widget bottom right
ALIGN_BROWSERLabel is inside widget bottom right
INACTIVE!active()
OUTPUTdoes not get events, draw text colors
STATEstate(), value() for buttons
SELECTEDchosen in browser/menu, draw selected colors
INVISIBLE!visible(), draw_frame()
HIGHLIGHTdraw highlighted
CHANGEDvalue changed since last callback
COPIED_LABELcopy_label() was called
RAW_LABELdon't interpret & or @ in label
LAYOUT_VERTICALfltk::Pack puts this widget vertical
TAB_TO_FOCUSWidget::tab_to_focus();
CLICK_TO_FOCUSWidget::click_to_focus()
INACTIVE_Rdraw it grayed-out
FOCUSEDdraw with keyboard focus
PUSHEDdraw pushed-in
RESIZE_NONEdefault behavior
RESIZE_FITproportionnaly resize img in widget
RESIZE_FILLresize img to fill the widget
OPENEDopened browser hierarchy parent

Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/

Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.