www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - splitting class

reply Vince <forumer smartmobili.com> writes:
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
next sibling parent "Mike James" <foo bar.com> writes:
"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
prev sibling next sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
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 ?
<snip> http://pr.stewartsplace.org.uk/d/sdwf/ http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries Stewart.
Sep 18 2010
prev sibling parent Kagamin <spam here.lot> writes:
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