lazarus/components/gtk/gtkglarea
mattias b1eea0db5a fixed gtkopengl package
git-svn-id: trunk@4627 -
2003-09-15 15:09:01 +00:00
..
lib added package gtkopengl 2002-08-18 08:56:41 +00:00
gtkglarea_int.pp added package gtkopengl 2002-08-18 08:56:41 +00:00
gtkglarea.lrs added package gtkopengl 2002-08-18 08:56:41 +00:00
gtkglarea.pp fixed build ide clean 2003-05-12 10:46:01 +00:00
gtkopengl.lpk fixed gtkopengl package 2003-09-15 15:09:01 +00:00
gtkopengl.pas added a help and a more button tot he package editor 2003-05-28 21:16:47 +00:00
Makefile increased version to 0.9.0 beta 2003-06-05 15:53:30 +00:00
Makefile.fpc increased version to 0.9.0 beta 2003-06-05 15:53:30 +00:00
nvgl.pp updated nvgl 2003-09-12 08:40:09 +00:00
nvglx.pp updated nvgl 2003-09-12 08:40:09 +00:00
README added BSD linking note 2003-08-25 16:22:47 +00:00
tgtkglareacontrol.xpm added package gtkopengl 2002-08-18 08:56:41 +00:00

Package GtkOpenGL

Contains the lcl component TGTKGLAreaControl, which wraps the gtkglarea, a
gtk widget for opengl. This component works only with the gtk interface.

There is an example in examples/gtkglarea/.


WARNINGS and HINTS:

Make sure your program links to libgtkgl, not to libgtkgl-2.0. Linking to
libgtkgl-2.0 will result in mixing gtk1 and gtk2 in your program/IDE, which
will result in al kinds of strange errors, including freezing your
windowmanager.
You can find out, what libs were linked to your program with the ldd program:

[]$ ldd yourprogram


For *BSD:

In the fpc file dllfuncs.pp all external functions link to lib dl.

These functions are in libc under *BSD, so should read
external lib "c" for FreeBSD. If you don't, building lazarus will bomb
out with a "can't find lib -ldl" error while linking.

Fixed compiled units working with 1.0.10 are in

http://www.stack.nl/~marcov/openglfreebsd.tar.gz



ToDo:
Add an example using the package.