digitalmars.D.learn - OOP Windows
- "DNewbie" <run3 myopera.com> Jan 15 2012
- Robert Clipsham <robert octarineparrot.com> Jan 16 2012
- bls <bizprac orange.fr> Jan 16 2012
- Andrej Mitrovic <andrej.mitrovich gmail.com> Jan 16 2012
- Andrej Mitrovic <andrej.mitrovich gmail.com> Jan 16 2012
- Andrej Mitrovic <andrej.mitrovich gmail.com> Jan 16 2012
Is there a D version of this type of tutorial? https://www.relisoft.com/win32/index.htm
Jan 15 2012
On 16/01/2012 00:34, DNewbie wrote:Is there a D version of this type of tutorial? https://www.relisoft.com/win32/index.htm
This might be related to what you want: https://github.com/AndrejMitrovic/DWinProgramming -- Robert http://octarineparrot.com/
Jan 16 2012
On 01/16/2012 09:07 AM, Andrej Mitrovic wrote:Oh I thought that tutorial was about MFC/ATL, but it seems to use the regular C API. I might look into this to add it to the DWinProgramming project if it's worthwhile.
I think it is worth a closer look. Especially Bartosz Milewski ActiveObject class. https://www.relisoft.com/win32/active.html OT Andrej The MONO folks are using Cairo to rebuild MS NET System.Drawing and System.Drawing2D. I wonder if this could be an approach for DGUI. I quess my question is : using CAIRO or GDI+ as Graphic engine for DGUI. TIA Bjoern
Jan 16 2012
On 1/16/12, Robert Clipsham <robert octarineparrot.com> wrote:https://github.com/AndrejMitrovic/DWinProgramming
I think he's looking for an OOP approach, that code is basically C translated to D. There are some OOP libraries he can use, like DGUI or DFL. And there are some OOP wrappers for WinAPI somewhere (probably on dsource). Maybe http://pr.stewartsplace.org.uk/d/sdwf/ or http://www.dsource.org/projects/minwin. I think these two might be slightly outdated by now though.
Jan 16 2012
Oh I thought that tutorial was about MFC/ATL, but it seems to use the regular C API. I might look into this to add it to the DWinProgramming project if it's worthwhile.
Jan 16 2012
On 1/16/12, bls <bizprac orange.fr> wrote:I quess my question is : using CAIRO or GDI+ as Graphic engine for DGUI.
Does DGUI intend to become cross-platform at any time? If not, then you could pick whichever system you're used to the most. You wouldn't be limited to just GDI+ if that's what DGUI will use, all you need for Cairo is a backbuffer to draw to which you can later blit to some widget area of DGUI.
Jan 16 2012









bls <bizprac orange.fr> 