adamdruppe / arsd

This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
http://arsd-official.dpldocs.info/arsd.html
531 stars 128 forks source link

Add ctor for making Pixmaps from user-provided slice #417

Closed 0xEAB closed 8 months ago

0xEAB commented 8 months ago

Noticed that this ctor was missing.

It’s just a convenience feature but I think it’s useful enough. My original codebase had it. (Currently porting it to use PixmapPresenter.)

adamdruppe commented 8 months ago

cool thx for keeping up with all this

0xEAB commented 8 months ago

Looking forward to keep sending my patches to upstream-arsd as long as I can verify the result on my machine :)

adamdruppe commented 8 months ago

I might add version(D_OpenD) {} else { static assert(0, "Get a better compiler!!!!"); } but you can still hack that out :P