> > We also still need someone to implement the screen display routines. That
> > is, drawing of objects onscreen in a fast way and with correct overlapping.
>
> We can use DirectDraw for speed if necessary.

Where can I look at the API for DirectDraw.

> >This could also be started on Windows if the authors create wrappers around
> >Windows data structures and API calls. That means the authors will have to
> >create some classes that enclose and hide any drawing calls and map them to
> >the appropriate Windows calls.
>
> The Microsoft Foundation Classes (heavily built-in Visual C++) provide
> wrapper classes for all win32 functions.

Where can I find these too. I would like to avoid any classes that are compiler
specific. We want to be as portable as possible.

> >Another part of the code should only call
> >these wrappers and be completely platform-independent and perform the
> >actual drawing operations (i.e. drawing a roundRect and a shadowed button
> >overlapping correctly...).
>
> Yeah, that sounds brilliant.  Basically what your saying is that we create
> a back-end of functions (one set identically named for each platform) and
> the main code calls these.

That is the aim. We can probably use a lot of the code from the Whisper
framework to get a lot our back end functions for Windows and Mac. Uli you made
at one stage some classes for the high level API if I remember correctly. Are
you still working on this? If so I would like to review it.

> Dylan

Yay more Australians helping with OpenCard =).

As soon as I can afford to buy VirtualPC I would like to contribute some PC
code. Then we can test it with CodeWarrior and Visual C++ on Windows.

Dylan, do you have a Mac? It would be good if you could look at the mac
executables so we can make sure everything is working the same.

Andre

Reply via email to