emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: puzzle.el.


From: Matt Hodges
Subject: Re: puzzle.el.
Date: Mon, 19 Jul 2004 20:04:28 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

>>>>> Kevin Rodgers writes:

 > According to create-image's doc string:
 > | Optional DATA-P non-nil means FILE-OR-DATA is a string containing
 > | image data.

 > the DATAP argument should be non-nil:

 >      (create-image "" 'xpm t :width (/ width puzzle-columns)
 >                              :height (/ height puzzle-rows))

 > or maybe you could specify an empty file:

 >      (create-image null-device 'xpm nil :width (/ width puzzle-columns)
 >                                         :height (/ height puzzle-rows))

These also work, but with "Invalid XPM file..." messages.

The XPM format is so simple that I could just generate what I need on
the fly, if I really don't want to see such messages, or if I find
that the above doesn't actually work under certain circumstances.

Thanks,

Matt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]