View mode: basic / threaded / horizontal-split · Log in · Help
February 08, 2006
Current status of DWT win32 (v0.35)
The Current DWT win32 port is compliant with SWT 3.02.


The following parts implemented, not fully tested.

Native Widgets:(Platform specified)
Button,Canvas,Combo,Composite,CoolBar,Group,Label,
ProgressBar,Sash,Scale,ScrollBar,Shell,Slider,TabFolder,
Text,ToolBar,Tracker,Tray,Tree

Dialogs:(Platform specified)
ColorDialog,DirectoryDialog,FileDialog,FontDialog,PrintDialog

Custom Widgets:(Platform in-dependent)
CBanner,CCombo,CLabel,CTabFolder,SashForm

Layout Manager:(Platform in-dependent)
FillLayout,FormLayout,GridLayout,RowLayout,StackLayout

Browser:(COM OLE based)
Partially workable

Drag Drop:(COM OLE based)
implemented, not fully tested


The following parts can't work or not implemented:
StyledText, can't work
Spin,Link imported in SWT 3.1
February 08, 2006
Re: Current status of DWT win32 (v0.35)
"Shawn Liu" <shawn666.liu@gmail.com> wrote in message 
news:dscren$1h7r$1@digitaldaemon.com...
> The Current DWT win32 port is compliant with SWT 3.02.

Thanks for all your hard work on this. Any thoughts on the Linux and Mac OSX 
versions?
February 10, 2006
Re: Current status of DWT win32 (v0.35)
"Walter Bright" <newshound@digitalmars.com> дÈëÏûÏ¢ÐÂÎÅ:dsdn6t$289j$4@digitaldaemon.com...
>
> "Shawn Liu" <shawn666.liu@gmail.com> wrote in message 
> news:dscren$1h7r$1@digitaldaemon.com...
>> The Current DWT win32 port is compliant with SWT 3.02.
>
> Thanks for all your hard work on this. Any thoughts on the Linux and Mac 
> OSX versions?
>

I think an automation will be the right way, as Kris said. At least for a 
pre-translation. This will save a lot workload. But I don't think it is easy 
to make such an intelligent converter. I suspect we need several converters 
for different platforms, since there may be some OS specified 
implementation. After a pre-translation is done, we need refine the code and 
make it workable. I have no programming experience on Mac OSX and Linux. But 
since there are some common approaches on both platforms, the experience on 
Win32 will still be helpful. Volunteers are welcome to help us.

A general Java to D converter will be very important and helpful. Java is 
far easy to be translated to D than C++. A translator will help us port 
those excellent java projects.
Currently I think a lot of JFace and Draw2D.
JFace is wrapper of SWT for common UI programming tasks. It will make GUI 
programming easier.
http://wiki.eclipse.org/index.php/JFace

Draw2d is a lightweight toolkit of graphical components. It is used to make 
high performance graphics application such as GUI builder, UML editor.
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.draw2d.doc.isv/guide/overview.html
http://www.eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2d.html

Both are based on SWT and window-system-independent in both their API and 
implementation. They are very suitable for auto-translation.

Just my thoughts.
February 10, 2006
Re: Current status of DWT win32 (v0.35)
"Shawn Liu" <shawn666.liu@gmail.com> wrote in message 
news:dscren$1h7r$1@digitaldaemon.com...
> The Current DWT win32 port is compliant with SWT 3.02.

Can you put all the documentation for it online in html format? I use Ddoc 
to generate the D web site pages, it would be nice if DWT was the same way.
February 11, 2006
Re: Current status of DWT win32 (v0.35)
Walter Bright wrote:
> "Shawn Liu" <shawn666.liu@gmail.com> wrote in message 
> news:dscren$1h7r$1@digitaldaemon.com...
>> The Current DWT win32 port is compliant with SWT 3.02.
> 
> Can you put all the documentation for it online in html format? I use Ddoc 
> to generate the D web site pages, it would be nice if DWT was the same way. 
> 
> 
We are using the docs from SWT...
Top | Discussion index | About this forum | D home