Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16797/gtk/Graphics/UI/Gtk/Gdk Modified Files: DrawWindow.hs Drawable.chs.pp Enums.chs Events.hsc GC.chs Gdk.chs Keys.chs Pixbuf.chs Region.chs.pp Log Message: For all gtk modules: tidy up module headers and re-licence from GPL to LGPL 2.1 Also add haddock maintainer, stability and portability fields. Index: DrawWindow.hs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/DrawWindow.hs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- DrawWindow.hs 8 Jan 2005 15:18:36 -0000 1.1 +++ DrawWindow.hs 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,24 +1,28 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) DrawWindow -- -- Author : Axel Simon +-- -- Created: 5 November 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2002 Axel Simon +-- Copyright (C) 2002-2005 Axel Simon -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- A primitive window. -- Index: GC.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/GC.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GC.chs 8 Jan 2005 15:18:00 -0000 1.1 +++ GC.chs 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,29 +1,33 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) GC -- -- Author : Axel Simon +-- -- Created: 28 September 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2002 Axel Simon +-- Copyright (C) 2002-2005 Axel Simon -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- Graphics contexts. -- --- * This module Graphics.UI.Gtk.Gdk.supplies graphics contexts (GCs) which are a convenient way --- to pass attributes to drawing functions. +-- * This module Graphics.UI.Gtk.Gdk.supplies graphics contexts (GCs) which +-- are a convenient way to pass attributes to drawing functions. -- module Graphics.UI.Gtk.Gdk.GC ( GC, Index: Gdk.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Gdk.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Gdk.chs 8 Jan 2005 15:18:00 -0000 1.1 +++ Gdk.chs 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,24 +1,28 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) Gdk -- -- Author : Jens Petersen <pet...@ha...> --- Created: 2003-06-06 +-- +-- Created: 6 June 2003 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2003 Jens-Ulrik Holger Petersen +-- Copyright (C) 2003-2005 Jens-Ulrik Holger Petersen -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- Gdk general functions. -- Index: Keys.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Keys.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Keys.chs 8 Jan 2005 15:18:00 -0000 1.1 +++ Keys.chs 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,24 +1,28 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) Keys -- -- Author : Jens Petersen +-- -- Created: 24 May 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2002 Jens Petersen +-- Copyright (C) 2002-2005 Jens Petersen -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- Gdk keyval functions. -- Index: Drawable.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Drawable.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Drawable.chs.pp 8 Jan 2005 15:18:36 -0000 1.1 +++ Drawable.chs.pp 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,25 +1,28 @@ -{-# OPTIONS -cpp #-} --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) Drawable -- -- Author : Axel Simon +-- -- Created: 22 September 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2002 Axel Simon +-- Copyright (C) 2002-2005 Axel Simon -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- Drawing primitives. -- Index: Region.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Region.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Region.chs.pp 8 Jan 2005 15:18:36 -0000 1.1 +++ Region.chs.pp 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,24 +1,28 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) Region -- -- Author : Axel Simon +-- -- Created: 22 September 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2002 Axel Simon +-- Copyright (C) 2002-2005 Axel Simon -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- A set of rectangles describing areas to be redrawn. -- Index: Pixbuf.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Pixbuf.chs 8 Jan 2005 15:17:26 -0000 1.1 +++ Pixbuf.chs 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,24 +1,28 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) Pixbuf -- -- Author : Vincenzo Ciancia, Axel Simon +-- -- Created: 26 March 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 2002 Axel Simon +-- Copyright (C) 2002-2005 Axel Simon, Vincenzo Ciancia -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- 'Pixbuf's are bitmap images in memory. -- @@ -284,13 +288,13 @@ -- @echo #include \"my_image.h\" > my_image.c@ -- gdk-pixbuf-csource --raw --extern --name=my_image myimage.png >> my_image.c -- on it. Write a header file @my_image.h@ containing: --- @#include <gdk\/gdk.h> +-- @#include <gdk\gdk.h> -- extern guint8 my_image\[\];@ -- and save it in the current directory. -- The created file can be compiled with: -- @cc -c my_image.c \`pkg-config --cflags gdk-2.0\`@ -- into an object file which must be linked into your Haskell program by --- specifying @my_image.o@ and @"-#include my_image.h"@ on +-- specifying @my_image.o@ and @\"-#include my_image.h\"@ on -- the command line of GHC. -- Within you application you delcare a pointer to this image: -- @foreign label \"my_image\" myImage :: Ptr InlineImage@ Index: Events.hsc =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Events.hsc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Events.hsc 8 Jan 2005 15:17:26 -0000 1.1 +++ Events.hsc 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,27 +1,29 @@ -- -*-haskell-*- --- GIMP Toolkit (GTK) Datastructure +-- GIMP Toolkit (GTK) GDK Events -- -- Author : Axel Simon --- +-- -- Created: 27 April 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 2001-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- - module Graphics.UI.Gtk.Gdk.Events ( Modifier, -- a mask of control keys -- tests for a specific control key Index: Enums.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Gdk/Enums.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Enums.chs 8 Jan 2005 15:18:00 -0000 1.1 +++ Enums.chs 12 Feb 2005 17:19:22 -0000 1.2 @@ -1,24 +1,28 @@ --- -*-haskell-*- +-- -*-haskell-*- -- GIMP Toolkit (GTK) Enumerations -- -- Author : Manuel M. T. Chakravarty, Axel Simon +-- -- Created: 13 Januar 1999 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) [1999..2001] Manuel M. T. Chakravarty +-- Copyright (C) 1999-2005 Manuel M. T. Chakravarty, Axel Simon -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- General enumeration types. -- |