Re: [AD] support for mod files |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On April 6, 2010, Matthew Leverton wrote:
> On Tue, Apr 6, 2010 at 2:40 PM, Milan Mimica <milan.mimica@xxxxxxxxxx>
wrote:
> > Peter Wang wrote:
> >> On 2010-04-06, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> >>> Anyone care to write a Windows Imaging Component backend?
> >>
> >> GDI+ or something else might be a better choice.
> >
> > I wouldn't know how to implement the *_fp versions with that.
>
> Would implementing an IStream interface work?
>
> Image *img = Image::FromStream(allegroStream, false);
> // convert to allegro bitmap
>
> I can mess around with it if you don't want to. (I've not ever worked
> with GDI+.)
I think it might require a windows specific fshook driver. One that uses
HANDLEs rather than FILEs. Unless Win32 has a way to turn a FILE into a
HANDLE.
> --
> Matthew Leverton
>
> -------------------------------------------------------------------------
> ----- Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx