FLTK 1.4.0
names.h
Go to the documentation of this file.
1 //
2 // Event names header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2023 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 
24 #ifndef FL_NAMES_H
25 #define FL_NAMES_H
26 
46 const char * const fl_eventnames[] =
47 {
48  "FL_NO_EVENT",
49  "FL_PUSH",
50  "FL_RELEASE",
51  "FL_ENTER",
52  "FL_LEAVE",
53  "FL_DRAG",
54  "FL_FOCUS",
55  "FL_UNFOCUS",
56  "FL_KEYDOWN",
57  "FL_KEYUP",
58  "FL_CLOSE",
59  "FL_MOVE",
60  "FL_SHORTCUT",
61  "FL_DEACTIVATE",
62  "FL_ACTIVATE",
63  "FL_HIDE",
64  "FL_SHOW",
65  "FL_PASTE",
66  "FL_SELECTIONCLEAR",
67  "FL_MOUSEWHEEL",
68  "FL_DND_ENTER",
69  "FL_DND_DRAG",
70  "FL_DND_LEAVE",
71  "FL_DND_RELEASE",
72  "FL_SCREEN_CONFIGURATION_CHANGED",
73  "FL_FULLSCREEN",
74  "FL_ZOOM_GESTURE",
75  "FL_ZOOM_EVENT",
76  "FL_EVENT_28", // not yet defined, just in case it /will/ be defined ...
77  "FL_EVENT_29", // not yet defined, just in case it /will/ be defined ...
78  "FL_EVENT_30" // not yet defined, just in case it /will/ be defined ...
79 };
80 
98 const char * const fl_fontnames[] =
99 {
100  "FL_HELVETICA",
101  "FL_HELVETICA_BOLD",
102  "FL_HELVETICA_ITALIC",
103  "FL_HELVETICA_BOLD_ITALIC",
104  "FL_COURIER",
105  "FL_COURIER_BOLD",
106  "FL_COURIER_ITALIC",
107  "FL_COURIER_BOLD_ITALIC",
108  "FL_TIMES",
109  "FL_TIMES_BOLD",
110  "FL_TIMES_ITALIC",
111  "FL_TIMES_BOLD_ITALIC",
112  "FL_SYMBOL",
113  "FL_SCREEN",
114  "FL_SCREEN_BOLD",
115  "FL_ZAPF_DINGBATS",
116 };
117 
123 const char * const fl_callback_reason_names[] =
124 {
125  "FL_REASON_UNKNOWN",
126  "FL_REASON_SELECTED",
127  "FL_REASON_DESELECTED",
128  "FL_REASON_RESELECTED",
129  "FL_REASON_OPENED",
130  "FL_REASON_CLOSED",
131  "FL_REASON_DRAGGED",
132  "FL_REASON_CANCELLED",
133  "FL_REASON_CHANGED",
134  "FL_REASON_GOT_FOCUS",
135  "FL_REASON_LOST_FOCUS",
136  "FL_REASON_RELEASED",
137 };
138 
141 #endif /* FL_NAMES_H */
const char *const fl_callback_reason_names[]
This is an array of callback reason names you can use to convert font numbers into names.
Definition: names.h:123
const char *const fl_fontnames[]
This is an array of font names you can use to convert font numbers into names.
Definition: names.h:98
const char *const fl_eventnames[]
This is an array of event names you can use to convert event numbers into names.
Definition: names.h:46