[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: puzzle.el.
From: |
Kevin Rodgers |
Subject: |
Re: puzzle.el. |
Date: |
Mon, 19 Jul 2004 11:40:39 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Matt Hodges wrote:
> In the code, I create a blank image with the following:
>
> (create-image "" 'xpm nil :width (/ width puzzle-columns)
> :height (/ height puzzle-rows))
>
> which does what I want, but complains with:
>
> Cannot find image file `'
>
> which seems fair enough. Is there a better way to do this?
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))
--
Kevin Rodgers
- Re: puzzle.el., (continued)
- Re: puzzle.el., Kim F. Storm, 2004/07/19
- Re: puzzle.el., Matt Hodges, 2004/07/19
- Re: puzzle.el., Richard Stallman, 2004/07/19
- Re: puzzle.el., Kim F. Storm, 2004/07/21
- Re: puzzle.el., Miles Bader, 2004/07/21
- Re: puzzle.el., Miles Bader, 2004/07/22
- Re: puzzle.el., Richard Stallman, 2004/07/22
- Re: puzzle.el., David Kastrup, 2004/07/22
Re: puzzle.el.,
Kevin Rodgers <=