@@ -0,0 +1,3 @@
+unit Api.Gtk1.Gdk;
+{$DEFINE FPC_DOTTEDUNITS}
+{$i gdk.pp}
+unit Api.Gtk1.Gdkpixbuf;
+{$i gdkpixbuf.pp}
+unit Api.Gtk1.Glib;
+{$i glib.pp}
+unit Api.Gtk1.Gmodule;
+{$i gmodule.pp}
+unit Api.Gtk1.Gtk;
+{$i gtk.pp}
+unit Api.Gtk1.Gtkglarea;
+{$i gtkglarea.pp}
@@ -0,0 +1,14 @@
+src/gtkgl/gtkglarea.pp=namespaced/Api.Gtk1.Gtkglarea.pp
+{s*:src/gtkgl/}=namespaced/
+{i+:src/gtkgl/}
+src/gtk/gtk.pp=namespaced/Api.Gtk1.Gtk.pp
+{s*:src/gtk/}=namespaced/
+{i+:src/gtk/}
+src/glib/gmodule.pp=namespaced/Api.Gtk1.Gmodule.pp
+{s*:src/glib/}=namespaced/
+{i+:src/glib/}
+src/glib/glib.pp=namespaced/Api.Gtk1.Glib.pp
+src/gdk/gdkpixbuf.pp=namespaced/Api.Gtk1.Gdkpixbuf.pp
+{s*:src/gdk/}=namespaced/
+{i+:src/gdk/}
+src/gdk/gdk.pp=namespaced/Api.Gtk1.Gdk.pp
@@ -19,7 +19,9 @@
Boston, MA 02111-1301, USA.
**********************************************************************}
+{$IFNDEF FPC_DOTTEDUNITS}
unit gdk;
+{$ENDIF FPC_DOTTEDUNITS}
interface
{$mode objfpc} { needed for array of const }
@@ -32,8 +34,13 @@ interface
{$endif}
+{$IFDEF FPC_DOTTEDUNITS}
+uses
+ Api.Gtk1.Glib;
+{$ELSE FPC_DOTTEDUNITS}
uses
glib;
{$ifdef win32}
const
@@ -25,7 +25,9 @@
unit gdkpixbuf;
{$ifndef os2}
@@ -59,6 +61,21 @@ interface
{$EndIf}
+Uses
+ Api.Gtk1.Glib,
+ {$IFDef XLIB_SUPPORT}
+ Api.X11.Xlib,
+ {$Else}
+ Api.Gtk1.Gdk
+ {$IFDef GTK_SUPPORT}
+ ,Api.Gtk1.Gtk
+ {$IfDef GNOME_SUPPORT}
+ ,GNOME
+ {$ENDIF}
+ {$ENDIF};
Uses
GLIB,
{$IFDef XLIB_SUPPORT}
@@ -72,6 +89,7 @@ Uses
{$ENDIF}
{$ENDIF};
@@ -18,7 +18,9 @@
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
}
unit glib;
{$mode objfpc}
unit gmodule;
@@ -31,8 +33,13 @@ interface
unit gtk;
{ Always use smartlinking for win32, this solves some undefined functions
+ Api.Gtk1.Glib,Api.Gtk1.Gdk;
glib,gdk;
@@ -22,7 +22,9 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
unit gtkglarea;
{$MODE objfpc}
{$PACKRECORDS C}
@@ -30,8 +32,13 @@ unit gtkglarea;
+ Api.Gtk1.Gdk, Api.Gtk1.Gtk, Api.OpenGL.Gl;
GDK, GTK, GL;
libgtkgl = 'gtkgl';