From: <ju...@us...> - 2003-07-03 05:19:39
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/gdk In directory sc8-pr-cvs1:/tmp/cvs-serv7385/gtk/gdk Modified Files: Drawable.chs Added Files: Gdk.chs Log Message: 2003-07-03 Jens Petersen <pet...@ha...> * mogul/Makefile (INSTALLDIR): Set to mogul, so that mogul gets installed in its own subdir. * gtk/layout/Notebook.chs (notebookGetNPages): New function. Export it. * gtk/general/Gtk.hs: Import and re-export Gdk. * gtk/gdk/Gdk.chs: New module for gdk.h. Currently just provides beep. * gtk/gdk/Drawable.chs (drawPixbuf): Doc fix: s/arg src/arg pb/. * gtk/Makefile: Define Pixbuf-HEADER and Gdk-HEADER. * gtk2hs.spec.in (Requires): Require ghc5. Post and preun require ghc-pkg. (build): Configure --with-hc. (preun): Ignore package removal errors. * configure.in: --with-hc no longer requires a full-path, when requested compiler is in path. When looking for HOpenGL pass "-l" to ghc-pkg, since "--list-packages" confuses ghc-pkg-6.0 built with ghc5. * VERSION: Bump version to 0.9.3.50. * Makefile (dist): LN already includes the "-s" option. --- NEW FILE: Gdk.chs --- -- -*-haskell-*- -- GIMP Toolkit (GTK) @Gdk@ -- -- Author : Jens Petersen <pet...@ha...> -- Created: 2003-06-06 -- -- Version $Revision: 1.1 $ from $Date: 2003/07/03 05:19:36 $ -- -- Copyright (c) 2003 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 -- License as published by the Free Software Foundation; either -- version 2 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. -- -- @description@ -------------------------------------------------------------- -- -- Gdk general functions. -- -- @documentation@ ------------------------------------------------------------ -- -- -- @todo@ --------------------------------------------------------------------- -- -- * Documentation -- module Gdk(beep) where {#context lib="libgdk" prefix ="gdk"#} beep :: IO () beep = {#call beep#} Index: Drawable.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/gdk/Drawable.chs,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Drawable.chs 16 May 2003 18:45:23 -0000 1.5 +++ Drawable.chs 3 Jul 2003 05:19:36 -0000 1.6 @@ -180,7 +180,7 @@ -- @ref arg srcWidth@ and @ref arg srcHeight@ specify what part of the -- @ref data Pixbuf@ should be rendered. The latter two values may be -- @literal -1@ in which case the width and height are taken from --- @ref arg src@. The image is placed at @ref arg destX@, @ref arg destY@. +-- @ref arg pb@. The image is placed at @ref arg destX@, @ref arg destY@. -- If you render parts of an image at a time, set @ref arg ditherX@ and -- @ref arg ditherY@ to the origin of the image you are rendering. -- |