gdkglext.pas 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. { GdkGLExt - OpenGL Extension to GDK
  2. Copyright (C) 2002-2004 Naofumi Yasufuku
  3. These Pascal bindings copyright 2005 Michalis Kamburelis
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with this library; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  15. }
  16. { Translated from C header /usr/include/gtkglext-1.0/gdk/gdkgl.h
  17. (this is probably standardized system-wide location
  18. of this header). }
  19. {$mode objfpc}
  20. unit gdkglext;
  21. interface
  22. uses Glib2, Gdk2;
  23. const
  24. GdkGLExtLib =
  25. {$ifdef WIN32} 'libgdkglext-win32-1.0-0.dll'
  26. {$else} 'libgdkglext-x11-1.0.so'
  27. {$endif};
  28. type
  29. {$define read_interface_types}
  30. {$I gdkglext_includes.inc}
  31. {$undef read_interface_types}
  32. {$define read_interface_rest}
  33. {$I gdkglext_includes.inc}
  34. {$undef read_interface_rest}
  35. implementation
  36. {$define read_implementation}
  37. {$I gdkglext_includes.inc}
  38. end.