[racket-dev] Caching rendered icons

From: Neil Toronto (neil.toronto at gmail.com)
Date: Thu Jan 12 13:58:03 EST 2012

On 01/12/2012 11:52 AM, Matthew Flatt wrote:
> At Thu, 12 Jan 2012 11:19:55 -0700, Neil Toronto wrote:
>> 2. Compile time: Provide macros that render icons during expansion and
>> try to store them in the "compiled" directory.
>
> Do you need icons to be in separate files? A macro could expand to a
> byte-string literal, since it's just as easy to generate a bitmap from
> a PNG byte string as from a PNG file.

I don't need them in separate files! That's an awesome idea! Thanks!

Neil T


Posted on the dev mailing list.