fltk
1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
![]() ![]() |
Go to the source code of this file.
Macros | |
#define | FL_IMAGE_WITH_ALPHA 0x40000000 |
Version Numbers | |
FLTK defines some constants to help the programmer to find out, for which FLTK version a program is compiled. The following constants are defined: | |
#define | FL_MAJOR_VERSION 1 |
#define | FL_MINOR_VERSION 3 |
#define | FL_PATCH_VERSION 5 |
#define | FL_VERSION |
#define | FL_API_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100 + FL_PATCH_VERSION) |
#define | FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100) |
#define | FLTK_ABI_VERSION FL_ABI_VERSION |
Mouse and Keyboard Events | |
This and the following constants define the non-ASCII keys on the keyboard for FL_KEYBOARD and FL_SHORTCUT events.
| |
#define | FL_Button 0xfee8 |
A mouse button; use Fl_Button + n for mouse button n. More... | |
#define | FL_BackSpace 0xff08 |
The backspace key. More... | |
#define | FL_Tab 0xff09 |
The tab key. More... | |
#define | FL_Iso_Key 0xff0c |
The additional key of ISO keyboards. More... | |
#define | FL_Enter 0xff0d |
The enter key. More... | |
#define | FL_Pause 0xff13 |
The pause key. More... | |
#define | FL_Scroll_Lock 0xff14 |
The scroll lock key. More... | |
#define | FL_Escape 0xff1b |
The escape key. More... | |
#define | FL_Kana 0xff2e |
The Kana key of JIS keyboards. More... | |
#define | FL_Eisu 0xff2f |
The Eisu key of JIS keyboards. More... | |
#define | FL_Yen 0xff30 |
The Yen key of JIS keyboards. More... | |
#define | FL_JIS_Underscore 0xff31 |
The underscore key of JIS keyboards. More... | |
#define | FL_Home 0xff50 |
The home key. More... | |
#define | FL_Left 0xff51 |
The left arrow key. More... | |
#define | FL_Up 0xff52 |
The up arrow key. More... | |
#define | FL_Right 0xff53 |
The right arrow key. More... | |
#define | FL_Down 0xff54 |
The down arrow key. More... | |
#define | FL_Page_Up 0xff55 |
The page-up key. More... | |
#define | FL_Page_Down 0xff56 |
The page-down key. More... | |
#define | FL_End 0xff57 |
The end key. More... | |
#define | FL_Print 0xff61 |
The print (or print-screen) key. More... | |
#define | FL_Insert 0xff63 |
The insert key. More... | |
#define | FL_Menu 0xff67 |
The menu key. More... | |
#define | FL_Help 0xff68 |
The 'help' key on Mac keyboards. More... | |
#define | FL_Num_Lock 0xff7f |
The num lock key. More... | |
#define | FL_KP 0xff80 |
One of the keypad numbers; use FL_KP + 'n' for digit n. More... | |
#define | FL_KP_Enter 0xff8d |
The enter key on the keypad, same as Fl_KP+'\r'. More... | |
#define | FL_KP_Last 0xffbd |
The last keypad key; use to range-check keypad. More... | |
#define | FL_F 0xffbd |
One of the function keys; use FL_F + n for function key n. More... | |
#define | FL_F_Last 0xffe0 |
The last function key; use to range-check function keys. More... | |
#define | FL_Shift_L 0xffe1 |
The lefthand shift key. More... | |
#define | FL_Shift_R 0xffe2 |
The righthand shift key. More... | |
#define | FL_Control_L 0xffe3 |
The lefthand control key. More... | |
#define | FL_Control_R 0xffe4 |
The righthand control key. More... | |
#define | FL_Caps_Lock 0xffe5 |
The caps lock key. More... | |
#define | FL_Meta_L 0xffe7 |
The left meta/Windows key. More... | |
#define | FL_Meta_R 0xffe8 |
The right meta/Windows key. More... | |
#define | FL_Alt_L 0xffe9 |
The left alt key. More... | |
#define | FL_Alt_R 0xffea |
The right alt key. More... | |
#define | FL_Delete 0xffff |
The delete key. More... | |
#define | FL_Volume_Down 0xEF11 /* Volume control down */ |
#define | FL_Volume_Mute 0xEF12 /* Mute sound from the system */ |
#define | FL_Volume_Up 0xEF13 /* Volume control up */ |
#define | FL_Media_Play 0xEF14 /* Start playing of audio */ |
#define | FL_Media_Stop 0xEF15 /* Stop playing audio */ |
#define | FL_Media_Prev 0xEF16 /* Previous track */ |
#define | FL_Media_Next 0xEF17 /* Next track */ |
#define | FL_Home_Page 0xEF18 /* Display user's home page */ |
#define | FL_Mail 0xEF19 /* Invoke user's mail program */ |
#define | FL_Search 0xEF1B /* Search */ |
#define | FL_Back 0xEF26 /* Like back on a browser */ |
#define | FL_Forward 0xEF27 /* Like forward on a browser */ |
#define | FL_Stop 0xEF28 /* Stop current operation */ |
#define | FL_Refresh 0xEF29 /* Refresh the page */ |
#define | FL_Sleep 0xEF2F /* Put system to sleep */ |
#define | FL_Favorites 0xEF30 /* Show favorite locations */ |
Mouse Buttons | |
These constants define the button numbers for FL_PUSH and FL_RELEASE events.
| |
#define | FL_LEFT_MOUSE 1 |
The left mouse button. More... | |
#define | FL_MIDDLE_MOUSE 2 |
The middle mouse button. More... | |
#define | FL_RIGHT_MOUSE 3 |
The right mouse button. More... | |
Event States | |
The following constants define bits in the Fl::event_state() value. | |
#define | FL_SHIFT 0x00010000 |
One of the shift keys is down. More... | |
#define | FL_CAPS_LOCK 0x00020000 |
The caps lock is on. More... | |
#define | FL_CTRL 0x00040000 |
One of the ctrl keys is down. More... | |
#define | FL_ALT 0x00080000 |
One of the alt keys is down. More... | |
#define | FL_NUM_LOCK 0x00100000 |
The num lock is on. More... | |
#define | FL_META 0x00400000 |
One of the meta/Windows keys is down. More... | |
#define | FL_SCROLL_LOCK 0x00800000 |
The scroll lock is on. More... | |
#define | FL_BUTTON1 0x01000000 |
Mouse button 1 is pushed. More... | |
#define | FL_BUTTON2 0x02000000 |
Mouse button 2 is pushed. More... | |
#define | FL_BUTTON3 0x04000000 |
Mouse button 3 is pushed. More... | |
#define | FL_BUTTONS 0x7f000000 |
Any mouse button is pushed. More... | |
#define | FL_BUTTON(n) (0x00800000<<(n)) |
Mouse button n (n > 0) is pushed. More... | |
#define | FL_KEY_MASK 0x0000ffff |
All keys are 16 bit for now. More... | |
#define | FL_COMMAND FL_CTRL |
An alias for FL_CTRL on WIN32 and X11, or FL_META on MacOS X. More... | |
#define | FL_CONTROL FL_META |
An alias for FL_META on WIN32 and X11, or FL_CTRL on MacOS X. More... | |
Typedefs | |
typedef int | Fl_Fontsize |
Variables | |
Fl_Fontsize | FL_NORMAL_SIZE |
normal font size More... | |
Alignment Flags | |
Flags to control the label alignment. This controls how the label is displayed next to or inside the widget. The default value is FL_ALIGN_CENTER (0) for most widgets, which centers the label inside the widget. Flags can be or'd to achieve a combination of alignments, but there are some "magic values" (e.g. combinations of TOP and BOTTOM and of LEFT and RIGHT) that have special meanings (see below). For instance: Outside alignments (FL_ALIGN_INSIDE is not set): TOP_LEFT TOP TOP_RIGHT +---------------------------------+ LEFT_TOP| |RIGHT_TOP | | | | LEFT_BOTTOM| |RIGHT_BOTTOM +---------------------------------+ BOTTOM_LEFT BOTTOM BOTTOM_RIGHT Inside alignments (FL_ALIGN_INSIDE is set): +---------------------------------+ |TOP_LEFT TOP TOP_RIGHT| | | | | |BOTTOM_LEFT BOTTOM BOTTOM_RIGHT| +---------------------------------+
| |
typedef unsigned | Fl_Align |
const Fl_Align | FL_ALIGN_CENTER = (Fl_Align)0 |
const Fl_Align | FL_ALIGN_TOP = (Fl_Align)1 |
const Fl_Align | FL_ALIGN_BOTTOM = (Fl_Align)2 |
const Fl_Align | FL_ALIGN_LEFT = (Fl_Align)4 |
const Fl_Align | FL_ALIGN_RIGHT = (Fl_Align)8 |
const Fl_Align | FL_ALIGN_INSIDE = (Fl_Align)16 |
const Fl_Align | FL_ALIGN_TEXT_OVER_IMAGE = (Fl_Align)0x0020 |
const Fl_Align | FL_ALIGN_IMAGE_OVER_TEXT = (Fl_Align)0x0000 |
const Fl_Align | FL_ALIGN_CLIP = (Fl_Align)64 |
const Fl_Align | FL_ALIGN_WRAP = (Fl_Align)128 |
const Fl_Align | FL_ALIGN_IMAGE_NEXT_TO_TEXT = (Fl_Align)0x0100 |
const Fl_Align | FL_ALIGN_TEXT_NEXT_TO_IMAGE = (Fl_Align)0x0120 |
const Fl_Align | FL_ALIGN_IMAGE_BACKDROP = (Fl_Align)0x0200 |
const Fl_Align | FL_ALIGN_TOP_LEFT = FL_ALIGN_TOP | FL_ALIGN_LEFT |
const Fl_Align | FL_ALIGN_TOP_RIGHT = FL_ALIGN_TOP | FL_ALIGN_RIGHT |
const Fl_Align | FL_ALIGN_BOTTOM_LEFT = FL_ALIGN_BOTTOM | FL_ALIGN_LEFT |
const Fl_Align | FL_ALIGN_BOTTOM_RIGHT = FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT |
const Fl_Align | FL_ALIGN_LEFT_TOP = 0x0007 |
const Fl_Align | FL_ALIGN_RIGHT_TOP = 0x000b |
const Fl_Align | FL_ALIGN_LEFT_BOTTOM = 0x000d |
const Fl_Align | FL_ALIGN_RIGHT_BOTTOM = 0x000e |
const Fl_Align | FL_ALIGN_NOWRAP = (Fl_Align)0 |
const Fl_Align | FL_ALIGN_POSITION_MASK = 0x000f |
const Fl_Align | FL_ALIGN_IMAGE_MASK = 0x0320 |
Font Numbers | |
typedef int | Fl_Font |
const Fl_Font | FL_HELVETICA = 0 |
Helvetica (or Arial) normal (0) More... | |
const Fl_Font | FL_HELVETICA_BOLD = 1 |
Helvetica (or Arial) bold. More... | |
const Fl_Font | FL_HELVETICA_ITALIC = 2 |
Helvetica (or Arial) oblique. More... | |
const Fl_Font | FL_HELVETICA_BOLD_ITALIC = 3 |
Helvetica (or Arial) bold-oblique. More... | |
const Fl_Font | FL_COURIER = 4 |
Courier normal. More... | |
const Fl_Font | FL_COURIER_BOLD = 5 |
Courier bold. More... | |
const Fl_Font | FL_COURIER_ITALIC = 6 |
Courier italic. More... | |
const Fl_Font | FL_COURIER_BOLD_ITALIC = 7 |
Courier bold-italic. More... | |
const Fl_Font | FL_TIMES = 8 |
Times roman. More... | |
const Fl_Font | FL_TIMES_BOLD = 9 |
Times roman bold. More... | |
const Fl_Font | FL_TIMES_ITALIC = 10 |
Times roman italic. More... | |
const Fl_Font | FL_TIMES_BOLD_ITALIC = 11 |
Times roman bold-italic. More... | |
const Fl_Font | FL_SYMBOL = 12 |
Standard symbol font. More... | |
const Fl_Font | FL_SCREEN = 13 |
Default monospaced screen font. More... | |
const Fl_Font | FL_SCREEN_BOLD = 14 |
Default monospaced bold screen font. More... | |
const Fl_Font | FL_ZAPF_DINGBATS = 15 |
Zapf-dingbats font. More... | |
const Fl_Font | FL_FREE_FONT = 16 |
first one to allocate More... | |
const Fl_Font | FL_BOLD = 1 |
add this to helvetica, courier, or times More... | |
const Fl_Font | FL_ITALIC = 2 |
add this to helvetica, courier, or times More... | |
const Fl_Font | FL_BOLD_ITALIC = 3 |
add this to helvetica, courier, or times More... | |
Colors | |
The Fl_Color type holds an FLTK color value. Colors are either 8-bit indexes into a virtual colormap or 24-bit RGB color values. (See Colors for the default FLTK colormap) Color indices occupy the lower 8 bits of the value, while RGB colors occupy the upper 24 bits, for a byte organization of RGBI. Fl_Color => 0xrrggbbii | | | | | | | +--- index between 0 and 255 | | +----- blue color component (8 bit) | +------- green component (8 bit) +--------- red component (8 bit) A color can have either an index or an rgb value. Colors with rgb set and an index >0 are reserved for special use. | |
#define | FL_FREE_COLOR (Fl_Color)16 |
#define | FL_NUM_FREE_COLOR 16 |
#define | FL_GRAY_RAMP (Fl_Color)32 |
#define | FL_NUM_GRAY 24 |
#define | FL_GRAY FL_BACKGROUND_COLOR |
#define | FL_COLOR_CUBE (Fl_Color)56 |
#define | FL_NUM_RED 5 |
#define | FL_NUM_GREEN 8 |
#define | FL_NUM_BLUE 5 |
typedef unsigned int | Fl_Color |
const Fl_Color | FL_FOREGROUND_COLOR = 0 |
the default foreground color (0) used for labels and text More... | |
const Fl_Color | FL_BACKGROUND2_COLOR = 7 |
the default background color for text, list, and valuator widgets More... | |
const Fl_Color | FL_INACTIVE_COLOR = 8 |
the inactive foreground color More... | |
const Fl_Color | FL_SELECTION_COLOR = 15 |
the default selection/highlight color More... | |
const Fl_Color | FL_GRAY0 = 32 |
const Fl_Color | FL_DARK3 = 39 |
const Fl_Color | FL_DARK2 = 45 |
const Fl_Color | FL_DARK1 = 47 |
const Fl_Color | FL_BACKGROUND_COLOR = 49 |
const Fl_Color | FL_LIGHT1 = 50 |
const Fl_Color | FL_LIGHT2 = 52 |
const Fl_Color | FL_LIGHT3 = 54 |
const Fl_Color | FL_BLACK = 56 |
const Fl_Color | FL_RED = 88 |
const Fl_Color | FL_GREEN = 63 |
const Fl_Color | FL_YELLOW = 95 |
const Fl_Color | FL_BLUE = 216 |
const Fl_Color | FL_MAGENTA = 248 |
const Fl_Color | FL_CYAN = 223 |
const Fl_Color | FL_DARK_RED = 72 |
const Fl_Color | FL_DARK_GREEN = 60 |
const Fl_Color | FL_DARK_YELLOW = 76 |
const Fl_Color | FL_DARK_BLUE = 136 |
const Fl_Color | FL_DARK_MAGENTA = 152 |
const Fl_Color | FL_DARK_CYAN = 140 |
const Fl_Color | FL_WHITE = 255 |
Fl_Color | fl_inactive (Fl_Color c) |
Fl_Color | fl_contrast (Fl_Color fg, Fl_Color bg) |
Fl_Color | fl_color_average (Fl_Color c1, Fl_Color c2, float weight) |
Fl_Color | fl_lighter (Fl_Color c) |
Fl_Color | fl_darker (Fl_Color c) |
Fl_Color | fl_rgb_color (uchar r, uchar g, uchar b) |
Fl_Color | fl_rgb_color (uchar g) |
Fl_Color | fl_gray_ramp (int i) |
Fl_Color | fl_color_cube (int r, int g, int b) |
This file contains type definitions and general enumerations.
Definition in file Enumerations.H.
#define FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100) |
The FLTK ABI (Application Binary Interface) version number as an int.
FL_ABI_VERSION is an int that describes the major, minor, and patch ABI version numbers in the same format as FL_API_VERSION.
The ABI version number FL_ABI_VERSION
is usually the same as the API version FL_API_VERSION
with the last two digits set to '00'.
FLTK retains the ABI (Application Binary Interface) during patch releases of the same major and minor versions. Examples:
FLTK Version FL_API_VERSION FL_ABI_VERSION FL_VERSION (deprecated) 1.3.0 10300 10300 1.0300 1.3.4 10304 10300 1.0304
Version 1.2.3 is actually stored as 10203 to allow for more than 9 minor and patch releases.
The FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION constants give the integral values for the major, minor, and patch releases respectively.
To enable new ABI-breaking features in patch releases you can configure FLTK to use a higher FL_ABI_VERSION.
Definition at line 156 of file Enumerations.H.
#define FL_ALT 0x00080000 |
One of the alt keys is down.
Definition at line 560 of file Enumerations.H.
#define FL_Alt_L 0xffe9 |
The left alt key.
Definition at line 504 of file Enumerations.H.
#define FL_Alt_R 0xffea |
The right alt key.
Definition at line 505 of file Enumerations.H.
#define FL_API_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100 + FL_PATCH_VERSION) |
The FLTK API version number as an int.
FL_API_VERSION is an int that describes the major, minor, and patch version numbers.
Version 1.2.3 is actually stored as 10203 to allow for more than 9 minor and patch releases.
The FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION constants give the integral values for the major, minor, and patch releases respectively.
Definition at line 123 of file Enumerations.H.
#define FL_Back 0xEF26 /* Like back on a browser */ |
Definition at line 522 of file Enumerations.H.
#define FL_BackSpace 0xff08 |
The backspace key.
Definition at line 468 of file Enumerations.H.
#define FL_BUTTON | ( | n | ) | (0x00800000<<(n)) |
Mouse button n (n > 0) is pushed.
Definition at line 571 of file Enumerations.H.
#define FL_Button 0xfee8 |
A mouse button; use Fl_Button + n for mouse button n.
Definition at line 467 of file Enumerations.H.
#define FL_BUTTON1 0x01000000 |
Mouse button 1 is pushed.
Definition at line 567 of file Enumerations.H.
#define FL_BUTTON2 0x02000000 |
Mouse button 2 is pushed.
Definition at line 568 of file Enumerations.H.
#define FL_BUTTON3 0x04000000 |
Mouse button 3 is pushed.
Definition at line 569 of file Enumerations.H.
#define FL_BUTTONS 0x7f000000 |
Any mouse button is pushed.
Definition at line 570 of file Enumerations.H.
#define FL_Caps_Lock 0xffe5 |
The caps lock key.
Definition at line 501 of file Enumerations.H.
#define FL_CAPS_LOCK 0x00020000 |
The caps lock is on.
Definition at line 558 of file Enumerations.H.
#define FL_CIRCLE_BOX FL_ROUND_DOWN_BOX |
Definition at line 746 of file Enumerations.H.
#define FL_COLOR_CUBE (Fl_Color)56 |
Definition at line 979 of file Enumerations.H.
#define FL_COMMAND FL_CTRL |
An alias for FL_CTRL on WIN32 and X11, or FL_META on MacOS X.
Definition at line 580 of file Enumerations.H.
#define FL_CONTROL FL_META |
An alias for FL_META on WIN32 and X11, or FL_CTRL on MacOS X.
Definition at line 581 of file Enumerations.H.
#define FL_Control_L 0xffe3 |
The lefthand control key.
Definition at line 499 of file Enumerations.H.
#define FL_Control_R 0xffe4 |
The righthand control key.
Definition at line 500 of file Enumerations.H.
#define FL_CTRL 0x00040000 |
One of the ctrl keys is down.
Definition at line 559 of file Enumerations.H.
#define FL_Delete 0xffff |
The delete key.
Definition at line 506 of file Enumerations.H.
#define FL_DIAMOND_BOX FL_DIAMOND_DOWN_BOX |
Definition at line 747 of file Enumerations.H.
#define FL_DIAMOND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_DIAMOND_BOX()+1) |
Definition at line 678 of file Enumerations.H.
#define FL_DIAMOND_UP_BOX fl_define_FL_DIAMOND_BOX() |
Definition at line 677 of file Enumerations.H.
#define FL_Down 0xff54 |
The down arrow key.
Definition at line 483 of file Enumerations.H.
#define FL_Eisu 0xff2f |
The Eisu key of JIS keyboards.
Definition at line 476 of file Enumerations.H.
#define FL_EMBOSSED_LABEL fl_define_FL_EMBOSSED_LABEL() |
Definition at line 786 of file Enumerations.H.
#define FL_End 0xff57 |
The end key.
Definition at line 486 of file Enumerations.H.
#define FL_ENGRAVED_LABEL fl_define_FL_ENGRAVED_LABEL() |
Definition at line 784 of file Enumerations.H.
#define FL_Enter 0xff0d |
The enter key.
Definition at line 471 of file Enumerations.H.
#define FL_Escape 0xff1b |
The escape key.
Definition at line 474 of file Enumerations.H.
#define FL_F 0xffbd |
One of the function keys; use FL_F + n for function key n.
Definition at line 495 of file Enumerations.H.
#define FL_F_Last 0xffe0 |
The last function key; use to range-check function keys.
Definition at line 496 of file Enumerations.H.
#define FL_Favorites 0xEF30 /* Show favorite locations */ |
Definition at line 527 of file Enumerations.H.
#define FL_Forward 0xEF27 /* Like forward on a browser */ |
Definition at line 523 of file Enumerations.H.
#define FL_FRAME FL_ENGRAVED_FRAME |
Definition at line 744 of file Enumerations.H.
#define FL_FRAME_BOX FL_ENGRAVED_BOX |
Definition at line 745 of file Enumerations.H.
#define FL_FREE_COLOR (Fl_Color)16 |
Definition at line 974 of file Enumerations.H.
#define FL_GLEAM_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+1) |
Definition at line 709 of file Enumerations.H.
#define FL_GLEAM_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+3) |
Definition at line 711 of file Enumerations.H.
#define FL_GLEAM_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+7) |
Definition at line 715 of file Enumerations.H.
#define FL_GLEAM_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+6) |
Definition at line 714 of file Enumerations.H.
#define FL_GLEAM_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+5) |
Definition at line 713 of file Enumerations.H.
#define FL_GLEAM_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+4) |
Definition at line 712 of file Enumerations.H.
#define FL_GLEAM_UP_BOX fl_define_FL_GLEAM_UP_BOX() |
Definition at line 708 of file Enumerations.H.
#define FL_GLEAM_UP_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+2) |
Definition at line 710 of file Enumerations.H.
#define FL_GRAY FL_BACKGROUND_COLOR |
Definition at line 978 of file Enumerations.H.
#define FL_GRAY_RAMP (Fl_Color)32 |
Definition at line 976 of file Enumerations.H.
#define FL_GTK_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+1) |
Definition at line 697 of file Enumerations.H.
#define FL_GTK_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+3) |
Definition at line 699 of file Enumerations.H.
#define FL_GTK_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+9) |
Definition at line 705 of file Enumerations.H.
#define FL_GTK_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+8) |
Definition at line 704 of file Enumerations.H.
#define FL_GTK_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+5) |
Definition at line 701 of file Enumerations.H.
#define FL_GTK_THIN_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+7) |
Definition at line 703 of file Enumerations.H.
#define FL_GTK_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+4) |
Definition at line 700 of file Enumerations.H.
#define FL_GTK_THIN_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+6) |
Definition at line 702 of file Enumerations.H.
#define FL_GTK_UP_BOX fl_define_FL_GTK_UP_BOX() |
Definition at line 696 of file Enumerations.H.
#define FL_GTK_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+2) |
Definition at line 698 of file Enumerations.H.
#define FL_Help 0xff68 |
The 'help' key on Mac keyboards.
Definition at line 490 of file Enumerations.H.
#define FL_Home 0xff50 |
The home key.
Definition at line 479 of file Enumerations.H.
#define FL_Home_Page 0xEF18 /* Display user's home page */ |
Definition at line 519 of file Enumerations.H.
#define FL_IMAGE_WITH_ALPHA 0x40000000 |
Definition at line 1102 of file Enumerations.H.
#define FL_Insert 0xff63 |
The insert key.
Definition at line 488 of file Enumerations.H.
#define FL_Iso_Key 0xff0c |
The additional key of ISO keyboards.
Definition at line 470 of file Enumerations.H.
#define FL_JIS_Underscore 0xff31 |
The underscore key of JIS keyboards.
Definition at line 478 of file Enumerations.H.
#define FL_Kana 0xff2e |
The Kana key of JIS keyboards.
Definition at line 475 of file Enumerations.H.
#define FL_KEY_MASK 0x0000ffff |
All keys are 16 bit for now.
Definition at line 573 of file Enumerations.H.
#define FL_KP 0xff80 |
One of the keypad numbers; use FL_KP + 'n' for digit n.
Definition at line 492 of file Enumerations.H.
#define FL_KP_Enter 0xff8d |
The enter key on the keypad, same as Fl_KP+'\r'.
Definition at line 493 of file Enumerations.H.
#define FL_KP_Last 0xffbd |
The last keypad key; use to range-check keypad.
Definition at line 494 of file Enumerations.H.
#define FL_Left 0xff51 |
The left arrow key.
Definition at line 480 of file Enumerations.H.
#define FL_LEFT_MOUSE 1 |
The left mouse button.
Definition at line 540 of file Enumerations.H.
#define FL_Mail 0xEF19 /* Invoke user's mail program */ |
Definition at line 520 of file Enumerations.H.
#define FL_MAJOR_VERSION 1 |
The major release version of this FLTK library.
Definition at line 64 of file Enumerations.H.
#define FL_Media_Next 0xEF17 /* Next track */ |
Definition at line 518 of file Enumerations.H.
#define FL_Media_Play 0xEF14 /* Start playing of audio */ |
Definition at line 515 of file Enumerations.H.
#define FL_Media_Prev 0xEF16 /* Previous track */ |
Definition at line 517 of file Enumerations.H.
#define FL_Media_Stop 0xEF15 /* Stop playing audio */ |
Definition at line 516 of file Enumerations.H.
#define FL_Menu 0xff67 |
The menu key.
Definition at line 489 of file Enumerations.H.
#define FL_META 0x00400000 |
One of the meta/Windows keys is down.
Definition at line 563 of file Enumerations.H.
#define FL_Meta_L 0xffe7 |
The left meta/Windows key.
Definition at line 502 of file Enumerations.H.
#define FL_Meta_R 0xffe8 |
The right meta/Windows key.
Definition at line 503 of file Enumerations.H.
#define FL_MIDDLE_MOUSE 2 |
The middle mouse button.
Definition at line 541 of file Enumerations.H.
#define FL_MINOR_VERSION 3 |
The minor release version for this library.
FLTK remains mostly source-code compatible between minor version changes.
Definition at line 71 of file Enumerations.H.
#define FL_NUM_BLUE 5 |
Definition at line 982 of file Enumerations.H.
#define FL_NUM_FREE_COLOR 16 |
Definition at line 975 of file Enumerations.H.
#define FL_NUM_GRAY 24 |
Definition at line 977 of file Enumerations.H.
#define FL_NUM_GREEN 8 |
Definition at line 981 of file Enumerations.H.
#define FL_Num_Lock 0xff7f |
The num lock key.
Definition at line 491 of file Enumerations.H.
#define FL_NUM_LOCK 0x00100000 |
The num lock is on.
Definition at line 561 of file Enumerations.H.
#define FL_NUM_RED 5 |
Definition at line 980 of file Enumerations.H.
#define FL_OFLAT_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+3) |
Definition at line 683 of file Enumerations.H.
#define FL_OSHADOW_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+1) |
Definition at line 681 of file Enumerations.H.
#define FL_OVAL_BOX fl_define_FL_OVAL_BOX() |
Definition at line 680 of file Enumerations.H.
#define FL_OVAL_FRAME (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+2) |
Definition at line 682 of file Enumerations.H.
#define FL_Page_Down 0xff56 |
The page-down key.
Definition at line 485 of file Enumerations.H.
#define FL_Page_Up 0xff55 |
The page-up key.
Definition at line 484 of file Enumerations.H.
#define FL_PATCH_VERSION 5 |
The patch version for this library.
FLTK remains binary compatible between patches.
Definition at line 78 of file Enumerations.H.
#define FL_Pause 0xff13 |
The pause key.
Definition at line 472 of file Enumerations.H.
#define FL_PLASTIC_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+1) |
Definition at line 687 of file Enumerations.H.
#define FL_PLASTIC_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+3) |
Definition at line 689 of file Enumerations.H.
#define FL_PLASTIC_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+7) |
Definition at line 693 of file Enumerations.H.
#define FL_PLASTIC_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+6) |
Definition at line 692 of file Enumerations.H.
#define FL_PLASTIC_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+5) |
Definition at line 691 of file Enumerations.H.
#define FL_PLASTIC_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+4) |
Definition at line 690 of file Enumerations.H.
#define FL_PLASTIC_UP_BOX fl_define_FL_PLASTIC_UP_BOX() |
Definition at line 686 of file Enumerations.H.
#define FL_PLASTIC_UP_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+2) |
Definition at line 688 of file Enumerations.H.
#define FL_Print 0xff61 |
The print (or print-screen) key.
Definition at line 487 of file Enumerations.H.
#define FL_Refresh 0xEF29 /* Refresh the page */ |
Definition at line 525 of file Enumerations.H.
#define FL_RFLAT_BOX fl_define_FL_RFLAT_BOX() |
Definition at line 673 of file Enumerations.H.
#define FL_Right 0xff53 |
The right arrow key.
Definition at line 482 of file Enumerations.H.
#define FL_RIGHT_MOUSE 3 |
The right mouse button.
Definition at line 542 of file Enumerations.H.
#define FL_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_ROUND_UP_BOX()+1) |
Definition at line 665 of file Enumerations.H.
#define FL_ROUND_UP_BOX fl_define_FL_ROUND_UP_BOX() |
Definition at line 664 of file Enumerations.H.
#define FL_ROUNDED_BOX fl_define_FL_ROUNDED_BOX() |
Definition at line 670 of file Enumerations.H.
#define FL_ROUNDED_FRAME (Fl_Boxtype)(fl_define_FL_ROUNDED_BOX()+2) |
Definition at line 671 of file Enumerations.H.
#define FL_RSHADOW_BOX fl_define_FL_RSHADOW_BOX() |
Definition at line 675 of file Enumerations.H.
#define FL_Scroll_Lock 0xff14 |
The scroll lock key.
Definition at line 473 of file Enumerations.H.
#define FL_SCROLL_LOCK 0x00800000 |
The scroll lock is on.
Definition at line 565 of file Enumerations.H.
#define FL_Search 0xEF1B /* Search */ |
Definition at line 521 of file Enumerations.H.
#define FL_SHADOW_BOX fl_define_FL_SHADOW_BOX() |
Definition at line 667 of file Enumerations.H.
#define FL_SHADOW_FRAME (Fl_Boxtype)(fl_define_FL_SHADOW_BOX()+2) |
Definition at line 668 of file Enumerations.H.
#define FL_SHADOW_LABEL fl_define_FL_SHADOW_LABEL() |
Definition at line 782 of file Enumerations.H.
#define FL_SHIFT 0x00010000 |
One of the shift keys is down.
Definition at line 557 of file Enumerations.H.
#define FL_Shift_L 0xffe1 |
The lefthand shift key.
Definition at line 497 of file Enumerations.H.
#define FL_Shift_R 0xffe2 |
The righthand shift key.
Definition at line 498 of file Enumerations.H.
#define FL_Sleep 0xEF2F /* Put system to sleep */ |
Definition at line 526 of file Enumerations.H.
#define FL_Stop 0xEF28 /* Stop current operation */ |
Definition at line 524 of file Enumerations.H.
#define FL_SYMBOL_LABEL FL_NORMAL_LABEL |
Sets the current label type and return its corresponding Fl_Labeltype value.
Definition at line 780 of file Enumerations.H.
#define FL_Tab 0xff09 |
The tab key.
Definition at line 469 of file Enumerations.H.
#define FL_Up 0xff52 |
The up arrow key.
Definition at line 481 of file Enumerations.H.
#define FL_VERSION |
The FLTK version number as a double.
FL_VERSION is a double that describes the major, minor, and patch version numbers.
Version 1.2.3 is actually stored as 1.0203 to allow for more than 9 minor and patch releases.
double
version number is retained for compatibility with existing program code. New code should use int FL_API_VERSION instead. FL_VERSION is deprecated because comparisons of floating point values may fail due to rounding errors. However, there are currently no plans to remove this deprecated constant.FL_VERSION is equivalent to (double)FL_API_VERSION / 10000.
Definition at line 101 of file Enumerations.H.
#define FL_Volume_Down 0xEF11 /* Volume control down */ |
Definition at line 512 of file Enumerations.H.
#define FL_Volume_Mute 0xEF12 /* Mute sound from the system */ |
Definition at line 513 of file Enumerations.H.
#define FL_Volume_Up 0xEF13 /* Volume control up */ |
Definition at line 514 of file Enumerations.H.
#define FL_Yen 0xff30 |
The Yen key of JIS keyboards.
Definition at line 477 of file Enumerations.H.
#define FLTK_ABI_VERSION FL_ABI_VERSION |
Definition at line 198 of file Enumerations.H.
typedef unsigned Fl_Align |
FLTK type for alignment control
Definition at line 828 of file Enumerations.H.
typedef unsigned int Fl_Color |
An FLTK color value; see also Colors
Definition at line 934 of file Enumerations.H.
typedef int Fl_Font |
A font number is an index into the internal font table.
Definition at line 877 of file Enumerations.H.
typedef int Fl_Fontsize |
Size of a font in pixels. This is the approximate height of a font in pixels.
Definition at line 906 of file Enumerations.H.
anonymous enum |
FD "when" conditions
Definition at line 1077 of file Enumerations.H.
enum Fl_Boxtype |
Definition at line 603 of file Enumerations.H.
enum Fl_Cursor |
The following constants define the mouse cursors that are available in FLTK.
Cursors are provided by the system when available, or bitmaps built into FLTK as a fallback.
Definition at line 1048 of file Enumerations.H.
enum Fl_Damage |
Damage masks
Enumerator | |
---|---|
FL_DAMAGE_CHILD | A child needs to be redrawn. |
FL_DAMAGE_EXPOSE | The window was exposed. |
FL_DAMAGE_SCROLL | The Fl_Scroll widget was scrolled. |
FL_DAMAGE_OVERLAY | The overlay planes need to be redrawn. |
FL_DAMAGE_USER1 | First user-defined damage bit. |
FL_DAMAGE_USER2 | Second user-defined damage bit. |
FL_DAMAGE_ALL | Everything needs to be redrawn. |
Definition at line 1105 of file Enumerations.H.
enum Fl_Event |
Every time a user moves the mouse pointer, clicks a button, or presses a key, an event is generated and sent to your application. Events can also come from other programs like the window manager.
Events are identified by the integer argument passed to the Fl_Widget::handle() virtual method. Other information about the most recent event is stored in static locations and acquired by calling the Fl::event_*() methods. This static information remains valid until the next event is read from the window system, so it is ok to look at it outside of the handle() method.
Event numbers can be converted to their actual names using the fl_eventnames[] array defined in #include <FL/names.h>
Enumerator | |
---|---|
FL_NO_EVENT | No event. |
FL_PUSH | A mouse button has gone down with the mouse pointing at this widget. You can find out what button by calling Fl::event_button(). You find out the mouse position by calling Fl::event_x() and Fl::event_y(). A widget indicates that it "wants" the mouse click by returning non-zero from its Fl_Widget::handle() method. It will then become the Fl::pushed() widget and will get FL_DRAG and the matching FL_RELEASE events. |
FL_RELEASE | A mouse button has been released. You can find out what button by calling Fl::event_button(). In order to receive the FL_RELEASE event, the widget must return non-zero when handling FL_PUSH. |
FL_ENTER | The mouse has been moved to point at this widget. This can be used for highlighting feedback. If a widget wants to highlight or otherwise track the mouse, it indicates this by returning non-zero from its handle() method. It then becomes the Fl::belowmouse() widget and will receive FL_MOVE and FL_LEAVE events. |
FL_LEAVE | The mouse has moved out of the widget. In order to receive the FL_LEAVE event, the widget must return non-zero when handling FL_ENTER. |
FL_DRAG | The mouse has moved with a button held down. The current button state is in Fl::event_state(). The mouse position is in Fl::event_x() and Fl::event_y(). In order to receive FL_DRAG events, the widget must return non-zero when handling FL_PUSH. |
FL_FOCUS | This indicates an attempt to give a widget the keyboard focus. If a widget wants the focus, it should change itself to display the fact that it has the focus, and return non-zero from its handle() method. It then becomes the Fl::focus() widget and gets FL_KEYDOWN, FL_KEYUP, and FL_UNFOCUS events. The focus will change either because the window manager changed which window gets the focus, or because the user tried to navigate using tab, arrows, or other keys. You can check Fl::event_key() to figure out why it moved. For navigation it will be the key pressed and for interaction with the window manager it will be zero. |
FL_UNFOCUS | This event is sent to the previous Fl::focus() widget when another widget gets the focus or the window loses focus. |
FL_KEYDOWN | A key was pressed (FL_KEYDOWN) or released (FL_KEYUP). Fl_KEYBOARD is a synonym for FL_KEYDOWN. The key can be found in Fl::event_key(). The text that the key should insert can be found with Fl::event_text() and its length is in Fl::event_length(). If you use the key handle() should return 1. If you return zero then FLTK assumes you ignored the key and will then attempt to send it to a parent widget. If none of them want it, it will change the event into a FL_SHORTCUT event. To receive FL_KEYBOARD events you must also respond to the FL_FOCUS and FL_UNFOCUS events. If you are writing a text-editing widget you may also want to call the Fl::compose() function to translate individual keystrokes into non-ASCII characters. FL_KEYUP events are sent to the widget that currently has focus. This is not necessarily the same widget that received the corresponding FL_KEYDOWN event because focus may have changed between events. |
FL_KEYBOARD | Equivalent to FL_KEYDOWN.
|
FL_KEYUP | Key release event.
|
FL_CLOSE | The user clicked the close button of a window. This event is used internally only to trigger the callback of Fl_Window derived classed. The default callback closes the window calling Fl_Window::hide(). |
FL_MOVE | The mouse has moved without any mouse buttons held down. This event is sent to the Fl::belowmouse() widget. In order to receive FL_MOVE events, the widget must return non-zero when handling FL_ENTER. |
FL_SHORTCUT | If the Fl::focus() widget is zero or ignores an FL_KEYBOARD event then FLTK tries sending this event to every widget it can, until one of them returns non-zero. FL_SHORTCUT is first sent to the Fl::belowmouse() widget, then its parents and siblings, and eventually to every widget in the window, trying to find an object that returns non-zero. FLTK tries really hard to not to ignore any keystrokes! You can also make "global" shortcuts by using Fl::add_handler(). A global shortcut will work no matter what windows are displayed or which one has the focus. |
FL_DEACTIVATE | This widget is no longer active, due to Fl_Widget::deactivate() being called on it or one of its parents. Fl_Widget::active() may still be true after this, the widget is only active if Fl_Widget::active() is true on it and all its parents (use Fl_Widget::active_r() to check this). |
FL_ACTIVATE | This widget is now active, due to Fl_Widget::activate() being called on it or one of its parents. |
FL_HIDE | This widget is no longer visible, due to Fl_Widget::hide() being called on it or one of its parents, or due to a parent window being minimized. Fl_Widget::visible() may still be true after this, but the widget is visible only if visible() is true for it and all its parents (use Fl_Widget::visible_r() to check this). |
FL_SHOW | This widget is visible again, due to Fl_Widget::show() being called on it or one of its parents, or due to a parent window being restored. Child Fl_Windows respond to this by actually creating the window if not done already, so if you subclass a window, be sure to pass FL_SHOW to the base class Fl_Widget::handle() method! |
FL_PASTE | You should get this event some time after you call Fl::paste(). The contents of Fl::event_text() is the text to insert and the number of characters is in Fl::event_length(). |
FL_SELECTIONCLEAR | The Fl::selection_owner() will get this event before the selection is moved to another widget. This indicates that some other widget or program has claimed the selection. Motif programs used this to clear the selection indication. Most modern programs ignore this. |
FL_MOUSEWHEEL | The user has moved the mouse wheel. The Fl::event_dx() and Fl::event_dy() methods can be used to find the amount to scroll horizontally and vertically. |
FL_DND_ENTER | The mouse has been moved to point at this widget. A widget that is interested in receiving drag'n'drop data must return 1 to receive FL_DND_DRAG, FL_DND_LEAVE and FL_DND_RELEASE events. |
FL_DND_DRAG | The mouse has been moved inside a widget while dragging data. A widget that is interested in receiving drag'n'drop data should indicate the possible drop position. |
FL_DND_LEAVE | The mouse has moved out of the widget. |
FL_DND_RELEASE | The user has released the mouse button dropping data into the widget. If the widget returns 1, it will receive the data in the immediately following FL_PASTE event. |
FL_SCREEN_CONFIGURATION_CHANGED | The screen configuration (number, positions) was changed. Use Fl::add_handler() to be notified of this event. |
FL_FULLSCREEN | The fullscreen state of the window has changed |
FL_ZOOM_GESTURE | The user has made a zoom/pinch/magnification gesture. The Fl::event_dy() method can be used to find magnification amount, Fl::event_x() and Fl::event_y() are set as well. |
Definition at line 221 of file Enumerations.H.
enum Fl_Labeltype |
The labeltype() method sets the type of the label.
The following standard label types are included:
Enumerator | |
---|---|
FL_NORMAL_LABEL | draws the text (0) |
FL_NO_LABEL | does nothing |
_FL_SHADOW_LABEL | draws a drop shadow under the text |
_FL_ENGRAVED_LABEL | draws edges as though the text is engraved |
_FL_EMBOSSED_LABEL | draws edges as though the text is raised |
_FL_MULTI_LABEL | draws a composite label
|
_FL_ICON_LABEL | draws the icon associated with the text |
_FL_IMAGE_LABEL | the label displays an "icon" based on a Fl_Image |
FL_FREE_LABELTYPE | first free labeltype to use for creating own labeltypes |
Definition at line 763 of file Enumerations.H.
enum Fl_Mode |
visual types and Fl_Gl_Window::mode() (values match Glut)
Enumerator | |
---|---|
FL_RGB | |
FL_INDEX | |
FL_SINGLE | |
FL_DOUBLE | |
FL_ACCUM | |
FL_ALPHA | |
FL_DEPTH | |
FL_STENCIL | |
FL_RGB8 | |
FL_MULTISAMPLE | |
FL_STEREO | |
FL_FAKE_SINGLE | |
FL_OPENGL3 |
Definition at line 1084 of file Enumerations.H.
enum Fl_When |
These constants determine when a callback is performed.
Definition at line 439 of file Enumerations.H.
|
inline |
Get the filled version of a frame. If no filled version of a given frame exists, the behavior of this function is undefined and some random box or frame is returned.
Definition at line 723 of file Enumerations.H.
References b.
|
inline |
Returns a color out of the color cube.
r
must be in the range 0 to FL_NUM_RED (5) minus 1, g
must be in the range 0 to FL_NUM_GREEN (8) minus 1, b
must be in the range 0 to FL_NUM_BLUE (5) minus 1.
To get the closest color to a 8-bit set of R,G,B values use:
Definition at line 1032 of file Enumerations.H.
References b, FL_COLOR_CUBE, FL_NUM_GREEN, and FL_NUM_RED.
Referenced by fl_xpixel().
Returns a darker version of the specified color.
Definition at line 994 of file Enumerations.H.
References f, FL_BLACK, and fl_color_average().
Referenced by down_frame(), Fl_Slider::draw(), Fl_Choice::draw(), draw_filenew(), draw_fileopen(), draw_fileprint(), draw_filesave(), draw_filesaveas(), frame_rect_up(), and set_outline_color().
Fl_Boxtype fl_define_FL_DIAMOND_BOX | ( | ) |
Definition at line 65 of file fl_diamond_box.cxx.
References _FL_DIAMOND_DOWN_BOX, _FL_DIAMOND_UP_BOX, fl_diamond_down_box(), fl_diamond_up_box(), and fl_internal_boxtype().
Fl_Labeltype fl_define_FL_EMBOSSED_LABEL | ( | ) |
Definition at line 77 of file fl_engraved_label.cxx.
References _FL_EMBOSSED_LABEL, fl_embossed_label(), and Fl::set_labeltype().
Fl_Labeltype fl_define_FL_ENGRAVED_LABEL | ( | ) |
Definition at line 73 of file fl_engraved_label.cxx.
References _FL_ENGRAVED_LABEL, fl_engraved_label(), and Fl::set_labeltype().
Fl_Boxtype fl_define_FL_GLEAM_UP_BOX | ( | ) |
Definition at line 171 of file fl_gleam.cxx.
References _FL_GLEAM_DOWN_BOX, _FL_GLEAM_DOWN_FRAME, _FL_GLEAM_ROUND_DOWN_BOX, _FL_GLEAM_ROUND_UP_BOX, _FL_GLEAM_THIN_DOWN_BOX, _FL_GLEAM_THIN_UP_BOX, _FL_GLEAM_UP_BOX, _FL_GLEAM_UP_FRAME, down_box(), down_frame(), fl_internal_boxtype(), thin_down_box(), thin_up_box(), up_box(), and up_frame().
Fl_Boxtype fl_define_FL_GTK_UP_BOX | ( | ) |
Definition at line 275 of file fl_gtk.cxx.
References _FL_GTK_DOWN_BOX, _FL_GTK_DOWN_FRAME, _FL_GTK_ROUND_DOWN_BOX, _FL_GTK_ROUND_UP_BOX, _FL_GTK_THIN_DOWN_BOX, _FL_GTK_THIN_DOWN_FRAME, _FL_GTK_THIN_UP_BOX, _FL_GTK_THIN_UP_FRAME, _FL_GTK_UP_BOX, _FL_GTK_UP_FRAME, fl_internal_boxtype(), gtk_down_box(), gtk_down_frame(), gtk_round_down_box(), gtk_round_up_box(), gtk_thin_down_box(), gtk_thin_down_frame(), gtk_thin_up_box(), gtk_thin_up_frame(), gtk_up_box(), and gtk_up_frame().
Fl_Boxtype fl_define_FL_OVAL_BOX | ( | ) |
Definition at line 47 of file fl_oval_box.cxx.
References _FL_OFLAT_BOX, _FL_OSHADOW_BOX, _FL_OVAL_BOX, _FL_OVAL_FRAME, fl_internal_boxtype(), fl_oval_box(), fl_oval_flat_box(), fl_oval_frame(), and fl_oval_shadow_box().
Fl_Boxtype fl_define_FL_PLASTIC_UP_BOX | ( | ) |
Definition at line 356 of file fl_plastic.cxx.
References _FL_PLASTIC_DOWN_BOX, _FL_PLASTIC_DOWN_FRAME, _FL_PLASTIC_ROUND_DOWN_BOX, _FL_PLASTIC_ROUND_UP_BOX, _FL_PLASTIC_THIN_DOWN_BOX, _FL_PLASTIC_THIN_UP_BOX, _FL_PLASTIC_UP_BOX, _FL_PLASTIC_UP_FRAME, down_box(), down_frame(), down_round(), fl_internal_boxtype(), thin_up_box(), up_box(), up_frame(), and up_round().
Fl_Boxtype fl_define_FL_RFLAT_BOX | ( | ) |
Definition at line 92 of file fl_rounded_box.cxx.
References _FL_RFLAT_BOX, fl_internal_boxtype(), and fl_rflat_box().
Fl_Boxtype fl_define_FL_ROUND_UP_BOX | ( | ) |
Definition at line 105 of file fl_round_box.cxx.
References _FL_ROUND_DOWN_BOX, _FL_ROUND_UP_BOX, fl_internal_boxtype(), fl_round_down_box(), and fl_round_up_box().
Fl_Boxtype fl_define_FL_ROUNDED_BOX | ( | ) |
Definition at line 86 of file fl_rounded_box.cxx.
References _FL_ROUNDED_BOX, _FL_ROUNDED_FRAME, fl_internal_boxtype(), fl_rounded_box(), and fl_rounded_frame().
Fl_Boxtype fl_define_FL_RSHADOW_BOX | ( | ) |
Definition at line 97 of file fl_rounded_box.cxx.
References _FL_RSHADOW_BOX, fl_internal_boxtype(), and fl_rshadow_box().
Fl_Boxtype fl_define_FL_SHADOW_BOX | ( | ) |
Definition at line 39 of file fl_shadow_box.cxx.
References _FL_SHADOW_BOX, _FL_SHADOW_FRAME, fl_internal_boxtype(), fl_shadow_box(), and fl_shadow_frame().
Fl_Labeltype fl_define_FL_SHADOW_LABEL | ( | ) |
Definition at line 69 of file fl_engraved_label.cxx.
References _FL_SHADOW_LABEL, fl_shadow_label(), and Fl::set_labeltype().
|
inline |
Get the "pressed" or "down" version of a box. If no "down" version of a given box exists, the behavior of this function is undefined and some random box or frame is returned.
Definition at line 731 of file Enumerations.H.
Referenced by Fl_Return_Button::draw(), Fl_Light_Button::draw(), Fl_Scrollbar::draw(), Fl_Menu_Button::draw(), Fl_Counter::draw(), Fl_Button::draw(), Fl_File_Input::draw_buttons(), and Fl_Tabs::draw_tab().
|
inline |
Get the unfilled, frame only version of a box. If no frame version of a given box exists, the behavior of this function is undefined and some random box or frame is returned.
Definition at line 739 of file Enumerations.H.
References b.
|
inline |
Returns a gray color value from black (i == 0) to white (i == FL_NUM_GRAY - 1). FL_NUM_GRAY is defined to be 24 in the current FLTK release. To get the closest FLTK gray value to an 8-bit grayscale color 'I' use:
Definition at line 1016 of file Enumerations.H.
References FL_GRAY_RAMP.
Referenced by Fl::background(), Fl_Clock_Output::Fl_Clock_Output(), and fl_return_arrow().
Returns a lighter version of the specified color.
Definition at line 991 of file Enumerations.H.
References f, fl_color_average(), and FL_WHITE.
Referenced by Fl_Slider::draw(), Fl_Choice::draw(), draw_filenew(), draw_fileopen(), draw_fileprint(), draw_filesave(), and Widget_Browser::item_draw().
Returns the 24-bit color value closest to g
(grayscale).
Definition at line 1003 of file Enumerations.H.
References FL_BLACK.
Returns the 24-bit color value closest to r
, g
, b
.
Definition at line 997 of file Enumerations.H.
Referenced by Fl_PostScript_Graphics_Driver::color(), Fl_Xlib_Graphics_Driver::color(), fl_color_average(), Fl_Help_View::get_color(), Fl_File_Icon::load_image(), and shade_color().
Align the label at the bottom of the widget.
Definition at line 835 of file Enumerations.H.
Referenced by align_cb(), draw_linechart(), Fl_Group::draw_outside_label(), Fl_Window_Type::draw_overlay(), Fl_Browser_::Fl_Browser_(), Fl_Chart::Fl_Chart(), Fl_Clock_Output::Fl_Clock_Output(), Fl_Counter::Fl_Counter(), fl_draw(), Fl_FormsBitmap::Fl_FormsBitmap(), Fl_FormsPixmap::Fl_FormsPixmap(), Fl_Positioner::Fl_Positioner(), Fl_Valuator::Fl_Valuator(), Fl_Image::labeltype(), make_widget_panel(), multi_labeltype(), Fl_Widget_Type::read_fdesign(), Fl_Widget::redraw_label(), and Fl_Text_Display::resize().
const Fl_Align FL_ALIGN_BOTTOM_LEFT = FL_ALIGN_BOTTOM | FL_ALIGN_LEFT |
Definition at line 860 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), and Fl_Widget::redraw_label().
const Fl_Align FL_ALIGN_BOTTOM_RIGHT = FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT |
Definition at line 861 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), Fl_Text_Display::Fl_Text_Display(), make_print_panel(), and Fl_Widget::redraw_label().
Align the label horizontally in the middle.
Definition at line 830 of file Enumerations.H.
Referenced by Fl_Window::_Fl_Window(), Fl_Timer::draw(), Fl_Counter::draw(), Fl_Tabs::draw_tab(), Fluid_Table::DrawData(), Fluid_Table::DrawHeader(), Fl_Widget::Fl_Widget(), Fl_Browser::item_draw(), make_settings_window(), make_widget_panel(), Fl_Widget_Type::read_fdesign(), Fl::reload_scheme(), and Fl_Window::show().
All parts of the label that are lager than the widget will not be drawn .
Definition at line 849 of file Enumerations.H.
Referenced by Fl_Window::_Fl_Window(), Fl_Value_Slider::draw(), fl_draw(), Fl_File_Chooser::Fl_File_Chooser(), innards(), Fl_File_Browser::item_draw(), Fl_Browser::item_draw(), make_data_panel(), make_decl_panel(), make_print_panel(), make_sourceview(), make_widget_panel(), make_widgetbin(), Fl::reload_scheme(), Fl_Window::show(), and Fl_File_Chooser::update_preview().
If the label contains an image, draw the image or deimage in the background.
Definition at line 857 of file Enumerations.H.
Referenced by Fl_Widget::draw_backdrop(), and fl_draw().
Definition at line 868 of file Enumerations.H.
Referenced by align_text_image_cb().
If the label contains an image, draw the text to the right of the image.
Definition at line 853 of file Enumerations.H.
Referenced by fl_draw().
If the label contains an image, draw the text below the image.
Definition at line 847 of file Enumerations.H.
Draw the label inside of the widget.
Definition at line 843 of file Enumerations.H.
Referenced by Fl_Window::_Fl_Window(), Fl_Window::draw(), Fl_FormsText::draw(), Fl_Widget::draw_label(), Fl_Group::draw_outside_label(), Fl_Window_Type::draw_overlay(), fl_draw(), Fl_File_Chooser::Fl_File_Chooser(), Fl_Light_Button::Fl_Light_Button(), Fl_Progress::Fl_Progress(), make_about_panel(), make_data_panel(), make_decl_panel(), make_global_settings_window(), make_layout_window(), make_print_panel(), make_project_window(), make_sourceview(), make_template_panel(), make_widget_panel(), make_widgetbin(), makeform(), Fl_Widget_Type::read_fdesign(), Fl_Widget::redraw_label(), Fl::reload_scheme(), Fl_Window::show(), Fl_File_Chooser::update_preview(), and Fl_Widget_Type::write_widget_code().
Align the label at the left of the widget. Inside labels appear left-justified starting at the left side of the widget, outside labels are right-justified and drawn to the left of the widget.
Definition at line 839 of file Enumerations.H.
Referenced by align_cb(), Fl_Scroll::bbox(), Fl_Browser_::bbox(), Shortcut_Button::draw(), Fl_Value_Output::draw(), Fl_TooltipBox::draw(), Fl_Choice::draw(), Fl_Browser_::draw(), Fl_Menu_Item::draw(), draw_height(), Fl_Widget::draw_label(), Fl_Text_Display::draw_line_numbers(), Fl_Group::draw_outside_label(), Fl_Window_Type::draw_overlay(), draw_piechart(), menuwindow::drawentry(), Fl_Choice::Fl_Choice(), fl_draw(), Fl_File_Chooser::Fl_File_Chooser(), Fl_FormsText::Fl_FormsText(), Fl_Input_::Fl_Input_(), Fl_Input_Choice::Fl_Input_Choice(), Fl_Light_Button::Fl_Light_Button(), Fl_Spinner::Fl_Spinner(), Fl_Timer::Fl_Timer(), Fl_Value_Input::Fl_Value_Input(), Fl_Value_Output::Fl_Value_Output(), Fl_File_Browser::item_draw(), Fl_Browser::item_draw(), Fl_Image::labeltype(), make_layout_window(), make_print_panel(), make_settings_window(), make_widget_panel(), makeform(), multi_labeltype(), Fl_Widget_Type::read_fdesign(), Fl_Scroll::recalc_scrollbars(), Fl_Widget::redraw_label(), Fl_Scroll::resize(), Fl_Browser_::resize(), Fl_Text_Display::resize(), Fl_Browser_::scrollbar_left(), and Fl_File_Chooser::update_preview().
Definition at line 864 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), and Fl_Widget::redraw_label().
Definition at line 862 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), and Fl_Widget::redraw_label().
Definition at line 866 of file Enumerations.H.
Definition at line 867 of file Enumerations.H.
Referenced by align_position_cb().
Align the label to the right of the widget.
Definition at line 841 of file Enumerations.H.
Referenced by align_cb(), draw_horbarchart(), Fl_Widget::draw_label(), Fl_Group::draw_outside_label(), Fl_Window_Type::draw_overlay(), draw_piechart(), menuwindow::drawentry(), fl_draw(), Fl_File_Chooser::Fl_File_Chooser(), Fl_Text_Display::Fl_Text_Display(), Fl_Browser::item_draw(), Fl_Image::labeltype(), Fl_Text_Display::linenumber_align(), make_layout_window(), make_widget_panel(), multi_labeltype(), Fl_Widget_Type::read_fdesign(), Fl_Widget::redraw_label(), Fl_Text_Display::resize(), and Fl_Browser_::scrollbar_right().
Definition at line 865 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), and Fl_Widget::redraw_label().
Definition at line 863 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), and Fl_Widget::redraw_label().
If the label contains an image, draw the text to the left of the image.
Definition at line 855 of file Enumerations.H.
If the label contains an image, draw the text on top of the image.
Definition at line 845 of file Enumerations.H.
Referenced by fl_draw().
Align the label at the top of the widget. Inside labels appear below the top, outside labels are drawn on top of the widget.
Definition at line 833 of file Enumerations.H.
Referenced by align_cb(), Fl_Scroll::bbox(), Fl_Browser_::bbox(), Fl_Browser_::draw(), draw_barchart(), Fl_Text_Display::draw_line_numbers(), draw_linechart(), Fl_Group::draw_outside_label(), Fl_Window_Type::draw_overlay(), draw_width(), fl_draw(), Fl_Group::Fl_Group(), Fl_Image::labeltype(), make_code_panel(), make_comment_panel(), make_sourceview(), make_widget_panel(), multi_labeltype(), Fl_Widget_Type::read_fdesign(), Fl_Scroll::recalc_scrollbars(), Fl_Widget::redraw_label(), Fl_Scroll::resize(), Fl_Browser_::resize(), Fl_Text_Display::resize(), and Fl_File_Chooser::update_preview().
const Fl_Align FL_ALIGN_TOP_LEFT = FL_ALIGN_TOP | FL_ALIGN_LEFT |
Definition at line 858 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), fl_add_labelframe(), make_about_panel(), make_class_panel(), make_codeblock_panel(), make_data_panel(), make_decl_panel(), make_declblock_panel(), make_function_panel(), make_global_settings_window(), make_print_panel(), make_settings_window(), make_shell_window(), make_template_panel(), make_widget_panel(), and Fl_Widget::redraw_label().
const Fl_Align FL_ALIGN_TOP_RIGHT = FL_ALIGN_TOP | FL_ALIGN_RIGHT |
Definition at line 859 of file Enumerations.H.
Referenced by Fl_Group::draw_outside_label(), and Fl_Widget::redraw_label().
Wrap text that does not fit the width of the widget.
Definition at line 851 of file Enumerations.H.
Referenced by Fl_TooltipBox::draw(), Fl_Window_Type::draw_overlay(), fl_draw(), make_widget_panel(), and makeform().
the default background color for text, list, and valuator widgets
Definition at line 938 of file Enumerations.H.
Referenced by Fl::background2(), Fl_Light_Button::draw(), Fl_Counter::draw(), Fl_Choice::draw(), Fl_Menu_Item::draw(), Fl_Browser_::Fl_Browser_(), Fl_Help_Dialog::Fl_Help_Dialog(), Fl_Help_View::Fl_Help_View(), Fl_Input_::Fl_Input_(), Fl_Progress::Fl_Progress(), Fl_Text_Display::Fl_Text_Display(), Fl_Tree::Fl_Tree(), Fl_Choice::handle(), make_code_panel(), make_comment_panel(), make_print_panel(), make_sourceview(), make_widget_panel(), and Fl_Widget_Type::write_color().
Definition at line 949 of file Enumerations.H.
Referenced by CodeViewer::draw(), Fl_Help_View::Fl_Help_View(), and Fl_Widget_Type::write_color().
Definition at line 956 of file Enumerations.H.
Referenced by Fl_Table::change_cursor(), color2_cb(), color_cb(), down_box(), Fl_Light_Button::draw(), Fl_Clock_Output::draw(), Fl_Window::draw(), Fl_PostScript_Graphics_Driver::draw(), Overlay_Window::draw(), draw_current_rect(), Fl_Widget::draw_focus(), Fluid_Table::DrawHeader(), figure_out_visual(), fl_contrast(), fl_darker(), Fl_FormsBitmap::Fl_FormsBitmap(), Fl_FormsPixmap::Fl_FormsPixmap(), fl_oval_box(), fl_rectbound(), fl_rgb_color(), fl_rounded_box(), Fl_Tree_Prefs::Fl_Tree_Prefs(), frame_rect_down(), frame_rect_up(), gtk_down_frame(), gtk_round_down_box(), gtk_round_up_box(), gtk_thin_down_frame(), gtk_thin_up_box(), gtk_thin_up_frame(), gtk_up_box(), gtk_up_frame(), labelcolor_cb(), Fl_File_Icon::load_fti(), Fl_File_Icon::load_image(), Fl_File_Icon::load_system_icons(), Fl_Pixmap::prepare(), print_menu_cb(), shade_rect_top_bottom_down(), textcolor_cb(), thin_down_box(), and Fl_Widget_Type::write_color().
Definition at line 960 of file Enumerations.H.
Referenced by Fl_Help_View::format(), Fl_File_Icon::load_system_icons(), makeform(), and Fl_Widget_Type::write_color().
add this to helvetica, courier, or times
Definition at line 897 of file Enumerations.H.
Referenced by attribute(), Fl_Help_View::draw(), Fl_Help_View::format(), Fl_Help_View::format_table(), Fl::get_font_name(), Fl_File_Browser::item_draw(), Fl_Browser::item_draw(), Widget_Browser::item_draw(), Fl_Browser::item_height(), Fl_File_Browser::item_width(), Fl_Browser::item_width(), and Widget_Browser::item_width().
add this to helvetica, courier, or times
Definition at line 899 of file Enumerations.H.
Courier normal.
Definition at line 883 of file Enumerations.H.
Referenced by Fl_Help_View::draw(), Fl_Help_View::format(), Fl_Help_View::format_table(), Fl_Browser::item_draw(), Fl_Browser::item_height(), Fl_Browser::item_width(), and Fl_File_Chooser::update_preview().
Courier bold.
Definition at line 884 of file Enumerations.H.
Referenced by Fl_Help_View::draw(), Fl_Help_View::format(), and Fl_Help_View::format_table().
Courier bold-italic.
Definition at line 886 of file Enumerations.H.
Courier italic.
Definition at line 885 of file Enumerations.H.
Referenced by Fl_Help_View::draw(), Fl_Help_View::format(), and Fl_Help_View::format_table().
Definition at line 962 of file Enumerations.H.
Referenced by Fl_Widget_Type::write_color().
Definition at line 948 of file Enumerations.H.
Referenced by make_about_panel(), make_settings_window(), and Fl_Widget_Type::write_color().
Definition at line 947 of file Enumerations.H.
Referenced by Fl_Roller::draw(), Fl_Scrollbar::Fl_Scrollbar(), and Fl_Widget_Type::write_color().
Definition at line 946 of file Enumerations.H.
Referenced by Fl_Roller::draw(), Fl_Menu_Button::draw(), Fl_Menu_Bar::draw(), draw_downarrow(), draw_uparrow(), menuwindow::drawentry(), fl_embossed_label(), fl_engraved_label(), fl_oval_shadow_box(), fl_return_arrow(), fl_rshadow_box(), fl_shadow_frame(), fl_shadow_label(), Fl_Browser::item_draw(), Fl_File_Icon::load_fti(), and Fl_Widget_Type::write_color().
Definition at line 967 of file Enumerations.H.
Referenced by make_about_panel(), and Fl_Widget_Type::write_color().
Definition at line 969 of file Enumerations.H.
Referenced by Fl_Widget_Type::write_color().
Definition at line 965 of file Enumerations.H.
Referenced by Widget_Browser::item_draw(), and Fl_Widget_Type::write_color().
Definition at line 968 of file Enumerations.H.
Referenced by Fl_Widget_Type::write_color().
Definition at line 963 of file Enumerations.H.
Referenced by Fl_Widget_Type::write_color().
Definition at line 966 of file Enumerations.H.
Referenced by Fl_Widget_Type::write_color().
the default foreground color (0) used for labels and text
Definition at line 937 of file Enumerations.H.
Referenced by Fl::background2(), Shortcut_Button::draw(), Flcc_HueBox::draw(), Flcc_ValueBox::draw(), Fl_Dial::draw(), Fl_Clock_Output::draw(), CodeViewer::draw(), Fl_Menu_Item::draw(), Fl_Slider::draw_bg(), Fl_Image::draw_empty(), Fl_Browser_::Fl_Browser_(), Fl_Chart::Fl_Chart(), Fl_Check_Button::Fl_Check_Button(), Fl_Counter::Fl_Counter(), Fl_Help_View::Fl_Help_View(), Fl_Input_::Fl_Input_(), Fl_Menu_::Fl_Menu_(), Fl_Round_Button::Fl_Round_Button(), Fl_Text_Display::Fl_Text_Display(), Fl_Value_Output::Fl_Value_Output(), Fl_Value_Slider::Fl_Value_Slider(), Fl_Widget::Fl_Widget(), Fl::foreground(), Fl_Check_Browser::item_draw(), Widget_Browser::item_draw(), make_code_panel(), make_comment_panel(), make_print_panel(), make_sourceview(), make_widget_panel(), Fl_Menu_Item::measure(), and Fl_Widget_Type::write_color().
first one to allocate
Definition at line 896 of file Enumerations.H.
Referenced by enumcbw(), fl_free_fonts(), Fl_PostScript_Graphics_Driver::font(), Fl::set_font(), Fl::set_fonts(), and Fl_PostScript_Graphics_Driver::transformed_draw().
Definition at line 945 of file Enumerations.H.
Referenced by Fluid_Table::DrawData(), fl_shadow_box(), and Fl_Widget_Type::write_color().
Definition at line 958 of file Enumerations.H.
Referenced by live_mode_cb(), Fl_File_Icon::load_system_icons(), and Fl_Widget_Type::write_color().
Helvetica (or Arial) normal (0)
Definition at line 879 of file Enumerations.H.
Referenced by array_insert(), Shortcut_Button::draw(), Fl_Help_View::draw(), Fl_Menu_Item::draw(), Fl_Xlib_Graphics_Driver::draw(), Fluid_Table::draw_cell(), draw_height(), draw_width(), menuwindow::drawentry(), Fl_Browser_::Fl_Browser_(), Fl_Chart::Fl_Chart(), Fl_Choice::Fl_Choice(), Fl_Counter::Fl_Counter(), Fl_Input_::Fl_Input_(), Fl_Menu_::Fl_Menu_(), Fl_Text_Display::Fl_Text_Display(), Fl_Tree_Prefs::Fl_Tree_Prefs(), Fl_Value_Output::Fl_Value_Output(), Fl_Value_Slider::Fl_Value_Slider(), Fl_Widget::Fl_Widget(), Fl_Help_View::format(), Fl_Text_Display::linenumber_font(), make_print_panel(), Fl_Menu_Item::measure(), print_menu_cb(), Fl_PostScript_Graphics_Driver::reset(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl_Xlib_Graphics_Driver::text_extents(), textfont_cb(), and Fl_File_Chooser::update_preview().
Helvetica (or Arial) bold.
Definition at line 880 of file Enumerations.H.
Referenced by Fl_Help_View::draw(), Fl_Help_View::format(), and Fl_Help_View::format_table().
Helvetica (or Arial) bold-oblique.
Definition at line 882 of file Enumerations.H.
Referenced by Fl_Color_Chooser::Fl_Color_Chooser().
Helvetica (or Arial) oblique.
Definition at line 881 of file Enumerations.H.
the inactive foreground color
Definition at line 939 of file Enumerations.H.
Referenced by Fl_Slider::draw_bg(), Fl_Counter::Fl_Counter(), Fl_Dial::Fl_Dial(), Fl_Text_Display::Fl_Text_Display(), Fl_Browser::item_draw(), Fl_Text_Display::linenumber_fgcolor(), make_widget_panel(), and Fl_Widget_Type::write_color().
add this to helvetica, courier, or times
Definition at line 898 of file Enumerations.H.
Referenced by attribute(), Fl_Help_View::draw(), Fl_Help_View::format(), Fl_Help_View::format_table(), Fl::get_font_name(), Fl_Browser::item_draw(), Widget_Browser::item_draw(), Fl_Browser::item_height(), and Fl_Browser::item_width().
Definition at line 950 of file Enumerations.H.
Referenced by Fl_Roller::draw(), make_about_panel(), make_global_settings_window(), and Fl_Widget_Type::write_color().
Definition at line 951 of file Enumerations.H.
Referenced by Fl_Roller::draw(), Fl_File_Browser::item_draw(), and Fl_Widget_Type::write_color().
Definition at line 952 of file Enumerations.H.
Referenced by Fl_Menu_Button::draw(), Fl_Menu_Bar::draw(), draw_downarrow(), draw_uparrow(), menuwindow::drawentry(), fl_embossed_label(), fl_engraved_label(), fl_return_arrow(), Fl_Browser::item_draw(), and Fl_Widget_Type::write_color().
Definition at line 961 of file Enumerations.H.
Referenced by Fl_Widget_Type::write_color().
Fl_Fontsize FL_NORMAL_SIZE |
normal font size
Default font size for widgets
Definition at line 117 of file Fl_Widget.cxx.
Referenced by Fl_Menu_Item::draw(), Fl_Xlib_Graphics_Driver::draw(), menuwindow::drawentry(), Fl_Browser_::Fl_Browser_(), Fl_Counter::Fl_Counter(), Fl_Input_::Fl_Input_(), Fl_Menu_::Fl_Menu_(), Fl_Text_Display::Fl_Text_Display(), Fl_Tree_Prefs::Fl_Tree_Prefs(), Fl_Value_Output::Fl_Value_Output(), Fl_Widget::Fl_Widget(), innards(), Fl_Text_Display::linenumber_size(), Fl_Menu_Item::measure(), menuwindow::menuwindow(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl_Tooltip::size(), Fl_Xlib_Graphics_Driver::text_extents(), and Fl_File_Chooser::update_preview().
Definition at line 957 of file Enumerations.H.
Referenced by Fl_Window_Type::draw_overlay(), Fl_File_Input::Fl_File_Input(), Fl_Positioner::Fl_Positioner(), Fl_Timer::Fl_Timer(), Fl_File_Icon::load_system_icons(), set_cursor(), and Fl_Widget_Type::write_color().
Default monospaced screen font.
Definition at line 892 of file Enumerations.H.
Default monospaced bold screen font.
Definition at line 893 of file Enumerations.H.
the default selection/highlight color
Definition at line 940 of file Enumerations.H.
Referenced by Fl_Light_Button::draw(), CodeViewer::draw(), Fl_Help_View::draw(), Fl_Menu_Item::draw(), Fl_Adjuster::Fl_Adjuster(), Fl_Browser_::Fl_Browser_(), Fl_Help_View::Fl_Help_View(), Fl_Input_::Fl_Input_(), Fl_Menu_::Fl_Menu_(), Fl_Text_Display::Fl_Text_Display(), Fl_Tree::Fl_Tree(), Widget_Browser::item_draw(), make_code_panel(), make_comment_panel(), make_sourceview(), make_widget_panel(), set_selection_color(), and Fl_Widget_Type::write_color().
Standard symbol font.
Definition at line 891 of file Enumerations.H.
Referenced by Fl_Help_View::draw(), and Fl_Help_View::format().
Times roman.
Definition at line 887 of file Enumerations.H.
Referenced by Fl_Help_View::draw(), Fl_Help_View::Fl_Help_View(), and Fl_Help_View::format().
Times roman bold-italic.
Definition at line 890 of file Enumerations.H.
Times roman italic.
Definition at line 889 of file Enumerations.H.
Definition at line 971 of file Enumerations.H.
Referenced by Fl_Table::change_cursor(), Shortcut_Button::draw(), Fl_Light_Button::draw(), Fl_Window::draw(), Overlay_Window::draw(), Fl_Menu_Item::draw(), draw_current_rect(), draw_fileprint(), draw_filesaveas(), Fluid_Table::DrawData(), figure_out_visual(), fl_contrast(), Fl_Copy_Surface::Fl_Copy_Surface(), fl_lighter(), frame_rect_down(), frame_rect_up(), gtk_round_up_box(), gtk_thin_down_frame(), gtk_thin_up_box(), gtk_thin_up_frame(), gtk_up_box(), gtk_up_frame(), Fl_File_Icon::load_image(), Fl_File_Icon::load_system_icons(), makeform(), Fl::paste(), set_cursor(), shade_rect_top_bottom_up(), thin_up_box(), Fl_PostScript_Graphics_Driver::transformed_draw_extra(), up_box(), up_frame(), and Fl_Widget_Type::write_color().
Definition at line 959 of file Enumerations.H.
Referenced by Fl_Light_Button::Fl_Light_Button(), Fl_Progress::Fl_Progress(), Fl_File_Browser::item_draw(), and Fl_Widget_Type::write_color().
Zapf-dingbats font.
Definition at line 894 of file Enumerations.H.