FLTK 1.4.0
names.h
1 //
2 // Event names header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2016 by Bill Spitzak and others.
5 //
6 // This library is free software. Distribution and use rights are outlined in
7 // the file "COPYING" which should have been included with this file. If this
8 // file is missing or damaged, see the license at:
9 //
10 // https://www.fltk.org/COPYING.php
11 //
12 // Please see the following page on how to report bugs and issues:
13 //
14 // https://www.fltk.org/bugs.php
15 //
16 
17 // Thanks to Greg Ercolano for this addition.
18 
19 #ifndef FL_NAMES_H
20 #define FL_NAMES_H
21 
41 const char * const fl_eventnames[] =
42 {
43  "FL_NO_EVENT",
44  "FL_PUSH",
45  "FL_RELEASE",
46  "FL_ENTER",
47  "FL_LEAVE",
48  "FL_DRAG",
49  "FL_FOCUS",
50  "FL_UNFOCUS",
51  "FL_KEYDOWN",
52  "FL_KEYUP",
53  "FL_CLOSE",
54  "FL_MOVE",
55  "FL_SHORTCUT",
56  "FL_DEACTIVATE",
57  "FL_ACTIVATE",
58  "FL_HIDE",
59  "FL_SHOW",
60  "FL_PASTE",
61  "FL_SELECTIONCLEAR",
62  "FL_MOUSEWHEEL",
63  "FL_DND_ENTER",
64  "FL_DND_DRAG",
65  "FL_DND_LEAVE",
66  "FL_DND_RELEASE",
67  "FL_SCREEN_CONFIGURATION_CHANGED",
68  "FL_FULLSCREEN",
69  "FL_ZOOM_GESTURE",
70  "FL_ZOOM_EVENT",
71  "FL_EVENT_28", // not yet defined, just in case it /will/ be defined ...
72  "FL_EVENT_29", // not yet defined, just in case it /will/ be defined ...
73  "FL_EVENT_30" // not yet defined, just in case it /will/ be defined ...
74 };
75 
93 const char * const fl_fontnames[] =
94 {
95  "FL_HELVETICA",
96  "FL_HELVETICA_BOLD",
97  "FL_HELVETICA_ITALIC",
98  "FL_HELVETICA_BOLD_ITALIC",
99  "FL_COURIER",
100  "FL_COURIER_BOLD",
101  "FL_COURIER_ITALIC",
102  "FL_COURIER_BOLD_ITALIC",
103  "FL_TIMES",
104  "FL_TIMES_BOLD",
105  "FL_TIMES_ITALIC",
106  "FL_TIMES_BOLD_ITALIC",
107  "FL_SYMBOL",
108  "FL_SCREEN",
109  "FL_SCREEN_BOLD",
110  "FL_ZAPF_DINGBATS",
111 };
112 
115 #endif /* FL_NAMES_H */
const char *const fl_fontnames[]
This is an array of font names you can use to convert font numbers into names.
Definition: names.h:93
const char *const fl_eventnames[]
This is an array of event names you can use to convert event numbers into names.
Definition: names.h:41