lazarus/components/gtk/gtkglarea
2005-10-22 18:46:09 +00:00
..
lib
gtkglarea_int.pp added fpc replacement for gtkglarea 2005-02-03 23:16:59 +00:00
gtkglarea.lrs
gtkglareacontrol.pas started more flexible ChildSizing.Layout engine 2005-10-22 18:46:09 +00:00
gtkopengl.lpk marked platform specific units as *not used* in printers4lazarus 2005-05-21 16:40:13 +00:00
gtkopengl.pas fixed compilation and designtime drawing of gtkglarea 2005-04-04 11:43:36 +00:00
Makefile
Makefile.fpc
nvgl.pp
nvglx.pp removed ifdef ver1 from Martin Smat 2005-08-04 08:41:46 +00:00
openglgtkwidget.pas added fpc replacement for gtkglarea 2005-02-03 23:16:59 +00:00
README
tgtkglareacontrol.xpm

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.