digitalmars.D - splitting class
- Vince <forumer smartmobili.com> Sep 18 2010
- "Mike James" <foo bar.com> Sep 18 2010
- Stewart Gordon <smjg_1998 yahoo.com> Sep 18 2010
- Kagamin <spam here.lot> Sep 19 2010
Hi, I wanted to know if in D it would be possible to split class implementation as in .NET wit the partial keyword ? This feature is interesting when using ui designer because it can separate your code logic from uninteresting ui declarations. Another question is about gui on windows, do you already have something interesting, I mean better than the raw win32 API ? A gui framework ? If there is nothing I could write some code in that area, I have some idea about wrapping Direct2D or using cairo. Finally from what I can see you have choosen ansi version on Windows API but do you know if supports utf8 ? If not does it mean I will have to use utf16 and convert strings if I want to use the phobos library ? Thanks
Sep 18 2010
"Vince" <forumer smartmobili.com> wrote in message news:i739cj$kp8$1 digitalmars.com...Hi, I wanted to know if in D it would be possible to split class implementation as in .NET wit the partial keyword ? This feature is interesting when using ui designer because it can separate your code logic from uninteresting ui declarations. Another question is about gui on windows, do you already have something interesting, I mean better than the raw win32 API ? A gui framework ? If there is nothing I could write some code in that area, I have some idea about wrapping Direct2D or using cairo. Finally from what I can see you have choosen ansi version on Windows API but do you know if supports utf8 ? If not does it mean I will have to use utf16 and convert strings if I want to use the phobos library ? Thanks
Check out: http://www.digitalmars.com/d/archives/digitalmars/D/partial_class_79031.html#N79031 -=mike=-
Sep 18 2010
On 18/09/2010 22:02, Vince wrote: <snip>Another question is about gui on windows, do you already have something interesting, I mean better than the raw win32 API ? A gui framework ?
http://pr.stewartsplace.org.uk/d/sdwf/ http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries Stewart.
Sep 18 2010
Vince Wrote:I wanted to know if in D it would be possible to split class implementation as in .NET wit the partial keyword ? This feature is interesting when using ui designer because it can separate your code logic from uninteresting ui declarations.
I think, template mixin will do the trick.
Sep 19 2010









"Mike James" <foo bar.com> 