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.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Enumerations.H
Go to the documentation of this file.
1 //
2 // "$Id$"
3 //
4 // Enumerations for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2017 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18 
23 #ifndef Fl_Enumerations_H
24 #define Fl_Enumerations_H
25 
26 /*
27  ******************************************************************************
28  * Notes on FL_ABI_VERSION and deprecated (obsolete) FLTK_ABI_VERSION:
29  *
30  * (1) FLTK_ABI_VERSION is deprecated, but still defined below.
31  * Do NOT define FLTK_ABI_VERSION here - it would be overwritten later.
32  *
33  * (2) FL_ABI_VERSION is now (as of FLTK 1.3.4) defined by configure
34  * or CMake. Do NOT define it here. Its definition will be included
35  * below by "#include <FL/abi-version.h>".
36  *
37  * (3) If you use the provided IDE files (Windows VC++ or Xcode) you should
38  * edit the definition in the provided file abi-version.ide. The correct
39  * file is `/path/to/fltk/abi-version.ide' .
40  *
41  ******************************************************************************
42  * For more informations on FL_ABI_VERSION see README.abi-version.txt.
43  ******************************************************************************
44  */
45 
46 #include <FL/abi-version.h>
47 
48 # include "Fl_Export.H"
49 # include "fl_types.h"
50 
59 
64 #define FL_MAJOR_VERSION 1
65 
71 #define FL_MINOR_VERSION 3
72 
78 #define FL_PATCH_VERSION 5
79 
101 #define FL_VERSION ( (double)FL_MAJOR_VERSION + \
102  (double)FL_MINOR_VERSION * 0.01 + \
103  (double)FL_PATCH_VERSION * 0.0001 )
104 
123 #define FL_API_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100 + FL_PATCH_VERSION)
124 
155 #ifndef FL_ABI_VERSION
156 #define FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100)
157 #endif
158 
159 /*
160  Check if FL_ABI_VERSION is out of allowed range; redefine if necessary.
161 
162  This is done to prevent users from defining an illegal ABI version.
163 
164  Rule: FL_MAJOR_VERSION * 10000 + FL_MINOR_VERSION * 100
165  <= FL_ABI_VERSION <= FL_API_VERSION.
166 
167  Example (FLTK 1.3.4):
168 
169  10300 <= FL_ABI_VERSION <= 10304
170 
171  Note: configure + CMake can be used to define FL_ABI_VERSION, but they
172  do not check validity. This is done here.
173 */
174 
175 #if FL_ABI_VERSION < FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100
176 
177 # undef FL_ABI_VERSION
178 # define FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100)
179 
180 #elif FL_ABI_VERSION > FL_API_VERSION
181 
182 # undef FL_ABI_VERSION
183 # define FL_ABI_VERSION FL_API_VERSION
184 
185 #endif
186 
187 /*
188  FLTK_ABI_VERSION is deprecated (replaced by FL_ABI_VERSION).
189 
190  This deprecated constant will be removed in FLTK 1.4.0 and later.
191  Please use FL_ABI_VERSION when FLTK 1.4.0 has been released.
192 */
193 
194 #ifdef FLTK_ABI_VERSION
195 #undef FLTK_ABI_VERSION
196 #endif
197 
198 #define FLTK_ABI_VERSION FL_ABI_VERSION
199  // group: Version Numbers
201 
220 // DEV NOTE: Keep this list in sync with FL/names.H
221 enum Fl_Event { // events
224 
236  FL_PUSH = 1,
237 
245 
253  FL_ENTER = 3,
254 
259  FL_LEAVE = 4,
260 
268  FL_DRAG = 5,
269 
283  FL_FOCUS = 6,
284 
289 
311 
316 
320  FL_KEYUP = 9,
321 
327  FL_CLOSE = 10,
328 
335  FL_MOVE = 11,
336 
350 
357 
362 
369  FL_HIDE = 15,
370 
377  FL_SHOW = 16,
378 
383  FL_PASTE = 17,
384 
391 
396 
402 
408 
412 
430 };
431 
439 enum Fl_When { // Fl_Widget::when():
448 };
449  // group: When Conditions
451 
464 
465 // FIXME: These codes collide with valid Unicode keys
466 
467 #define FL_Button 0xfee8
468 #define FL_BackSpace 0xff08
469 #define FL_Tab 0xff09
470 #define FL_Iso_Key 0xff0c
471 #define FL_Enter 0xff0d
472 #define FL_Pause 0xff13
473 #define FL_Scroll_Lock 0xff14
474 #define FL_Escape 0xff1b
475 #define FL_Kana 0xff2e
476 #define FL_Eisu 0xff2f
477 #define FL_Yen 0xff30
478 #define FL_JIS_Underscore 0xff31
479 #define FL_Home 0xff50
480 #define FL_Left 0xff51
481 #define FL_Up 0xff52
482 #define FL_Right 0xff53
483 #define FL_Down 0xff54
484 #define FL_Page_Up 0xff55
485 #define FL_Page_Down 0xff56
486 #define FL_End 0xff57
487 #define FL_Print 0xff61
488 #define FL_Insert 0xff63
489 #define FL_Menu 0xff67
490 #define FL_Help 0xff68
491 #define FL_Num_Lock 0xff7f
492 #define FL_KP 0xff80
493 #define FL_KP_Enter 0xff8d
494 #define FL_KP_Last 0xffbd
495 #define FL_F 0xffbd
496 #define FL_F_Last 0xffe0
497 #define FL_Shift_L 0xffe1
498 #define FL_Shift_R 0xffe2
499 #define FL_Control_L 0xffe3
500 #define FL_Control_R 0xffe4
501 #define FL_Caps_Lock 0xffe5
502 #define FL_Meta_L 0xffe7
503 #define FL_Meta_R 0xffe8
504 #define FL_Alt_L 0xffe9
505 #define FL_Alt_R 0xffea
506 #define FL_Delete 0xffff
507 
508 // These use the Private Use Area (PUA) of the Basic Multilingual Plane
509 // of Unicode. Guaranteed not to conflict with a proper Unicode character.
510 
511 // These primarily map to the XFree86 keysym range
512 #define FL_Volume_Down 0xEF11 /* Volume control down */
513 #define FL_Volume_Mute 0xEF12 /* Mute sound from the system */
514 #define FL_Volume_Up 0xEF13 /* Volume control up */
515 #define FL_Media_Play 0xEF14 /* Start playing of audio */
516 #define FL_Media_Stop 0xEF15 /* Stop playing audio */
517 #define FL_Media_Prev 0xEF16 /* Previous track */
518 #define FL_Media_Next 0xEF17 /* Next track */
519 #define FL_Home_Page 0xEF18 /* Display user's home page */
520 #define FL_Mail 0xEF19 /* Invoke user's mail program */
521 #define FL_Search 0xEF1B /* Search */
522 #define FL_Back 0xEF26 /* Like back on a browser */
523 #define FL_Forward 0xEF27 /* Like forward on a browser */
524 #define FL_Stop 0xEF28 /* Stop current operation */
525 #define FL_Refresh 0xEF29 /* Refresh the page */
526 #define FL_Sleep 0xEF2F /* Put system to sleep */
527 #define FL_Favorites 0xEF30 /* Show favorite locations */
528  // group: Mouse and Keyboard Events
530 
539 
540 #define FL_LEFT_MOUSE 1
541 #define FL_MIDDLE_MOUSE 2
542 #define FL_RIGHT_MOUSE 3
543 
544  // group: Mouse Buttons
545 
546 
552  // group: Event States
553 
554 // FIXME: it would be nice to have the modifiers in the upper 8 bit so that
555 // a unicode ke (24bit) can be sent as an unsigned with the modifiers.
556 
557 #define FL_SHIFT 0x00010000
558 #define FL_CAPS_LOCK 0x00020000
559 #define FL_CTRL 0x00040000
560 #define FL_ALT 0x00080000
561 #define FL_NUM_LOCK 0x00100000
562  // most X servers do this?
563 #define FL_META 0x00400000
564  // correct for XFree86
565 #define FL_SCROLL_LOCK 0x00800000
566  // correct for XFree86
567 #define FL_BUTTON1 0x01000000
568 #define FL_BUTTON2 0x02000000
569 #define FL_BUTTON3 0x04000000
570 #define FL_BUTTONS 0x7f000000
571 #define FL_BUTTON(n) (0x00800000<<(n))
572 
573 #define FL_KEY_MASK 0x0000ffff
574  // FIXME: Unicode needs 24 bits!
575 
576 #ifdef __APPLE__
577 # define FL_COMMAND FL_META
578 # define FL_CONTROL FL_CTRL
579 #else
580 # define FL_COMMAND FL_CTRL
581 # define FL_CONTROL FL_META
582 #endif // __APPLE__
583  // group: Event States
585 
603 enum Fl_Boxtype { // boxtypes (if you change these you must fix fl_boxtype.cxx):
604 
605  FL_NO_BOX = 0,
662 };
664 #define FL_ROUND_UP_BOX fl_define_FL_ROUND_UP_BOX()
665 #define FL_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_ROUND_UP_BOX()+1)
667 #define FL_SHADOW_BOX fl_define_FL_SHADOW_BOX()
668 #define FL_SHADOW_FRAME (Fl_Boxtype)(fl_define_FL_SHADOW_BOX()+2)
670 #define FL_ROUNDED_BOX fl_define_FL_ROUNDED_BOX()
671 #define FL_ROUNDED_FRAME (Fl_Boxtype)(fl_define_FL_ROUNDED_BOX()+2)
673 #define FL_RFLAT_BOX fl_define_FL_RFLAT_BOX()
675 #define FL_RSHADOW_BOX fl_define_FL_RSHADOW_BOX()
677 #define FL_DIAMOND_UP_BOX fl_define_FL_DIAMOND_BOX()
678 #define FL_DIAMOND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_DIAMOND_BOX()+1)
680 #define FL_OVAL_BOX fl_define_FL_OVAL_BOX()
681 #define FL_OSHADOW_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+1)
682 #define FL_OVAL_FRAME (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+2)
683 #define FL_OFLAT_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+3)
684 
686 #define FL_PLASTIC_UP_BOX fl_define_FL_PLASTIC_UP_BOX()
687 #define FL_PLASTIC_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+1)
688 #define FL_PLASTIC_UP_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+2)
689 #define FL_PLASTIC_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+3)
690 #define FL_PLASTIC_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+4)
691 #define FL_PLASTIC_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+5)
692 #define FL_PLASTIC_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+6)
693 #define FL_PLASTIC_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+7)
694 
696 #define FL_GTK_UP_BOX fl_define_FL_GTK_UP_BOX()
697 #define FL_GTK_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+1)
698 #define FL_GTK_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+2)
699 #define FL_GTK_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+3)
700 #define FL_GTK_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+4)
701 #define FL_GTK_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+5)
702 #define FL_GTK_THIN_UP_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+6)
703 #define FL_GTK_THIN_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+7)
704 #define FL_GTK_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+8)
705 #define FL_GTK_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GTK_UP_BOX()+9)
706 
708 #define FL_GLEAM_UP_BOX fl_define_FL_GLEAM_UP_BOX()
709 #define FL_GLEAM_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+1)
710 #define FL_GLEAM_UP_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+2)
711 #define FL_GLEAM_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+3)
712 #define FL_GLEAM_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+4)
713 #define FL_GLEAM_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+5)
714 #define FL_GLEAM_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+6)
715 #define FL_GLEAM_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_GLEAM_UP_BOX()+7)
716 
717 // conversions of box types to other boxtypes:
724  return (Fl_Boxtype)((b<FL_UP_BOX||b%4>1)?b:(b-2));
725 }
732  return (Fl_Boxtype)((b<FL_UP_BOX)?b:(b|1));
733 }
740  return (Fl_Boxtype)((b%4<2)?b:(b+2));
741 }
742 
743 // back-compatibility box types:
744 #define FL_FRAME FL_ENGRAVED_FRAME
745 #define FL_FRAME_BOX FL_ENGRAVED_BOX
746 #define FL_CIRCLE_BOX FL_ROUND_DOWN_BOX
747 #define FL_DIAMOND_BOX FL_DIAMOND_DOWN_BOX
748  // group: Box Types
750 
763 enum Fl_Labeltype { // labeltypes:
772 
774 };
775 
780 #define FL_SYMBOL_LABEL FL_NORMAL_LABEL
782 #define FL_SHADOW_LABEL fl_define_FL_SHADOW_LABEL()
784 #define FL_ENGRAVED_LABEL fl_define_FL_ENGRAVED_LABEL()
786 #define FL_EMBOSSED_LABEL fl_define_FL_EMBOSSED_LABEL()
787 
828 typedef unsigned Fl_Align;
862 const Fl_Align FL_ALIGN_LEFT_TOP = 0x0007; // magic value
863 const Fl_Align FL_ALIGN_RIGHT_TOP = 0x000b; // magic value
864 const Fl_Align FL_ALIGN_LEFT_BOTTOM = 0x000d; // magic value
865 const Fl_Align FL_ALIGN_RIGHT_BOTTOM = 0x000e; // magic value
866 const Fl_Align FL_ALIGN_NOWRAP = (Fl_Align)0; // for back compatibility
867 const Fl_Align FL_ALIGN_POSITION_MASK = 0x000f; // left, right, top, bottom
868 const Fl_Align FL_ALIGN_IMAGE_MASK = 0x0320; // l/r, t/b, backdrop
877 typedef int Fl_Font;
878 
883 const Fl_Font FL_COURIER = 4;
887 const Fl_Font FL_TIMES = 8;
891 const Fl_Font FL_SYMBOL = 12;
892 const Fl_Font FL_SCREEN = 13;
895 
896 const Fl_Font FL_FREE_FONT = 16;
897 const Fl_Font FL_BOLD = 1;
898 const Fl_Font FL_ITALIC = 2;
900 
906 typedef int Fl_Fontsize;
907 
909 
934 typedef unsigned int Fl_Color;
935 
936 // Standard colors. These are used as default colors in widgets and altered as necessary
941 
942  // boxtypes generally limit themselves to these colors so
943  // the whole ramp is not allocated:
944 
945 const Fl_Color FL_GRAY0 = 32; // 'A'
946 const Fl_Color FL_DARK3 = 39; // 'H'
947 const Fl_Color FL_DARK2 = 45; // 'N'
948 const Fl_Color FL_DARK1 = 47; // 'P'
949 const Fl_Color FL_BACKGROUND_COLOR = 49; // 'R' default background color
950 const Fl_Color FL_LIGHT1 = 50; // 'S'
951 const Fl_Color FL_LIGHT2 = 52; // 'U'
952 const Fl_Color FL_LIGHT3 = 54; // 'W'
953 
954  // FLTK provides a 5x8x5 color cube that is used with colormap visuals
955 
956 const Fl_Color FL_BLACK = 56;
957 const Fl_Color FL_RED = 88;
958 const Fl_Color FL_GREEN = 63;
959 const Fl_Color FL_YELLOW = 95;
960 const Fl_Color FL_BLUE = 216;
961 const Fl_Color FL_MAGENTA = 248;
962 const Fl_Color FL_CYAN = 223;
964 
967 const Fl_Color FL_DARK_BLUE = 136;
969 const Fl_Color FL_DARK_CYAN = 140;
970 
971 const Fl_Color FL_WHITE = 255;
972 
973 
974 #define FL_FREE_COLOR (Fl_Color)16
975 #define FL_NUM_FREE_COLOR 16
976 #define FL_GRAY_RAMP (Fl_Color)32
977 #define FL_NUM_GRAY 24
978 #define FL_GRAY FL_BACKGROUND_COLOR
979 #define FL_COLOR_CUBE (Fl_Color)56
980 #define FL_NUM_RED 5
981 #define FL_NUM_GREEN 8
982 #define FL_NUM_BLUE 5
983 
985 
987 
988 FL_EXPORT Fl_Color fl_color_average(Fl_Color c1, Fl_Color c2, float weight);
989 
991 inline Fl_Color fl_lighter(Fl_Color c) { return fl_color_average(c, FL_WHITE, .67f); }
992 
994 inline Fl_Color fl_darker(Fl_Color c) { return fl_color_average(c, FL_BLACK, .67f); }
995 
998  if (!r && !g && !b) return FL_BLACK;
999  else return (Fl_Color)(((((r << 8) | g) << 8) | b) << 8);
1000 }
1001 
1004  if (!g) return FL_BLACK;
1005  else return (Fl_Color)(((((g << 8) | g) << 8) | g) << 8);
1006 }
1007 
1016 inline Fl_Color fl_gray_ramp(int i) {return (Fl_Color)(i+FL_GRAY_RAMP);}
1017 
1032 inline Fl_Color fl_color_cube(int r, int g, int b) {
1033  return (Fl_Color)((b*FL_NUM_RED + r) * FL_NUM_GREEN + g + FL_COLOR_CUBE);}
1034  // group: Colors
1036 
1039 
1047 /* FIXME: We should renumber these, but that will break the ABI */
1058  /* Resize indicators */
1073 }; // group: Cursors
1075 
1077 enum { // values for "when" passed to Fl::add_fd()
1078  FL_READ = 1,
1079  FL_WRITE = 4,
1081 };
1082 
1084 enum Fl_Mode {
1085  FL_RGB = 0,
1091  FL_DEPTH = 16,
1093  FL_RGB8 = 64,
1095  FL_STEREO = 256,
1096  FL_FAKE_SINGLE = 512, // Fake single buffered windows using double-buffer
1097  FL_OPENGL3 = 1024
1098 };
1099 
1100 // image alpha blending
1101 
1102 #define FL_IMAGE_WITH_ALPHA 0x40000000
1103 
1113 };
1114 
1115 // FLTK 1.0.x compatibility definitions...
1116 # ifdef FLTK_1_0_COMPAT
1117 # define contrast fl_contrast
1118 # define down fl_down
1119 # define frame fl_frame
1120 # define inactive fl_inactive
1121 # endif // FLTK_1_0_COMPAT
1122 
1123 #endif
1124 
1125 //
1126 // End of "$Id$".
1127 //
FL_ACCUM
Definition: Enumerations.H:1089
FL_ALIGN_LEFT
const Fl_Align FL_ALIGN_LEFT
Definition: Enumerations.H:839
_FL_MULTI_LABEL
draws a composite label
Definition: Enumerations.H:769
FL_DAMAGE_ALL
Definition: Enumerations.H:1112
fl_define_FL_RFLAT_BOX
Fl_Boxtype fl_define_FL_RFLAT_BOX()
Definition: fl_rounded_box.cxx:92
FL_CURSOR_NWSE
Definition: Enumerations.H:1061
fl_define_FL_SHADOW_LABEL
Fl_Labeltype fl_define_FL_SHADOW_LABEL()
Definition: fl_engraved_label.cxx:69
FL_HELVETICA_BOLD
const Fl_Font FL_HELVETICA_BOLD
Helvetica (or Arial) bold.
Definition: Enumerations.H:880
FL_CLOSE
Definition: Enumerations.H:327
FL_NO_LABEL
does nothing
Definition: Enumerations.H:765
FL_HIDE
Definition: Enumerations.H:369
FL_DND_ENTER
Definition: Enumerations.H:401
FL_KEYUP
Definition: Enumerations.H:320
Fl_Color
unsigned int Fl_Color
Definition: Enumerations.H:934
_FL_GTK_THIN_UP_FRAME
gtk+ version of FL_THIN_UP_FRAME
Definition: Enumerations.H:649
FL_UNFOCUS
Definition: Enumerations.H:288
FL_DND_RELEASE
Definition: Enumerations.H:417
_FL_PLASTIC_UP_FRAME
plastic version of FL_UP_FRAME
Definition: Enumerations.H:637
FL_RGB8
Definition: Enumerations.H:1093
FL_DARK_CYAN
const Fl_Color FL_DARK_CYAN
Definition: Enumerations.H:969
FL_ITALIC
const Fl_Font FL_ITALIC
add this to helvetica, courier, or times
Definition: Enumerations.H:898
FL_DAMAGE_USER1
Definition: Enumerations.H:1110
_FL_ROUNDED_FRAME
see figure 1
Definition: Enumerations.H:625
FL_DARK_RED
const Fl_Color FL_DARK_RED
Definition: Enumerations.H:963
FL_ENGRAVED_FRAME
see figure 1
Definition: Enumerations.H:617
FL_INACTIVE_COLOR
const Fl_Color FL_INACTIVE_COLOR
the inactive foreground color
Definition: Enumerations.H:939
Fl_Boxtype
Fl_Boxtype
Definition: Enumerations.H:603
fl_rgb_color
Fl_Color fl_rgb_color(uchar r, uchar g, uchar b)
Definition: Enumerations.H:997
_FL_EMBOSSED_LABEL
draws edges as though the text is raised
Definition: Enumerations.H:768
FL_THIN_UP_FRAME
see figure 1
Definition: Enumerations.H:613
FL_FAKE_SINGLE
Definition: Enumerations.H:1096
FL_WHITE
const Fl_Color FL_WHITE
Definition: Enumerations.H:971
_FL_ICON_LABEL
draws the icon associated with the text
Definition: Enumerations.H:770
FL_DAMAGE_SCROLL
Definition: Enumerations.H:1108
_FL_RFLAT_BOX
see figure 1
Definition: Enumerations.H:626
FL_CURSOR_DEFAULT
Definition: Enumerations.H:1049
FL_FREE_LABELTYPE
first free labeltype to use for creating own labeltypes
Definition: Enumerations.H:773
FL_HELVETICA_BOLD_ITALIC
const Fl_Font FL_HELVETICA_BOLD_ITALIC
Helvetica (or Arial) bold-oblique.
Definition: Enumerations.H:882
Fl_Mode
Fl_Mode
Definition: Enumerations.H:1084
FL_GREEN
const Fl_Color FL_GREEN
Definition: Enumerations.H:958
FL_WHEN_NOT_CHANGED
Do the callback whenever the user interacts with the widget.
Definition: Enumerations.H:442
fl_box
Fl_Boxtype fl_box(Fl_Boxtype b)
Definition: Enumerations.H:723
fl_darker
Fl_Color fl_darker(Fl_Color c)
Definition: Enumerations.H:994
FL_BORDER_FRAME
see figure 1
Definition: Enumerations.H:621
_FL_GLEAM_ROUND_DOWN_BOX
gleam version of FL_ROUND_DOWN_BOX
Definition: Enumerations.H:660
FL_WHEN_RELEASE
Do the callback when the button or key is released and the value changes.
Definition: Enumerations.H:443
_FL_GLEAM_ROUND_UP_BOX
gleam version of FL_ROUND_UP_BOX
Definition: Enumerations.H:659
FL_DRAG
Definition: Enumerations.H:268
FL_COURIER_ITALIC
const Fl_Font FL_COURIER_ITALIC
Courier italic.
Definition: Enumerations.H:885
FL_ZOOM_GESTURE
Definition: Enumerations.H:429
FL_TIMES
const Fl_Font FL_TIMES
Times roman.
Definition: Enumerations.H:887
_FL_OFLAT_BOX
see figure 1
Definition: Enumerations.H:634
FL_CURSOR_NESW
Definition: Enumerations.H:1062
FL_BLUE
const Fl_Color FL_BLUE
Definition: Enumerations.H:960
FL_ALIGN_IMAGE_OVER_TEXT
const Fl_Align FL_ALIGN_IMAGE_OVER_TEXT
Definition: Enumerations.H:847
fl_define_FL_ENGRAVED_LABEL
Fl_Labeltype fl_define_FL_ENGRAVED_LABEL()
Definition: fl_engraved_label.cxx:73
_FL_GTK_ROUND_DOWN_BOX
gtk+ version of FL_ROUND_DOWN_BOX
Definition: Enumerations.H:652
FL_BOLD_ITALIC
const Fl_Font FL_BOLD_ITALIC
add this to helvetica, courier, or times
Definition: Enumerations.H:899
FL_RGB
Definition: Enumerations.H:1085
FL_GRAY0
const Fl_Color FL_GRAY0
Definition: Enumerations.H:945
fl_down
Fl_Boxtype fl_down(Fl_Boxtype b)
Definition: Enumerations.H:731
FL_PASTE
Definition: Enumerations.H:383
FL_CURSOR_NS
Definition: Enumerations.H:1059
FL_COURIER
const Fl_Font FL_COURIER
Courier normal.
Definition: Enumerations.H:883
FL_KEYDOWN
Definition: Enumerations.H:310
FL_ALIGN_TEXT_OVER_IMAGE
const Fl_Align FL_ALIGN_TEXT_OVER_IMAGE
Definition: Enumerations.H:845
FL_ALIGN_NOWRAP
const Fl_Align FL_ALIGN_NOWRAP
Definition: Enumerations.H:866
FL_CURSOR_MOVE
Definition: Enumerations.H:1056
fl_contrast
Fl_Color fl_contrast(Fl_Color fg, Fl_Color bg)
Definition: fl_color.cxx:435
FL_DARK2
const Fl_Color FL_DARK2
Definition: Enumerations.H:947
FL_LEAVE
Definition: Enumerations.H:259
FL_ZAPF_DINGBATS
const Fl_Font FL_ZAPF_DINGBATS
Zapf-dingbats font.
Definition: Enumerations.H:894
FL_SCREEN_CONFIGURATION_CHANGED
Definition: Enumerations.H:421
b
long b
Definition: jpegint.h:397
FL_SCREEN
const Fl_Font FL_SCREEN
Default monospaced screen font.
Definition: Enumerations.H:892
FL_EXPORT
#define FL_EXPORT
Definition: Fl_Export.H:35
FL_BLACK
const Fl_Color FL_BLACK
Definition: Enumerations.H:956
FL_CURSOR_SE
Definition: Enumerations.H:1066
FL_SINGLE
Definition: Enumerations.H:1087
FL_OPENGL3
Definition: Enumerations.H:1097
FL_ALIGN_BOTTOM_LEFT
const Fl_Align FL_ALIGN_BOTTOM_LEFT
Definition: Enumerations.H:860
FL_HELVETICA_ITALIC
const Fl_Font FL_HELVETICA_ITALIC
Helvetica (or Arial) oblique.
Definition: Enumerations.H:881
FL_DAMAGE_USER2
Definition: Enumerations.H:1111
FL_CURSOR_HELP
Definition: Enumerations.H:1055
FL_FOREGROUND_COLOR
const Fl_Color FL_FOREGROUND_COLOR
the default foreground color (0) used for labels and text
Definition: Enumerations.H:937
FL_STEREO
Definition: Enumerations.H:1095
FL_ALIGN_INSIDE
const Fl_Align FL_ALIGN_INSIDE
Definition: Enumerations.H:843
_FL_DIAMOND_DOWN_BOX
see figure 1
Definition: Enumerations.H:630
_FL_SHADOW_BOX
see figure 1
Definition: Enumerations.H:620
_FL_GTK_UP_FRAME
gtk+ version of FL_UP_FRAME
Definition: Enumerations.H:645
FL_ALIGN_LEFT_BOTTOM
const Fl_Align FL_ALIGN_LEFT_BOTTOM
Definition: Enumerations.H:864
FL_FREE_BOXTYPE
the first free box type for creation of new box types
Definition: Enumerations.H:661
FL_CURSOR_INSERT
Definition: Enumerations.H:1053
FL_DND_LEAVE
Definition: Enumerations.H:411
_FL_GTK_DOWN_BOX
gtk+ version of FL_DOWN_BOX
Definition: Enumerations.H:644
_FL_OSHADOW_BOX
see figure 1
Definition: Enumerations.H:632
FL_ENGRAVED_BOX
see figure 1
Definition: Enumerations.H:615
FL_DND_DRAG
Definition: Enumerations.H:407
FL_CURSOR_HAND
Definition: Enumerations.H:1054
FL_NUM_RED
#define FL_NUM_RED
Definition: Enumerations.H:980
FL_WHEN_CHANGED
Do the callback only when the widget value changes.
Definition: Enumerations.H:441
_FL_PLASTIC_DOWN_BOX
plastic version of FL_DOWN_BOX
Definition: Enumerations.H:636
_FL_ROUND_UP_BOX
see figure 1
Definition: Enumerations.H:627
FL_FREE_FONT
const Fl_Font FL_FREE_FONT
first one to allocate
Definition: Enumerations.H:896
_FL_ROUNDED_BOX
see figure 1
Definition: Enumerations.H:623
_FL_OVAL_FRAME
see figure 1
Definition: Enumerations.H:633
FL_COLOR_CUBE
#define FL_COLOR_CUBE
Definition: Enumerations.H:979
FL_DARK_GREEN
const Fl_Color FL_DARK_GREEN
Definition: Enumerations.H:965
Fl_Damage
Fl_Damage
Definition: Enumerations.H:1105
FL_FLAT_BOX
a flat box
Definition: Enumerations.H:606
FL_NUM_GREEN
#define FL_NUM_GREEN
Definition: Enumerations.H:981
fl_frame
Fl_Boxtype fl_frame(Fl_Boxtype b)
Definition: Enumerations.H:739
FL_DEACTIVATE
Definition: Enumerations.H:356
FL_THIN_UP_BOX
see figure 1
Definition: Enumerations.H:611
fl_define_FL_SHADOW_BOX
Fl_Boxtype fl_define_FL_SHADOW_BOX()
Definition: fl_shadow_box.cxx:39
FL_MOVE
Definition: Enumerations.H:335
fl_define_FL_GTK_UP_BOX
Fl_Boxtype fl_define_FL_GTK_UP_BOX()
Definition: fl_gtk.cxx:275
_FL_SHADOW_FRAME
see figure 1
Definition: Enumerations.H:622
FL_MOUSEWHEEL
Definition: Enumerations.H:395
fl_define_FL_ROUND_UP_BOX
Fl_Boxtype fl_define_FL_ROUND_UP_BOX()
Definition: fl_round_box.cxx:105
FL_CURSOR_WAIT
Definition: Enumerations.H:1052
FL_ALIGN_TOP_LEFT
const Fl_Align FL_ALIGN_TOP_LEFT
Definition: Enumerations.H:858
FL_COURIER_BOLD
const Fl_Font FL_COURIER_BOLD
Courier bold.
Definition: Enumerations.H:884
FL_CURSOR_NW
Definition: Enumerations.H:1070
FL_WRITE
Definition: Enumerations.H:1079
FL_UP_BOX
see figure 1
Definition: Enumerations.H:607
FL_YELLOW
const Fl_Color FL_YELLOW
Definition: Enumerations.H:959
FL_HELVETICA
const Fl_Font FL_HELVETICA
Helvetica (or Arial) normal (0)
Definition: Enumerations.H:879
FL_WHEN_RELEASE_ALWAYS
Do the callback when the button or key is released, even if the value doesn't change.
Definition: Enumerations.H:444
FL_DOWN_BOX
see figure 1
Definition: Enumerations.H:608
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:446
fl_define_FL_RSHADOW_BOX
Fl_Boxtype fl_define_FL_RSHADOW_BOX()
Definition: fl_rounded_box.cxx:97
fl_inactive
Fl_Color fl_inactive(Fl_Color c)
Definition: fl_color.cxx:423
_FL_PLASTIC_UP_BOX
plastic version of FL_UP_BOX
Definition: Enumerations.H:635
fl_define_FL_DIAMOND_BOX
Fl_Boxtype fl_define_FL_DIAMOND_BOX()
Definition: fl_diamond_box.cxx:65
FL_DARK_YELLOW
const Fl_Color FL_DARK_YELLOW
Definition: Enumerations.H:966
FL_FOCUS
Definition: Enumerations.H:283
FL_TIMES_ITALIC
const Fl_Font FL_TIMES_ITALIC
Times roman italic.
Definition: Enumerations.H:889
FL_SYMBOL
const Fl_Font FL_SYMBOL
Standard symbol font.
Definition: Enumerations.H:891
FL_BORDER_BOX
see figure 1
Definition: Enumerations.H:619
_FL_GTK_ROUND_UP_BOX
gtk+ version of FL_ROUND_UP_BOX
Definition: Enumerations.H:651
FL_CURSOR_N
Definition: Enumerations.H:1063
_FL_PLASTIC_DOWN_FRAME
plastic version of FL_DOWN_FRAME
Definition: Enumerations.H:638
Fl_Fontsize
int Fl_Fontsize
Definition: Enumerations.H:906
_FL_GLEAM_UP_FRAME
gleam version of FL_UP_FRAME
Definition: Enumerations.H:655
FL_PUSH
Definition: Enumerations.H:236
FL_DEPTH
Definition: Enumerations.H:1091
fl_define_FL_PLASTIC_UP_BOX
Fl_Boxtype fl_define_FL_PLASTIC_UP_BOX()
Definition: fl_plastic.cxx:356
FL_FULLSCREEN
Definition: Enumerations.H:424
FL_CYAN
const Fl_Color FL_CYAN
Definition: Enumerations.H:962
FL_NORMAL_SIZE
Fl_Fontsize FL_NORMAL_SIZE
normal font size
Definition: Fl_Widget.cxx:117
FL_CURSOR_CROSS
Definition: Enumerations.H:1051
FL_LIGHT2
const Fl_Color FL_LIGHT2
Definition: Enumerations.H:951
FL_LIGHT3
const Fl_Color FL_LIGHT3
Definition: Enumerations.H:952
fl_define_FL_GLEAM_UP_BOX
Fl_Boxtype fl_define_FL_GLEAM_UP_BOX()
Definition: fl_gleam.cxx:171
FL_NO_BOX
nothing is drawn at all, this box is invisible
Definition: Enumerations.H:605
FL_ALIGN_BOTTOM
const Fl_Align FL_ALIGN_BOTTOM
Definition: Enumerations.H:835
FL_LIGHT1
const Fl_Color FL_LIGHT1
Definition: Enumerations.H:950
FL_KEYBOARD
Definition: Enumerations.H:315
_FL_GTK_THIN_DOWN_FRAME
gtk+ version of FL_THIN_DOWN_FRAME
Definition: Enumerations.H:650
FL_DARK_BLUE
const Fl_Color FL_DARK_BLUE
Definition: Enumerations.H:967
FL_DAMAGE_OVERLAY
Definition: Enumerations.H:1109
Fl_Event
Fl_Event
Definition: Enumerations.H:221
FL_SELECTION_COLOR
const Fl_Color FL_SELECTION_COLOR
the default selection/highlight color
Definition: Enumerations.H:940
FL_NO_EVENT
Definition: Enumerations.H:223
FL_ALIGN_RIGHT_TOP
const Fl_Align FL_ALIGN_RIGHT_TOP
Definition: Enumerations.H:863
fl_color_cube
Fl_Color fl_color_cube(int r, int g, int b)
Definition: Enumerations.H:1032
FL_SHOW
Definition: Enumerations.H:377
FL_RED
const Fl_Color FL_RED
Definition: Enumerations.H:957
FL_CURSOR_SW
Definition: Enumerations.H:1068
_FL_SHADOW_LABEL
draws a drop shadow under the text
Definition: Enumerations.H:766
FL_BOLD
const Fl_Font FL_BOLD
add this to helvetica, courier, or times
Definition: Enumerations.H:897
FL_ALIGN_RIGHT_BOTTOM
const Fl_Align FL_ALIGN_RIGHT_BOTTOM
Definition: Enumerations.H:865
Fl_Export.H
Fl_Font
int Fl_Font
Definition: Enumerations.H:877
Fl_Labeltype
Fl_Labeltype
Definition: Enumerations.H:763
FL_DAMAGE_EXPOSE
Definition: Enumerations.H:1107
_FL_GLEAM_DOWN_FRAME
gleam version of FL_DOWN_FRAME
Definition: Enumerations.H:656
FL_ALIGN_WRAP
const Fl_Align FL_ALIGN_WRAP
Definition: Enumerations.H:851
_FL_GTK_UP_BOX
gtk+ version of FL_UP_BOX
Definition: Enumerations.H:643
FL_BACKGROUND2_COLOR
const Fl_Color FL_BACKGROUND2_COLOR
the default background color for text, list, and valuator widgets
Definition: Enumerations.H:938
_FL_GTK_DOWN_FRAME
gtk+ version of FL_DOWN_FRAME
Definition: Enumerations.H:646
FL_ALIGN_TOP
const Fl_Align FL_ALIGN_TOP
Definition: Enumerations.H:833
FL_CURSOR_NONE
Definition: Enumerations.H:1072
FL_ALIGN_CENTER
const Fl_Align FL_ALIGN_CENTER
Definition: Enumerations.H:830
fl_define_FL_OVAL_BOX
Fl_Boxtype fl_define_FL_OVAL_BOX()
Definition: fl_oval_box.cxx:47
FL_CURSOR_W
Definition: Enumerations.H:1069
FL_SHORTCUT
Definition: Enumerations.H:349
FL_CURSOR_S
Definition: Enumerations.H:1067
FL_ALPHA
Definition: Enumerations.H:1090
_FL_RSHADOW_BOX
see figure 1
Definition: Enumerations.H:624
FL_STENCIL
Definition: Enumerations.H:1092
FL_NORMAL_LABEL
draws the text (0)
Definition: Enumerations.H:764
FL_EMBOSSED_FRAME
see figure 1
Definition: Enumerations.H:618
FL_EXCEPT
Definition: Enumerations.H:1080
FL_CURSOR_ARROW
Definition: Enumerations.H:1050
_FL_PLASTIC_THIN_DOWN_BOX
plastic version of FL_THIN_DOWN_BOX
Definition: Enumerations.H:640
_FL_OVAL_BOX
see figure 1
Definition: Enumerations.H:631
FL_DARK_MAGENTA
const Fl_Color FL_DARK_MAGENTA
Definition: Enumerations.H:968
FL_TIMES_BOLD
const Fl_Font FL_TIMES_BOLD
Times roman bold.
Definition: Enumerations.H:888
FL_GRAY_RAMP
#define FL_GRAY_RAMP
Definition: Enumerations.H:976
FL_INDEX
Definition: Enumerations.H:1086
_FL_GTK_THIN_UP_BOX
gtk+ version of FL_THIN_UP_BOX
Definition: Enumerations.H:647
FL_ALIGN_TOP_RIGHT
const Fl_Align FL_ALIGN_TOP_RIGHT
Definition: Enumerations.H:859
FL_READ
Definition: Enumerations.H:1078
fl_define_FL_EMBOSSED_LABEL
Fl_Labeltype fl_define_FL_EMBOSSED_LABEL()
Definition: fl_engraved_label.cxx:77
f
Fl_Box_Draw_F * f
Definition: fl_boxtype.cxx:285
_FL_ENGRAVED_LABEL
draws edges as though the text is engraved
Definition: Enumerations.H:767
FL_MULTISAMPLE
Definition: Enumerations.H:1094
Fl_Cursor
Fl_Cursor
Definition: Enumerations.H:1048
FL_ACTIVATE
Definition: Enumerations.H:361
FL_TIMES_BOLD_ITALIC
const Fl_Font FL_TIMES_BOLD_ITALIC
Times roman bold-italic.
Definition: Enumerations.H:890
fl_define_FL_ROUNDED_BOX
Fl_Boxtype fl_define_FL_ROUNDED_BOX()
Definition: fl_rounded_box.cxx:86
_FL_ROUND_DOWN_BOX
see figure 1
Definition: Enumerations.H:628
FL_SELECTIONCLEAR
Definition: Enumerations.H:390
FL_BACKGROUND_COLOR
const Fl_Color FL_BACKGROUND_COLOR
Definition: Enumerations.H:949
fl_lighter
Fl_Color fl_lighter(Fl_Color c)
Definition: Enumerations.H:991
_FL_IMAGE_LABEL
the label displays an "icon" based on a Fl_Image
Definition: Enumerations.H:771
_FL_GLEAM_THIN_UP_BOX
gleam version of FL_THIN_UP_BOX
Definition: Enumerations.H:657
FL_DARK1
const Fl_Color FL_DARK1
Definition: Enumerations.H:948
_FL_PLASTIC_ROUND_DOWN_BOX
plastic version of FL_ROUND_DOWN_BOX
Definition: Enumerations.H:642
FL_ALIGN_RIGHT
const Fl_Align FL_ALIGN_RIGHT
Definition: Enumerations.H:841
FL_UP_FRAME
see figure 1
Definition: Enumerations.H:609
fl_types.h
_FL_GLEAM_DOWN_BOX
gleam version of FL_DOWN_BOX
Definition: Enumerations.H:654
FL_CURSOR_E
Definition: Enumerations.H:1065
FL_RELEASE
Definition: Enumerations.H:244
FL_COURIER_BOLD_ITALIC
const Fl_Font FL_COURIER_BOLD_ITALIC
Courier bold-italic.
Definition: Enumerations.H:886
Fl_When
Fl_When
Definition: Enumerations.H:439
fl_color_average
Fl_Color fl_color_average(Fl_Color c1, Fl_Color c2, float weight)
Definition: fl_color.cxx:402
Fl_Align
unsigned Fl_Align
Definition: Enumerations.H:828
FL_WHEN_ENTER_KEY_CHANGED
?
Definition: Enumerations.H:447
_FL_PLASTIC_THIN_UP_BOX
plastic version of FL_THIN_UP_BOX
Definition: Enumerations.H:639
FL_CURSOR_NE
Definition: Enumerations.H:1064
FL_MAGENTA
const Fl_Color FL_MAGENTA
Definition: Enumerations.H:961
uchar
unsigned char uchar
Definition: fl_types.h:30
_FL_GTK_THIN_DOWN_BOX
gtk+ version of FL_THIN_DOWN_BOX
Definition: Enumerations.H:648
fl_gray_ramp
Fl_Color fl_gray_ramp(int i)
Definition: Enumerations.H:1016
_FL_DIAMOND_UP_BOX
see figure 1
Definition: Enumerations.H:629
FL_WHEN_NEVER
Never call the callback.
Definition: Enumerations.H:440
FL_THIN_DOWN_FRAME
see figure 1
Definition: Enumerations.H:614
FL_EMBOSSED_BOX
see figure 1
Definition: Enumerations.H:616
FL_SCREEN_BOLD
const Fl_Font FL_SCREEN_BOLD
Default monospaced bold screen font.
Definition: Enumerations.H:893
_FL_GLEAM_UP_BOX
gleam version of FL_UP_BOX
Definition: Enumerations.H:653
FL_ALIGN_POSITION_MASK
const Fl_Align FL_ALIGN_POSITION_MASK
Definition: Enumerations.H:867
FL_ALIGN_LEFT_TOP
const Fl_Align FL_ALIGN_LEFT_TOP
Definition: Enumerations.H:862
FL_DAMAGE_CHILD
Definition: Enumerations.H:1106
FL_ENTER
Definition: Enumerations.H:253
FL_DOUBLE
Definition: Enumerations.H:1088
FL_ALIGN_IMAGE_MASK
const Fl_Align FL_ALIGN_IMAGE_MASK
Definition: Enumerations.H:868
FL_CURSOR_WE
Definition: Enumerations.H:1060
FL_ALIGN_CLIP
const Fl_Align FL_ALIGN_CLIP
Definition: Enumerations.H:849
FL_DOWN_FRAME
see figure 1
Definition: Enumerations.H:610
FL_ALIGN_IMAGE_NEXT_TO_TEXT
const Fl_Align FL_ALIGN_IMAGE_NEXT_TO_TEXT
Definition: Enumerations.H:853
_FL_GLEAM_THIN_DOWN_BOX
gleam version of FL_THIN_DOWN_BOX
Definition: Enumerations.H:658
FL_ALIGN_IMAGE_BACKDROP
const Fl_Align FL_ALIGN_IMAGE_BACKDROP
Definition: Enumerations.H:857
_FL_PLASTIC_ROUND_UP_BOX
plastic version of FL_ROUND_UP_BOX
Definition: Enumerations.H:641
FL_WHEN_ENTER_KEY
Do the callback when the user presses the ENTER key and the value changes.
Definition: Enumerations.H:445
FL_ALIGN_BOTTOM_RIGHT
const Fl_Align FL_ALIGN_BOTTOM_RIGHT
Definition: Enumerations.H:861
FL_ALIGN_TEXT_NEXT_TO_IMAGE
const Fl_Align FL_ALIGN_TEXT_NEXT_TO_IMAGE
Definition: Enumerations.H:855
FL_DARK3
const Fl_Color FL_DARK3
Definition: Enumerations.H:946
FL_THIN_DOWN_BOX
see figure 1
Definition: Enumerations.H:612