[racket-dev] Caching rendered icons
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