X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/f8d4760af59b280fd8468c5e0b51c419b1e6c533..57fa233bdfb10c242a90e0cde4dba120a5bb38a9:/gdk/gdk.lisp?ds=sidebyside diff --git a/gdk/gdk.lisp b/gdk/gdk.lisp index b9af373..54e63b9 100644 --- a/gdk/gdk.lisp +++ b/gdk/gdk.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gdk.lisp,v 1.45 2007/10/17 18:04:47 espen Exp $ +;; $Id: gdk.lisp,v 1.47 2007/11/14 12:52:32 espen Exp $ (in-package "GDK") @@ -999,22 +999,20 @@ (defbinding %draw-layout () nil (drawable drawable) (gc gc) - (font pango:font) (x int) (y int) (layout pango:layout)) (defbinding %draw-layout-with-colors () nil (drawable drawable) (gc gc) - (font pango:font) (x int) (y int) (layout pango:layout) (foreground (or null color)) (background (or null color))) -(defun draw-layout (drawable gc font x y layout &optional foreground background) +(defun draw-layout (drawable gc x y layout &optional foreground background) (if (or foreground background) - (%draw-layout-with-colors drawable gc font x y layout foreground background) - (%draw-layout drawable gc font x y layout))) + (%draw-layout-with-colors drawable gc x y layout foreground background) + (%draw-layout drawable gc x y layout))) (defbinding draw-drawable (drawable gc src src-x src-y dest-x dest-y &optional width height) nil @@ -1049,7 +1047,7 @@ ;;; Key values -(defbinding keyval-name () string +(defbinding keyval-name () (static string) (keyval unsigned-int)) (defbinding %keyval-from-name () unsigned-int