1 /* 2 * "$Id$" 3 * 4 * Simple "C"-style types for the Fast Light Tool Kit (FLTK). 5 * 6 * Copyright 1998-2015 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 /** \file 20 * This file contains simple "C"-style type definitions. 21 */ 22 23 #ifndef FL_TYPES_H 24 #define FL_TYPES_H 25 26 /** \name Miscellaneous */ 27 /*@{*/ /* group: Miscellaneous */ 28 29 /** unsigned char */ 30 typedef unsigned char uchar; 31 /** unsigned long */ 32 typedef unsigned long ulong; 33 34 /** Flexible length UTF-8 Unicode text. 35 * 36 * \todo FIXME: temporary (?) typedef to mark UTF-8 and Unicode conversions 37 */ 38 typedef char *Fl_String; 39 40 /** Flexible length UTF-8 Unicode read-only string. 41 * \sa Fl_String 42 */ 43 typedef const char *Fl_CString; 44 45 /** 24-bit Unicode character + 8-bit indicator for keyboard flags */ 46 typedef unsigned int Fl_Shortcut; 47 48 /** 24-bit Unicode character - upper 8 bits are unused */ 49 typedef unsigned int Fl_Char; 50 51 /*@}*/ /* group: Miscellaneous */ 52 53 #endif 54 55 /* 56 * End of "$Id$". 57 */ 58