porting.H 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // "$Id: porting.H 11932 2016-09-11 14:24:36Z manolo $"
  3. //
  4. // Template header file for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 2016 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. // Do not directly include this file, instead use <FL/x.H>.
  19. // These types and variables give access to internal, platform-specific data through the public API.
  20. // They require to include x.H (in contrast to types defined in platform_types.h)
  21. #if !defined(Fl_X_H)
  22. # error "Never use <FL/porting.H> directly; include <FL/x.H> instead."
  23. #endif // !Fl_X_H
  24. typedef void *Window; // used by fl_find(), fl_xid() and class Fl_X
  25. /* Reference to the current device context
  26. For back-compatibility only. The preferred procedure to get this reference is
  27. Fl_Surface_Device::surface()->driver()->gc().
  28. */
  29. extern void *fl_gc;
  30. //
  31. // End of "$Id: porting.H 11932 2016-09-11 14:24:36Z manolo $".
  32. //