fl_types.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * "$Id: fl_types.h 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. *
  4. * Simple "C"-style types 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. /** \file
  19. * This file contains simple "C"-style type definitions.
  20. */
  21. #ifndef FL_TYPES_H
  22. #define FL_TYPES_H
  23. /** \name Miscellaneous */
  24. /*@{*/ /* group: Miscellaneous */
  25. /** unsigned char */
  26. typedef unsigned char uchar;
  27. /** unsigned long */
  28. typedef unsigned long ulong;
  29. /** Flexible length utf8 Unicode text
  30. *
  31. * \todo FIXME: temporary (?) typedef to mark UTF8 and Unicode conversions
  32. */
  33. typedef char *Fl_String;
  34. /** Flexible length utf8 Unicode read-only string
  35. * \sa Fl_String
  36. */
  37. typedef const char *Fl_CString;
  38. /** 24-bit Unicode character + 8-bit indicator for keyboard flags */
  39. typedef unsigned int Fl_Shortcut;
  40. /** 24-bit Unicode character - upper 8-bits are unused */
  41. typedef unsigned int Fl_Char;
  42. /*@}*/ /* group: Miscellaneous */
  43. #endif
  44. /*
  45. * End of "$Id: fl_types.h 8864 2011-07-19 04:49:30Z greg.ercolano $".
  46. */