www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GUI library for Win32

reply "Andreas Schmid" <monkey gmx.info> writes:
Hi,

What are the best cross-platform and Win32 GUI libraries for D?

-Andreas 
Apr 17 2005
next sibling parent =?ISO-8859-1?Q?Val=E9ry?= <valery freesurf.fr> writes:
http://www.prowiki.org/wiki4d/wiki.cgi?AvailableGuiLibraries
Cross-platform GUIs are DUI (bindings to GTK), WxD (bindgins to 
WxWidgets) and MinWin (native D GUI).

Andreas Schmid a écrit :
 Hi,
 
 What are the best cross-platform and Win32 GUI libraries for D?
 
 -Andreas 
 
 

Apr 17 2005
prev sibling next sibling parent Derek Parnell <derek psych.ward> writes:
On Sun, 17 Apr 2005 13:04:41 +0200, Andreas Schmid wrote:

 Hi,
 
 What are the best ... Win32 GUI libraries for D?

Mine! Except I haven't written it yet ;-) Just kidding, but I do have a fairly good Win32 GUI library but I haven't ported it to D yet. Its on my long-term TODO list. Sorry I can't help you just yet. -- Derek Parnell Melbourne, Australia http://www.dsource.org/projects/build 17/04/2005 9:18:41 PM
Apr 17 2005
prev sibling next sibling parent reply "Andrew Fedoniouk" <news terrainformatica.com> writes:
Screenshot so far http://www.terrainformatica.com/screenshots/smileui.png. 
:)

It got a name: "Harmonia" or Harmonia framework

( Harmonia as Phobos and Deimos was a kid of Ares/Mars. BTW: This guy was so 
productive.... )

It has only win32 port so far but it is highly portable: it uses around 30 
functions which
use underlying OS resourses and they are located in separate native package 
in four files
native.application, native.graphics, native.exchange, native.window. All 
native functions
use 'native' prefix, e.g.  nativeSetCursor(CursorType ct);

Architecture and main goals:
1) Clear and classic class hierarchy (close to initial Java AWT)
2) Capture/bubble event propagation schema ( used in HTML event model 
http://catcode.com/domcontent/events/capture.html) which allows
to create extremely compact and clean event handling.
3) Builtin compact and fast (in fact very fast) HTML engine. HTML used
as universal layout manager, renderer and resource definition framework:
e.g. dailogs, tooltips are entities defined by HTML.
4) Themeable - means that rendering style - colors, fonts, etc. are strongly
separated from interaction and logic code. On the screenshot is a rendering
of Harmonia default "Pathfinder theme" (themes/pathfinder.d, inspired by 
color gamma of shots
taken by Mars Pathinder crawlers)
5) It does not use native OS widgets. Everything: menus, dialogs, controls, 
etc. are under
the Harmonia control and are subjects of themeable styling. It is windowless 
framework,
means it is use only OS toplevel window frames. Everything inside is 
"harmonised".
This approach is highly usefull for creating modern web style (but 
lightwight!) UI
and in games.

Stay tuned.

If somebody is interested in it right now - let me know - I'll provide a 
link to our SVN server.
At this stage it is nice to have someone who familiar with MacOSX GUI 
programming stuff.
There are also some basic widgets left e.g. grid control. If somebody will 
want to try himself
in this - drop me message.

Andrew.
http://terrainformatica.com




"Andreas Schmid" <monkey gmx.info> wrote in message 
news:d3tfs4$1gm8$1 digitaldaemon.com...
 Hi,

 What are the best cross-platform and Win32 GUI libraries for D?

 -Andreas
 

Apr 17 2005
next sibling parent "Andreas Schmid" <monkey gmx.info> writes:
Wow! Cool! Looks very interesting! I'd like to have access to a preview 
release :-)

-Andreas

