FLTK: names.h Source File

FLTK

names.h
1 //
2 // "$Id$"
3 //
4 // Event names header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 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
19 // Thanks to Greg Ercolano for this addition.
20
21 #ifndef FL_NAMES_H
22 #define FL_NAMES_H
23
43 const char * const fl_eventnames[] =
44 {
45 "FL_NO_EVENT",
46 "FL_PUSH",
47 "FL_RELEASE",
48 "FL_ENTER",
49 "FL_LEAVE",
50 "FL_DRAG",
51 "FL_FOCUS",
52 "FL_UNFOCUS",
53 "FL_KEYDOWN",
54 "FL_KEYUP",
55 "FL_CLOSE",
56 "FL_MOVE",
57 "FL_SHORTCUT",
58 "FL_DEACTIVATE",
59 "FL_ACTIVATE",
60 "FL_HIDE",
61 "FL_SHOW",
62 "FL_PASTE",
63 "FL_SELECTIONCLEAR",
64 "FL_MOUSEWHEEL",
65 "FL_DND_ENTER",
66 "FL_DND_DRAG",
67 "FL_DND_LEAVE",
68 "FL_DND_RELEASE",
69 "FL_SCREEN_CONFIGURATION_CHANGED",
70 "FL_FULLSCREEN",
71 "FL_ZOOM_GESTURE",
72 "FL_EVENT_27", // not yet defined, just in case they /will/ be defined ...
73 "FL_EVENT_28",
74 "FL_EVENT_29",
75 "FL_EVENT_30"
76 };
77
95 const char * const fl_fontnames[] =
96 {
97 "FL_HELVETICA",
98 "FL_HELVETICA_BOLD",
99 "FL_HELVETICA_ITALIC",
100 "FL_HELVETICA_BOLD_ITALIC",
101 "FL_COURIER",
102 "FL_COURIER_BOLD",
103 "FL_COURIER_ITALIC",
104 "FL_COURIER_BOLD_ITALIC",
105 "FL_TIMES",
106 "FL_TIMES_BOLD",
107 "FL_TIMES_ITALIC",
108 "FL_TIMES_BOLD_ITALIC",
109 "FL_SYMBOL",
110 "FL_SCREEN",
111 "FL_SCREEN_BOLD",
112 "FL_ZAPF_DINGBATS",
113 };
114
117 #endif /* FL_NAMES_H */
118
119 //
120 // End of "$Id$".
121 //
fl_fontnames
const char *const fl_fontnames[]
This is an array of font names you can use to convert font numbers into names.
Definition: names.h:95
fl_eventnames
const char *const fl_eventnames[]
This is an array of event names you can use to convert event numbers into names.
Definition: names.h:43
- © 1998-2016 by Bill Spitzak and others.