21#ifndef Fl_Enumerations_H
22#define Fl_Enumerations_H
44#include <FL/abi-version.h>
46# include "Fl_Export.H"
62#define FL_MAJOR_VERSION 1
69#define FL_MINOR_VERSION 3
76#define FL_PATCH_VERSION 8
99#define FL_VERSION ( (double)FL_MAJOR_VERSION + \
100 (double)FL_MINOR_VERSION * 0.01 + \
101 (double)FL_PATCH_VERSION * 0.0001 )
121#define FL_API_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100 + FL_PATCH_VERSION)
153#ifndef FL_ABI_VERSION
154#define FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100)
173#if FL_ABI_VERSION < FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100
175# undef FL_ABI_VERSION
176# define FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100)
178#elif FL_ABI_VERSION > FL_API_VERSION
180# undef FL_ABI_VERSION
181# define FL_ABI_VERSION FL_API_VERSION
192#ifdef FLTK_ABI_VERSION
193#undef FLTK_ABI_VERSION
196#define FLTK_ABI_VERSION FL_ABI_VERSION
465#define FL_Button 0xfee8
466#define FL_BackSpace 0xff08
468#define FL_Iso_Key 0xff0c
469#define FL_Enter 0xff0d
470#define FL_Pause 0xff13
471#define FL_Scroll_Lock 0xff14
472#define FL_Escape 0xff1b
473#define FL_Kana 0xff2e
474#define FL_Eisu 0xff2f
476#define FL_JIS_Underscore 0xff31
477#define FL_Home 0xff50
478#define FL_Left 0xff51
480#define FL_Right 0xff53
481#define FL_Down 0xff54
482#define FL_Page_Up 0xff55
483#define FL_Page_Down 0xff56
485#define FL_Print 0xff61
486#define FL_Insert 0xff63
487#define FL_Menu 0xff67
488#define FL_Help 0xff68
489#define FL_Num_Lock 0xff7f
491#define FL_KP_Enter 0xff8d
492#define FL_KP_Last 0xffbd
494#define FL_F_Last 0xffe0
495#define FL_Shift_L 0xffe1
496#define FL_Shift_R 0xffe2
497#define FL_Control_L 0xffe3
498#define FL_Control_R 0xffe4
499#define FL_Caps_Lock 0xffe5
500#define FL_Meta_L 0xffe7
501#define FL_Meta_R 0xffe8
502#define FL_Alt_L 0xffe9
503#define FL_Alt_R 0xffea
504#define FL_Delete 0xffff
510#define FL_Volume_Down 0xEF11
511#define FL_Volume_Mute 0xEF12
512#define FL_Volume_Up 0xEF13
513#define FL_Media_Play 0xEF14
514#define FL_Media_Stop 0xEF15
515#define FL_Media_Prev 0xEF16
516#define FL_Media_Next 0xEF17
517#define FL_Home_Page 0xEF18
518#define FL_Mail 0xEF19
519#define FL_Search 0xEF1B
520#define FL_Back 0xEF26
521#define FL_Forward 0xEF27
522#define FL_Stop 0xEF28
523#define FL_Refresh 0xEF29
524#define FL_Sleep 0xEF2F
525#define FL_Favorites 0xEF30
538#define FL_LEFT_MOUSE 1
539#define FL_MIDDLE_MOUSE 2
540#define FL_RIGHT_MOUSE 3
555#define FL_SHIFT 0x00010000
556#define FL_CAPS_LOCK 0x00020000
557#define FL_CTRL 0x00040000
558#define FL_ALT 0x00080000
559#define FL_NUM_LOCK 0x00100000
561#define FL_META 0x00400000
563#define FL_SCROLL_LOCK 0x00800000
565#define FL_BUTTON1 0x01000000
566#define FL_BUTTON2 0x02000000
567#define FL_BUTTON3 0x04000000
568#define FL_BUTTONS 0x7f000000
569#define FL_BUTTON(n) (0x00800000<<(n))
571#define FL_KEY_MASK 0x0000ffff
575# define FL_COMMAND FL_META
576# define FL_CONTROL FL_CTRL
578# define FL_COMMAND FL_CTRL
579# define FL_CONTROL FL_META
661extern FL_EXPORT
Fl_Boxtype fl_define_FL_ROUND_UP_BOX();
662#define FL_ROUND_UP_BOX fl_define_FL_ROUND_UP_BOX()
663#define FL_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_ROUND_UP_BOX()+1)
664extern FL_EXPORT
Fl_Boxtype fl_define_FL_SHADOW_BOX();
665#define FL_SHADOW_BOX fl_define_FL_SHADOW_BOX()
666#define FL_SHADOW_FRAME (Fl_Boxtype)(fl_define_FL_SHADOW_BOX()+2)
667extern FL_EXPORT
Fl_Boxtype fl_define_FL_ROUNDED_BOX();
668#define FL_ROUNDED_BOX fl_define_FL_ROUNDED_BOX()
669#define FL_ROUNDED_FRAME (Fl_Boxtype)(fl_define_FL_ROUNDED_BOX()+2)
670extern FL_EXPORT
Fl_Boxtype fl_define_FL_RFLAT_BOX();
671#define FL_RFLAT_BOX fl_define_FL_RFLAT_BOX()
672extern FL_EXPORT
Fl_Boxtype fl_define_FL_RSHADOW_BOX();
673#define FL_RSHADOW_BOX fl_define_FL_RSHADOW_BOX()
674extern FL_EXPORT
Fl_Boxtype fl_define_FL_DIAMOND_BOX();
675#define FL_DIAMOND_UP_BOX fl_define_FL_DIAMOND_BOX()
676#define FL_DIAMOND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_DIAMOND_BOX()+1)
677extern FL_EXPORT
Fl_Boxtype fl_define_FL_OVAL_BOX();
678#define FL_OVAL_BOX fl_define_FL_OVAL_BOX()
679#define FL_OSHADOW_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+1)
680#define FL_OVAL_FRAME (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+2)
681#define FL_OFLAT_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+3)
683extern FL_EXPORT
Fl_Boxtype fl_define_FL_PLASTIC_UP_BOX();
684#define FL_PLASTIC_UP_BOX fl_define_FL_PLASTIC_UP_BOX()
685#define FL_PLASTIC_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+1)
686#define FL_PLASTIC_UP_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+2)
687#define FL_PLASTIC_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+3)
688#define FL_PLASTIC_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+4)
689#define FL_PLASTIC_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+5)
690#define FL_PLASTIC_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+6)
691#define FL_PLASTIC_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+7)
693extern FL_EXPORT
Fl_Boxtype fl_define_FL_GTK_UP_BOX();
694#define FL_GTK_UP_BOX fl_define_FL_GTK_UP_BOX()
695#define FL_GTK_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+1)
696#define FL_GTK_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+2)
697#define FL_GTK_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+3)
698#define FL_GTK_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+4)
699#define FL_GTK_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+5)
700#define FL_GTK_THIN_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+6)
701#define FL_GTK_THIN_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+7)
702#define FL_GTK_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+8)
703#define FL_GTK_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+9)
705extern FL_EXPORT
Fl_Boxtype fl_define_FL_GLEAM_UP_BOX();
706#define FL_GLEAM_UP_BOX fl_define_FL_GLEAM_UP_BOX()
707#define FL_GLEAM_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+1)
708#define FL_GLEAM_UP_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+2)
709#define FL_GLEAM_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+3)
710#define FL_GLEAM_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+4)
711#define FL_GLEAM_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+5)
712#define FL_GLEAM_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+6)
713#define FL_GLEAM_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+7)
722 return (
Fl_Boxtype)((b<FL_UP_BOX||b%4>1)?b:(b-2));
742#define FL_FRAME FL_ENGRAVED_FRAME
743#define FL_FRAME_BOX FL_ENGRAVED_BOX
744#define FL_CIRCLE_BOX FL_ROUND_DOWN_BOX
745#define FL_DIAMOND_BOX FL_DIAMOND_DOWN_BOX
778#define FL_SYMBOL_LABEL FL_NORMAL_LABEL
779extern Fl_Labeltype FL_EXPORT fl_define_FL_SHADOW_LABEL();
780#define FL_SHADOW_LABEL fl_define_FL_SHADOW_LABEL()
781extern Fl_Labeltype FL_EXPORT fl_define_FL_ENGRAVED_LABEL();
782#define FL_ENGRAVED_LABEL fl_define_FL_ENGRAVED_LABEL()
783extern Fl_Labeltype FL_EXPORT fl_define_FL_EMBOSSED_LABEL();
784#define FL_EMBOSSED_LABEL fl_define_FL_EMBOSSED_LABEL()
860const Fl_Align FL_ALIGN_LEFT_TOP = 0x0007;
861const Fl_Align FL_ALIGN_RIGHT_TOP = 0x000b;
862const Fl_Align FL_ALIGN_LEFT_BOTTOM = 0x000d;
863const Fl_Align FL_ALIGN_RIGHT_BOTTOM = 0x000e;
865const Fl_Align FL_ALIGN_POSITION_MASK = 0x000f;
866const Fl_Align FL_ALIGN_IMAGE_MASK = 0x0320;
947const Fl_Color FL_BACKGROUND_COLOR = 49;
966const Fl_Color FL_DARK_MAGENTA = 152;
972#define FL_FREE_COLOR (Fl_Color)16
973#define FL_NUM_FREE_COLOR 16
974#define FL_GRAY_RAMP (Fl_Color)32
975#define FL_NUM_GRAY 24
976#define FL_GRAY FL_BACKGROUND_COLOR
977#define FL_COLOR_CUBE (Fl_Color)56
979#define FL_NUM_GREEN 8
996 if (!r && !g && !b)
return FL_BLACK;
997 else return (
Fl_Color)(((((r << 8) | g) << 8) | b) << 8);
1002 if (!g)
return FL_BLACK;
1003 else return (
Fl_Color)(((((g << 8) | g) << 8) | g) << 8);
1031 return (
Fl_Color)((b*FL_NUM_RED + r) * FL_NUM_GREEN + g + FL_COLOR_CUBE);}
1092 FL_MULTISAMPLE= 128,
1094 FL_FAKE_SINGLE = 512,
1100#define FL_IMAGE_WITH_ALPHA 0x40000000
1114# ifdef FLTK_1_0_COMPAT
1115# define contrast fl_contrast
1116# define down fl_down
1117# define frame fl_frame
1118# define inactive fl_inactive
Fl_Boxtype fl_frame(Fl_Boxtype b)
Get the unfilled, frame only version of a box.
Definition: Enumerations.H:737
@ FL_WRITE
Call the callback when data can be written without blocking.
Definition: Enumerations.H:1077
@ FL_EXCEPT
Call the callback if an exception occurs on the file.
Definition: Enumerations.H:1078
@ FL_READ
Call the callback when there is data to be read.
Definition: Enumerations.H:1076
const Fl_Font FL_TIMES_BOLD_ITALIC
Times roman bold-italic.
Definition: Enumerations.H:888
const Fl_Align FL_ALIGN_RIGHT
Align the label to the right of the widget.
Definition: Enumerations.H:839
const Fl_Align FL_ALIGN_IMAGE_BACKDROP
If the label contains an image, draw the image or deimage in the background.
Definition: Enumerations.H:855
const Fl_Align FL_ALIGN_BOTTOM
Align the label at the bottom of the widget.
Definition: Enumerations.H:833
FL_EXPORT Fl_Fontsize FL_NORMAL_SIZE
normal font size
Definition: Fl_Widget.cxx:117
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:875
const Fl_Font FL_SYMBOL
Standard symbol font.
Definition: Enumerations.H:889
Fl_Color fl_color_cube(int r, int g, int b)
Returns a color out of the color cube.
Definition: Enumerations.H:1030
const Fl_Font FL_ZAPF_DINGBATS
Zapf-dingbats font.
Definition: Enumerations.H:892
const Fl_Font FL_COURIER_BOLD
Courier bold.
Definition: Enumerations.H:882
const Fl_Color FL_SELECTION_COLOR
the default selection/highlight color
Definition: Enumerations.H:938
const Fl_Font FL_TIMES
Times roman.
Definition: Enumerations.H:885
const Fl_Font FL_HELVETICA_ITALIC
Helvetica (or Arial) oblique.
Definition: Enumerations.H:879
const Fl_Font FL_TIMES_BOLD
Times roman bold.
Definition: Enumerations.H:886
const Fl_Align FL_ALIGN_CENTER
Align the label horizontally in the middle.
Definition: Enumerations.H:828
unsigned Fl_Align
FLTK type for alignment control.
Definition: Enumerations.H:826
const Fl_Align FL_ALIGN_IMAGE_OVER_TEXT
If the label contains an image, draw the text below the image.
Definition: Enumerations.H:845
const Fl_Font FL_BOLD_ITALIC
add this to helvetica, courier, or times
Definition: Enumerations.H:897
const Fl_Align FL_ALIGN_CLIP
All parts of the label that are lager than the widget will not be drawn .
Definition: Enumerations.H:847
const Fl_Font FL_SCREEN
Default monospaced screen font.
Definition: Enumerations.H:890
const Fl_Font FL_BOLD
add this to helvetica, courier, or times
Definition: Enumerations.H:895
const Fl_Color FL_BACKGROUND2_COLOR
the default background color for text, list, and valuator widgets
Definition: Enumerations.H:936
Fl_Color fl_gray_ramp(int i)
Returns a gray color value from black (i == 0) to white (i == FL_NUM_GRAY - 1).
Definition: Enumerations.H:1014
const Fl_Align FL_ALIGN_TOP
Align the label at the top of the widget.
Definition: Enumerations.H:831
const Fl_Align FL_ALIGN_TEXT_NEXT_TO_IMAGE
If the label contains an image, draw the text to the left of the image.
Definition: Enumerations.H:853
const Fl_Color FL_INACTIVE_COLOR
the inactive foreground color
Definition: Enumerations.H:937
Fl_Boxtype fl_down(Fl_Boxtype b)
Get the "pressed" or "down" version of a box.
Definition: Enumerations.H:729
Fl_Cursor
The following constants define the mouse cursors that are available in FLTK.
Definition: Enumerations.H:1046
@ FL_CURSOR_MOVE
4-pointed arrow or hand.
Definition: Enumerations.H:1054
@ FL_CURSOR_DEFAULT
the default cursor, usually an arrow.
Definition: Enumerations.H:1047
@ FL_CURSOR_HAND
pointing hand.
Definition: Enumerations.H:1052
@ FL_CURSOR_WE
left/right resize.
Definition: Enumerations.H:1058
@ FL_CURSOR_SE
downwards, right resize.
Definition: Enumerations.H:1064
@ FL_CURSOR_W
leftwards resize.
Definition: Enumerations.H:1067
@ FL_CURSOR_NW
upwards, left resize.
Definition: Enumerations.H:1068
@ FL_CURSOR_NONE
invisible.
Definition: Enumerations.H:1070
@ FL_CURSOR_E
rightwards resize.
Definition: Enumerations.H:1063
@ FL_CURSOR_CROSS
crosshair.
Definition: Enumerations.H:1049
@ FL_CURSOR_WAIT
busy indicator (e.g.
Definition: Enumerations.H:1050
@ FL_CURSOR_NWSE
diagonal resize.
Definition: Enumerations.H:1059
@ FL_CURSOR_HELP
question mark pointer.
Definition: Enumerations.H:1053
@ FL_CURSOR_NS
up/down resize.
Definition: Enumerations.H:1057
@ FL_CURSOR_INSERT
I-beam.
Definition: Enumerations.H:1051
@ FL_CURSOR_NESW
diagonal resize.
Definition: Enumerations.H:1060
@ FL_CURSOR_SW
downwards, left resize.
Definition: Enumerations.H:1066
@ FL_CURSOR_NE
upwards, right resize.
Definition: Enumerations.H:1062
@ FL_CURSOR_S
downwards resize.
Definition: Enumerations.H:1065
@ FL_CURSOR_ARROW
an arrow pointer.
Definition: Enumerations.H:1048
@ FL_CURSOR_N
upwards resize.
Definition: Enumerations.H:1061
const Fl_Font FL_HELVETICA
Helvetica (or Arial) normal (0)
Definition: Enumerations.H:877
Fl_Color fl_rgb_color(uchar r, uchar g, uchar b)
Returns the 24-bit color value closest to r, g, b.
Definition: Enumerations.H:995
const Fl_Font FL_COURIER_BOLD_ITALIC
Courier bold-italic.
Definition: Enumerations.H:884
const Fl_Font FL_TIMES_ITALIC
Times roman italic.
Definition: Enumerations.H:887
Fl_Color fl_darker(Fl_Color c)
Returns a darker version of the specified color.
Definition: Enumerations.H:992
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition: Enumerations.H:932
const Fl_Color FL_FOREGROUND_COLOR
the default foreground color (0) used for labels and text
Definition: Enumerations.H:935
const Fl_Font FL_HELVETICA_BOLD_ITALIC
Helvetica (or Arial) bold-oblique.
Definition: Enumerations.H:880
Fl_Boxtype fl_box(Fl_Boxtype b)
Get the filled version of a frame.
Definition: Enumerations.H:721
Fl_Damage
Damage masks.
Definition: Enumerations.H:1103
@ FL_DAMAGE_USER2
Second user-defined damage bit.
Definition: Enumerations.H:1109
@ FL_DAMAGE_EXPOSE
The window was exposed.
Definition: Enumerations.H:1105
@ FL_DAMAGE_USER1
First user-defined damage bit.
Definition: Enumerations.H:1108
@ FL_DAMAGE_OVERLAY
The overlay planes need to be redrawn.
Definition: Enumerations.H:1107
@ FL_DAMAGE_CHILD
A child needs to be redrawn.
Definition: Enumerations.H:1104
@ FL_DAMAGE_ALL
Everything needs to be redrawn.
Definition: Enumerations.H:1110
@ FL_DAMAGE_SCROLL
The Fl_Scroll widget was scrolled.
Definition: Enumerations.H:1106
Fl_Mode
visual types and Fl_Gl_Window::mode() (values match Glut)
Definition: Enumerations.H:1082
const Fl_Align FL_ALIGN_TEXT_OVER_IMAGE
If the label contains an image, draw the text on top of the image.
Definition: Enumerations.H:843
const Fl_Font FL_SCREEN_BOLD
Default monospaced bold screen font.
Definition: Enumerations.H:891
const Fl_Font FL_ITALIC
add this to helvetica, courier, or times
Definition: Enumerations.H:896
const Fl_Font FL_FREE_FONT
first one to allocate
Definition: Enumerations.H:894
Fl_Event
Every time a user moves the mouse pointer, clicks a button, or presses a key, an event is generated a...
Definition: Enumerations.H:219
@ FL_SCREEN_CONFIGURATION_CHANGED
The screen configuration (number, positions) was changed.
Definition: Enumerations.H:419
@ FL_DND_LEAVE
The mouse has moved out of the widget.
Definition: Enumerations.H:409
@ FL_KEYBOARD
Equivalent to FL_KEYDOWN.
Definition: Enumerations.H:313
@ FL_KEYDOWN
A key was pressed (FL_KEYDOWN) or released (FL_KEYUP).
Definition: Enumerations.H:308
@ FL_ENTER
The mouse has been moved to point at this widget.
Definition: Enumerations.H:251
@ FL_CLOSE
The user clicked the close button of a window.
Definition: Enumerations.H:325
@ FL_PUSH
A mouse button has gone down with the mouse pointing at this widget.
Definition: Enumerations.H:234
@ FL_ACTIVATE
This widget is now active, due to Fl_Widget::activate() being called on it or one of its parents.
Definition: Enumerations.H:359
@ FL_RELEASE
A mouse button has been released.
Definition: Enumerations.H:242
@ FL_PASTE
You should get this event some time after you call Fl::paste().
Definition: Enumerations.H:381
@ FL_SHORTCUT
If the Fl::focus() widget is zero or ignores an FL_KEYBOARD event then FLTK tries sending this event ...
Definition: Enumerations.H:347
@ FL_UNFOCUS
This event is sent to the previous Fl::focus() widget when another widget gets the focus or the windo...
Definition: Enumerations.H:286
@ FL_ZOOM_GESTURE
The user has made a zoom/pinch/magnification gesture.
Definition: Enumerations.H:427
@ FL_DND_RELEASE
The user has released the mouse button dropping data into the widget.
Definition: Enumerations.H:415
@ FL_SHOW
This widget is visible again, due to Fl_Widget::show() being called on it or one of its parents,...
Definition: Enumerations.H:375
@ FL_SELECTIONCLEAR
The Fl::selection_owner() will get this event before the selection is moved to another widget.
Definition: Enumerations.H:388
@ FL_LEAVE
The mouse has moved out of the widget.
Definition: Enumerations.H:257
@ FL_DRAG
The mouse has moved with a button held down.
Definition: Enumerations.H:266
@ FL_DND_DRAG
The mouse has been moved inside a widget while dragging data.
Definition: Enumerations.H:405
@ FL_KEYUP
Key release event.
Definition: Enumerations.H:318
@ FL_MOVE
The mouse has moved without any mouse buttons held down.
Definition: Enumerations.H:333
@ FL_FULLSCREEN
The fullscreen state of the window has changed.
Definition: Enumerations.H:422
@ FL_MOUSEWHEEL
The user has moved the mouse wheel.
Definition: Enumerations.H:393
@ FL_DEACTIVATE
This widget is no longer active, due to Fl_Widget::deactivate() being called on it or one of its pare...
Definition: Enumerations.H:354
@ FL_FOCUS
This indicates an attempt to give a widget the keyboard focus.
Definition: Enumerations.H:281
@ FL_HIDE
This widget is no longer visible, due to Fl_Widget::hide() being called on it or one of its parents,...
Definition: Enumerations.H:367
@ FL_NO_EVENT
No event.
Definition: Enumerations.H:221
@ FL_DND_ENTER
The mouse has been moved to point at this widget.
Definition: Enumerations.H:399
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition: Enumerations.H:761
@ _FL_EMBOSSED_LABEL
draws edges as though the text is raised
Definition: Enumerations.H:766
@ _FL_SHADOW_LABEL
draws a drop shadow under the text
Definition: Enumerations.H:764
@ _FL_IMAGE_LABEL
the label displays an "icon" based on a Fl_Image
Definition: Enumerations.H:769
@ _FL_ENGRAVED_LABEL
draws edges as though the text is engraved
Definition: Enumerations.H:765
@ FL_NORMAL_LABEL
draws the text (0)
Definition: Enumerations.H:762
@ _FL_MULTI_LABEL
draws a composite label
Definition: Enumerations.H:767
@ FL_NO_LABEL
does nothing
Definition: Enumerations.H:763
@ FL_FREE_LABELTYPE
first free labeltype to use for creating own labeltypes
Definition: Enumerations.H:771
@ _FL_ICON_LABEL
draws the icon associated with the text
Definition: Enumerations.H:768
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:904
const Fl_Align FL_ALIGN_WRAP
Wrap text that does not fit the width of the widget.
Definition: Enumerations.H:849
Fl_When
These constants determine when a callback is performed.
Definition: Enumerations.H:437
@ FL_WHEN_ENTER_KEY
Do the callback when the user presses the ENTER key and the value changes.
Definition: Enumerations.H:443
@ FL_WHEN_RELEASE_ALWAYS
Do the callback when the button or key is released, even if the value doesn't change.
Definition: Enumerations.H:442
@ FL_WHEN_ENTER_KEY_CHANGED
?
Definition: Enumerations.H:445
@ FL_WHEN_ENTER_KEY_ALWAYS
Do the callback when the user presses the ENTER key, even if the value doesn't change.
Definition: Enumerations.H:444
@ FL_WHEN_NOT_CHANGED
Do the callback whenever the user interacts with the widget.
Definition: Enumerations.H:440
@ FL_WHEN_NEVER
Never call the callback.
Definition: Enumerations.H:438
@ FL_WHEN_CHANGED
Do the callback only when the widget value changes.
Definition: Enumerations.H:439
@ FL_WHEN_RELEASE
Do the callback when the button or key is released and the value changes.
Definition: Enumerations.H:441
const Fl_Align FL_ALIGN_INSIDE
Draw the label inside of the widget.
Definition: Enumerations.H:841
const Fl_Align FL_ALIGN_IMAGE_NEXT_TO_TEXT
If the label contains an image, draw the text to the right of the image.
Definition: Enumerations.H:851
Fl_Boxtype
Definition: Enumerations.H:601
@ _FL_PLASTIC_UP_BOX
plastic version of FL_UP_BOX
Definition: Enumerations.H:633
@ _FL_RSHADOW_BOX
see figure 1
Definition: Enumerations.H:622
@ FL_BORDER_BOX
see figure 1
Definition: Enumerations.H:617
@ _FL_PLASTIC_UP_FRAME
plastic version of FL_UP_FRAME
Definition: Enumerations.H:635
@ _FL_PLASTIC_ROUND_DOWN_BOX
plastic version of FL_ROUND_DOWN_BOX
Definition: Enumerations.H:640
@ _FL_PLASTIC_ROUND_UP_BOX
plastic version of FL_ROUND_UP_BOX
Definition: Enumerations.H:639
@ FL_THIN_UP_BOX
see figure 1
Definition: Enumerations.H:609
@ FL_EMBOSSED_BOX
see figure 1
Definition: Enumerations.H:614
@ _FL_OVAL_FRAME
see figure 1
Definition: Enumerations.H:631
@ _FL_OFLAT_BOX
see figure 1
Definition: Enumerations.H:632
@ _FL_GTK_THIN_UP_FRAME
gtk+ version of FL_THIN_UP_FRAME
Definition: Enumerations.H:647
@ _FL_RFLAT_BOX
see figure 1
Definition: Enumerations.H:624
@ _FL_GTK_THIN_DOWN_FRAME
gtk+ version of FL_THIN_DOWN_FRAME
Definition: Enumerations.H:648
@ FL_NO_BOX
nothing is drawn at all, this box is invisible
Definition: Enumerations.H:603
@ _FL_GTK_UP_FRAME
gtk+ version of FL_UP_FRAME
Definition: Enumerations.H:643
@ _FL_SHADOW_FRAME
see figure 1
Definition: Enumerations.H:620
@ _FL_OSHADOW_BOX
see figure 1
Definition: Enumerations.H:630
@ FL_BORDER_FRAME
see figure 1
Definition: Enumerations.H:619
@ _FL_ROUNDED_FRAME
see figure 1
Definition: Enumerations.H:623
@ _FL_GTK_DOWN_BOX
gtk+ version of FL_DOWN_BOX
Definition: Enumerations.H:642
@ FL_THIN_DOWN_FRAME
see figure 1
Definition: Enumerations.H:612
@ FL_FLAT_BOX
a flat box
Definition: Enumerations.H:604
@ _FL_GLEAM_THIN_DOWN_BOX
gleam version of FL_THIN_DOWN_BOX
Definition: Enumerations.H:656
@ _FL_GTK_THIN_UP_BOX
gtk+ version of FL_THIN_UP_BOX
Definition: Enumerations.H:645
@ _FL_GTK_ROUND_DOWN_BOX
gtk+ version of FL_ROUND_DOWN_BOX
Definition: Enumerations.H:650
@ _FL_SHADOW_BOX
see figure 1
Definition: Enumerations.H:618
@ _FL_GLEAM_DOWN_FRAME
gleam version of FL_DOWN_FRAME
Definition: Enumerations.H:654
@ _FL_PLASTIC_DOWN_BOX
plastic version of FL_DOWN_BOX
Definition: Enumerations.H:634
@ _FL_GLEAM_DOWN_BOX
gleam version of FL_DOWN_BOX
Definition: Enumerations.H:652
@ FL_DOWN_BOX
see figure 1
Definition: Enumerations.H:606
@ FL_ENGRAVED_FRAME
see figure 1
Definition: Enumerations.H:615
@ _FL_GTK_ROUND_UP_BOX
gtk+ version of FL_ROUND_UP_BOX
Definition: Enumerations.H:649
@ _FL_GLEAM_ROUND_DOWN_BOX
gleam version of FL_ROUND_DOWN_BOX
Definition: Enumerations.H:658
@ FL_FREE_BOXTYPE
the first free box type for creation of new box types
Definition: Enumerations.H:659
@ FL_UP_FRAME
see figure 1
Definition: Enumerations.H:607
@ _FL_ROUND_UP_BOX
see figure 1
Definition: Enumerations.H:625
@ _FL_GTK_UP_BOX
gtk+ version of FL_UP_BOX
Definition: Enumerations.H:641
@ FL_UP_BOX
see figure 1
Definition: Enumerations.H:605
@ FL_ENGRAVED_BOX
see figure 1
Definition: Enumerations.H:613
@ _FL_OVAL_BOX
see figure 1
Definition: Enumerations.H:629
@ _FL_PLASTIC_THIN_UP_BOX
plastic version of FL_THIN_UP_BOX
Definition: Enumerations.H:637
@ FL_THIN_DOWN_BOX
see figure 1
Definition: Enumerations.H:610
@ _FL_GLEAM_UP_FRAME
gleam version of FL_UP_FRAME
Definition: Enumerations.H:653
@ _FL_GTK_DOWN_FRAME
gtk+ version of FL_DOWN_FRAME
Definition: Enumerations.H:644
@ FL_EMBOSSED_FRAME
see figure 1
Definition: Enumerations.H:616
@ _FL_DIAMOND_DOWN_BOX
see figure 1
Definition: Enumerations.H:628
@ FL_DOWN_FRAME
see figure 1
Definition: Enumerations.H:608
@ _FL_PLASTIC_DOWN_FRAME
plastic version of FL_DOWN_FRAME
Definition: Enumerations.H:636
@ _FL_ROUNDED_BOX
see figure 1
Definition: Enumerations.H:621
@ _FL_ROUND_DOWN_BOX
see figure 1
Definition: Enumerations.H:626
@ _FL_DIAMOND_UP_BOX
see figure 1
Definition: Enumerations.H:627
@ _FL_PLASTIC_THIN_DOWN_BOX
plastic version of FL_THIN_DOWN_BOX
Definition: Enumerations.H:638
@ FL_THIN_UP_FRAME
see figure 1
Definition: Enumerations.H:611
@ _FL_GTK_THIN_DOWN_BOX
gtk+ version of FL_THIN_DOWN_BOX
Definition: Enumerations.H:646
@ _FL_GLEAM_ROUND_UP_BOX
gleam version of FL_ROUND_UP_BOX
Definition: Enumerations.H:657
@ _FL_GLEAM_UP_BOX
gleam version of FL_UP_BOX
Definition: Enumerations.H:651
@ _FL_GLEAM_THIN_UP_BOX
gleam version of FL_THIN_UP_BOX
Definition: Enumerations.H:655
const Fl_Font FL_HELVETICA_BOLD
Helvetica (or Arial) bold.
Definition: Enumerations.H:878
const Fl_Font FL_COURIER
Courier normal.
Definition: Enumerations.H:881
const Fl_Align FL_ALIGN_LEFT
Align the label at the left of the widget.
Definition: Enumerations.H:837
const Fl_Font FL_COURIER_ITALIC
Courier italic.
Definition: Enumerations.H:883
Fl_Color fl_lighter(Fl_Color c)
Returns a lighter version of the specified color.
Definition: Enumerations.H:989
This file contains simple "C"-style type definitions.
unsigned char uchar
unsigned char
Definition: fl_types.h:30
FL_EXPORT Fl_Color fl_inactive(Fl_Color c)
Returns the inactive, dimmed version of the given color.
Definition: fl_color.cxx:423
FL_EXPORT Fl_Color fl_contrast(Fl_Color fg, Fl_Color bg)
Returns a color that contrasts with the background color.
Definition: fl_color.cxx:435
FL_EXPORT Fl_Color fl_color_average(Fl_Color c1, Fl_Color c2, float weight)
Returns the weighted average color between the two given colors.
Definition: fl_color.cxx:402