"Andrew Fedoniouk" <news terrainformatica.com> wrote in message 
news:d3u7tq$2470$1 digitaldaemon.com...
 Screenshot so far http://www.terrainformatica.com/screenshots/smileui.png. 
 :)

 It got a name: "Harmonia" or Harmonia framework

 ( Harmonia as Phobos and Deimos was a kid of Ares/Mars. BTW: This guy was 
 so productive.... )

 It has only win32 port so far but it is highly portable: it uses around 30 
 functions which
 use underlying OS resourses and they are located in separate native 
 package in four files
 native.application, native.graphics, native.exchange, native.window. All 
 native functions
 use 'native' prefix, e.g.  nativeSetCursor(CursorType ct);

 Architecture and main goals:
 1) Clear and classic class hierarchy (close to initial Java AWT)
 2) Capture/bubble event propagation schema ( used in HTML event model 
 http://catcode.com/domcontent/events/capture.html) which allows
 to create extremely compact and clean event handling.
 3) Builtin compact and fast (in fact very fast) HTML engine. HTML used
 as universal layout manager, renderer and resource definition framework:
 e.g. dailogs, tooltips are entities defined by HTML.
 4) Themeable - means that rendering style - colors, fonts, etc. are 
 strongly
 separated from interaction and logic code. On the screenshot is a 
 rendering
 of Harmonia default "Pathfinder theme" (themes/pathfinder.d, inspired by 
 color gamma of shots
 taken by Mars Pathinder crawlers)
 5) It does not use native OS widgets. Everything: menus, dialogs, 
 controls, etc. are under
 the Harmonia control and are subjects of themeable styling. It is 
 windowless framework,
 means it is use only OS toplevel window frames. Everything inside is 
 "harmonised".
 This approach is highly usefull for creating modern web style (but 
 lightwight!) UI
 and in games.

 Stay tuned.

 If somebody is interested in it right now - let me know - I'll provide a 
 link to our SVN server.
 At this stage it is nice to have someone who familiar with MacOSX GUI 
 programming stuff.
 There are also some basic widgets left e.g. grid control. If somebody will 
 want to try himself
 in this - drop me message.

 Andrew.
 http://terrainformatica.com




 "Andreas Schmid" <monkey gmx.info> wrote in message 
 news:d3tfs4$1gm8$1 digitaldaemon.com...
 Hi,

 What are the best cross-platform and Win32 GUI libraries for D?

 -Andreas


Apr 17 2005
prev sibling parent reply "Andrew Fedoniouk" <news terrainformatica.com> writes:
Here is the demo I've got so far
http://www.terrainformatica.com/screenshots/HarmoniaDemo.zip

It contains exe (374 KB - full framework including HTML engine, libpng, 
libjpg, zlib)
and main D file (attached).

Screenshot of the demo I've published in previous post.

Symptoms: on one of testing machines sometimes appears "black screen". In 
one second
screen restores. Might happen after exiting from the app. Whould be nice if
someone could try it - is it mine or just video card?

Andrew.
Apr 18 2005
parent reply Manfred Nowak <svv1999 hotmail.com> writes:
"Andrew Fedoniouk" <news terrainformatica.com> wrote:
[...]
 Might happen after exiting from the app. Whould
 be nice if someone could try it - is it mine or just video card?

No problems here. -manfred
Apr 20 2005
parent "Andrew Fedoniouk" <news terrainformatica.com> writes:
Thanks a lot , Manfred.
Seems like video card.

"Manfred Nowak" <svv1999 hotmail.com> wrote in message 
news:d45clj$2rul$1 digitaldaemon.com...
 "Andrew Fedoniouk" <news terrainformatica.com> wrote:
 [...]
 Might happen after exiting from the app. Whould
 be nice if someone could try it - is it mine or just video card?

No problems here. -manfred

Apr 20 2005
prev sibling next sibling parent reply Shawn Liu <Shawn_member pathlink.com> writes:
In article <d3tfs4$1gm8$1 digitaldaemon.com>, Andreas Schmid says...
Hi,

What are the best cross-platform and Win32 GUI libraries for D?

-Andreas 

Library. This project is on the way. screenshot : http://www.dnaic.com/d/img/dummyeclipse.png binary sample : http://www.dnaic.com/d/download/dummyeclipse.exe.rar forum : http://www.dsource.org/forums/viewtopic.php?t=737 Shawn Liu
Apr 17 2005
parent reply John Reimer <John_member pathlink.com> writes:
In article <d3vg71$6su$1 digitaldaemon.com>, Shawn Liu says...
In article <d3tfs4$1gm8$1 digitaldaemon.com>, Andreas Schmid says...
Hi,

What are the best cross-platform and Win32 GUI libraries for D?

-Andreas 

Library. This project is on the way. screenshot : http://www.dnaic.com/d/img/dummyeclipse.png binary sample : http://www.dnaic.com/d/download/dummyeclipse.exe.rar forum : http://www.dsource.org/forums/viewtopic.php?t=737 Shawn Liu

I'm eager to test these out, Shawn. But the site is too slow to download anything from. Good to see such impressive improvements to DWT, though. You certainly took DWT the rest of the way. Congrats! -JJR
Apr 17 2005
parent reply Shawn Liu <Shawn_member pathlink.com> writes:
This example app is a sample of "CloudGarden's Jigloo SWT/Swing GUI Builder" for
Eclipse. I ported it from java to D using DWT. But not very consummate. The Tree
control displays chars in a wrong way and refuse mouse click. The bitmap mask
failed and came with a white background. And the app is not stable, sometime
cause an "Access Violation" error....

Actually, the DWT project is too big. Development and maintance are not easy.
There is a long way to go. 

But I think this is a begining we can write simple DWT apps.

Maybe brad can help us merge the source to SVN server.


Shawn
Apr 17 2005
parent reply "Andreas Schmid" <monkey gmx.info> writes:
Does DWT allow you to natively compile SWT code without the dependency on 
the Java VM?

-Andreas

