FLTK native in 'D'. Would that be useful?

John Reimer terminal.node at gmail.com
Fri Jul 28 10:43:01 PDT 2006

On Thu, 27 Jul 2006 23:36:22 -0700, MatthiasM <dm at matthiasm.com> wrote:

> John Reimer wrote:
>>>    C++:           D:
>>>    Fl_Window  ->  fl.Window (or just Window, if no name conflict)
>>>    Fl_Group   ->  fl.Group
>>>    fl_draw()  ->  fl.draw()
>>  # // import all symbols in gui.fl.window module into the 'fl' namespace
>> #
>> # import fl = gui.fl.window;
> JJR, that's just what I need.
> I have decided to port the code literally first. After all, I need to  
> maintain the C++ and D version now. As soon as the literal port id  
> working flawlessly, I'll pick up on the Fl_ prefix issue and possibly  
> remove the Fl_ for both the C++ and D version and keep them compatible.
> I'll set that as a general rule for myself: first a complete port, the  
> improve on it. Otherwise, I'll lose track.
> Matthias

Sounds great, Matthias. I understand. :)


More information about the Digitalmars-d-dwt mailing list