View mode: basic / threaded / horizontal-split · Log in · Help
September 18, 2010
splitting class
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
September 18, 2010
Re: splitting class
"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=-
September 19, 2010
Re: splitting class
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.
September 19, 2010
Re: splitting class
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.
Top | Discussion index | About this forum | D home