"Shawn Liu" <Shawn_member pathlink.com> wrote in message 
news:d3vl3k$ao2$1 digitaldaemon.com...
 This example app is a sample of "CloudGarden's Jigloo SWT/Swing GUI 
 Builder" for
 Eclipse. I ported it from java to D using DWT. But not very consummate. 
 The Tree
 control displays chars in a wrong way and refuse mouse click. The bitmap 
 mask
 failed and came with a white background. And the app is not stable, 
 sometime
 cause an "Access Violation" error....

 Actually, the DWT project is too big. Development and maintance are not 
 easy.
 There is a long way to go.

 But I think this is a begining we can write simple DWT apps.

 Maybe brad can help us merge the source to SVN server.


 Shawn

 

Apr 18 2005
parent reply Shawn Liu <Shawn_member pathlink.com> writes:
In article <d3voka$f1s$1 digitaldaemon.com>, Andreas Schmid says...
Does DWT allow you to natively compile SWT code without the dependency on 
the Java VM?

-Andreas

No java VM. No SWT code, but DWT code. All java files of SWT are translated to D. The API name is identical (Some getter/setter may be changed to D properties in the future)
Apr 18 2005
parent "Andreas Schmid" <monkey gmx.info> writes:
Of course. So DWT is not a binding or wrapper, but a translation of the SWT 
source code to D source code?

"Shawn Liu" <Shawn_member pathlink.com> wrote in message 
news:d3vqsn$h41$1 digitaldaemon.com...
 In article <d3voka$f1s$1 digitaldaemon.com>, Andreas Schmid says...
Does DWT allow you to natively compile SWT code without the dependency on
the Java VM?

-Andreas

No java VM. No SWT code, but DWT code. All java files of SWT are translated to D. The API name is identical (Some getter/setter may be changed to D properties in the future)

Apr 18 2005
prev sibling next sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Andreas Schmid wrote:
 Hi,
 
 What are the best cross-platform and Win32 GUI libraries for D?

Cross-platform: I believe DUI is the most developed of them, but whether that means it's better than MinWin I don't know. Win32: SDWF is quite a decent one, at least for my purposes http://smjg.port5.com/pr/d/sdwf/ (Watch also the digitalmars.D.announce space for the next week or two....) Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 18 2005
prev sibling parent reply Joshua Cearley <jtech ezoob.com> writes:
You may be interested in the Crystal Widgets Library at some point in 
the future. CWL is a project BlackCrystal is working on to basically 
make the equivalent of the JDK for D except very modular and extremely 
easy to use.

Its not out yet though; it wont be for a while. Just thought I'd take 
the time to mention it :)
--
Joshua Cearley
BlackCrystal Software
"Making dreams reality"
Apr 18 2005
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Joshua Cearley wrote:
 You may be interested in the Crystal Widgets Library at some point in 
 the future. CWL is a project BlackCrystal is working on to basically 
 make the equivalent of the JDK for D except very modular and extremely 
 easy to use.

Equivalent of the JDK? That's the DMD package, surely? Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 19 2005
parent reply Joshua Cearley <jtech ezoob.com> writes:
Stewart Gordon wrote:
<snippage/>
 Equivalent of the JDK?  That's the DMD package, surely?

No not the standard library. The JDK gives you a lot of stuff in the library such as GUIs, some nice drawing stuff, and a few trinkets like compression streams, etc. Thats what CWL is going to be, a toolkit you can take modules out and use (or the entire thing if you want) so you could build anything from a 3D Game to a business app with extreme ease.
Apr 19 2005
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Joshua Cearley wrote:
 Stewart Gordon wrote:
 <snippage/>
 
 Equivalent of the JDK?  That's the DMD package, surely?

<snipped/> No not the standard library. The JDK gives you a lot of stuff in the library such as GUIs, some nice drawing stuff, and a few trinkets like compression streams, etc.

How does one tell which parts of the JDK library aren't part of the Java standard library? Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 20 2005
parent reply xs0 <xs0 xs0.com> writes:
Stewart Gordon wrote:
 Joshua Cearley wrote:
 
 Stewart Gordon wrote:
 <snippage/>

 Equivalent of the JDK?  That's the DMD package, surely?

<snipped/> No not the standard library. The JDK gives you a lot of stuff in the library such as GUIs, some nice drawing stuff, and a few trinkets like compression streams, etc.

<snip> How does one tell which parts of the JDK library aren't part of the Java standard library? Stewart.

http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html I guess everything there is standard Java library.. xs0
Apr 20 2005
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
xs0 wrote:
 Stewart Gordon wrote:

 How does one tell which parts of the JDK library aren't part of the 
 Java standard library?

 Stewart.

http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html I guess everything there is standard Java library..

If that's the case, then the DMD package _is_ the equivalent of JDK. I.e. JDK (J2SDK, whatever the current name is) consists of the Java compiler, related tools and Java standard library; the DMD package consists of DMD itself, related tools and D standard library. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 20 2005
parent Joshua Cearley <jtech ezoob.com> writes:
I was talking about being the JDK feature wise but... apparently this 
has springed a weird discussion...

-JC
Apr 20 2005