FLTK 1.4.0
fl_types.h
Go to the documentation of this file.
1 /*
2  * Simple "C"-style types for the Fast Light Tool Kit (FLTK).
3  *
4  * Copyright 1998-2020 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 
21 #ifndef FL_TYPES_H
22 #define FL_TYPES_H
23 
25  /* group: Miscellaneous */
26 
28 typedef unsigned char uchar;
30 typedef unsigned long ulong;
31 
36 typedef char *Fl_String;
37 
41 typedef const char *Fl_CString;
42 
64 typedef unsigned int Fl_Shortcut;
65 
67 typedef unsigned int Fl_Char;
68  /* group: Miscellaneous */
70 
71 #endif
const char * Fl_CString
Flexible length UTF-8 Unicode read-only string.
Definition: fl_types.h:41
unsigned long ulong
unsigned long
Definition: fl_types.h:30
unsigned int Fl_Char
24-bit Unicode character - upper 8 bits are unused
Definition: fl_types.h:67
char * Fl_String
Flexible length UTF-8 Unicode text.
Definition: fl_types.h:36
unsigned char uchar
unsigned char
Definition: fl_types.h:28
unsigned int Fl_Shortcut
16-bit Unicode character + 8-bit indicator for keyboard flags.
Definition: fl_types.h:64