FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Announcement: DWT windows version 0.3 update 2 (v0.32)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DWT
View previous topic :: View next topic  
Author Message
Shawn Liu



Joined: 09 Mar 2005
Posts: 104
Location: Shanghai, China

PostPosted: Wed Nov 16, 2005 12:08 pm    Post subject: Announcement: DWT windows version 0.3 update 2 (v0.32) Reply with quote

DWT windows version 0.3 update 2 (v0.32)

Download it here
http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar


version 0.32:
---------------------------------------------------------------
1) Change the name of modules and libraries to dwt to distinguish from Eclipse/SWT.

2) DWT API use char[] instead of String now. This helps DWT to interact with other D project smoothly since many other D projects using char[] as String.

3) Win32 struct and API prototype rewritten.
All declarations are consistent with MSDN as well as std.c.windows.windows. Actually, std.c.windows.windows is imported and by a simple alias way, we can keep up with the update of Phobos easy. This change will give Windows developers a more native and intuitionistic feeling compares to Java/SWT.
Two exceptions :
a. Phobos aliased LPTSTR to char* which is different from MSDN which is a (MBCS/UNICODE) version depended define.
b. Phobos aliased WNDCLASS to WNDCLASSA is different from MSDN which is version depended define.

4) OLE_COM partially works.
Discard SWT's mechanism such as Callback and VtblCall. Part of DFC's COM library header file imported and implemented OLE_COM in D way.
Web browser, Excel Viewer and PDF viewer examples are given though with bugs and feature missing, since the COM application is not easy to debug.

5) zwang's contribution to DWT is added: "sort indicator in the TableColumn widget".
See the sortindicator example.
Thanks to zwang!

6) DWT Extra Library established.
dwtextra library will include some useful stuff which is not included in Eclipse/SWT official package. Currently I ported Scintilla (http://www.scintilla.org/) to DWT as the first component.
Directory is \dwt\extra. When use extra lib, "import dwt.extra.all", and link to dwtextra.lib.

volunteers are welcome to write customized component for DWT.
See "Creating Your Own Widgets using SWT"
http://eclipse.org/articles/Article-Writing?20Your?20Own?20Widget/Writing?20Your?20Own?20Widget.htm


some screenshots and bin example:
http://svn.dsource.org/projects/dwt/downloads/win32/examples/
http://svn.dsource.org/projects/dwt/downloads/win32/examples/scintilla.png
http://svn.dsource.org/projects/dwt/downloads/win32/examples/scintilla_test.exe
http://svn.dsource.org/projects/dwt/downloads/win32/examples/Traytest.exe
http://svn.dsource.org/projects/dwt/downloads/win32/examples/BrowserExample.exe
http://svn.dsource.org/projects/dwt/downloads/win32/examples/sortindicator.exe


TODO:
OLE/COM needs to be fix and enhanced,
DRAG_DROP, ClipBoard, StyledText not available yet


How to use
------------------------------------------------------------------------

1) Copy files
extracts all files to \dmd directory. (overwrite the \dmd directory)
"\dmd" is where the DMD installed.

2) Set import path
modify the sc.ini in \dmd\bin, to add the import path of dwt library
change
DFLAGS="-I?@P?\..\src\phobos"
to
DFLAGS="-I?@P?\..\src\phobos;c:\dmd\import" or
DFLAGS="-I?@P?\..\src\phobos;d:\dmd\import" if you install DMD in disk D

3) Prepare Build Tools :
make sure "Derek Parnell"'s Build.exe is in your PATH envirement
if you don't have Build.exe yet, download it here.
http://www.dsource.org/projects/build/

4) Build DWT library
navigate to \dmd\import\
run "make-dwt-lib.bat" then copy dwt.lib(release version) and
swtd.lib(debug version) to \dmd\lib

5) Build DWT extra library
navigate to \dmd\import\
run "make-dwtextra-lib.bat" then copy dwtextra.lib(release version) and
swtextrad.lib(debug version) to \dmd\lib

6) Build Examples
navigate to \dmd\packages\dwt\examples\???
and run the "run-build.bat" file or "run-dmd.bat"


- Shawn
Back to top
View user's profile Send private message
kylefurlong



Joined: 16 Nov 2005
Posts: 29

PostPosted: Wed Nov 16, 2005 11:57 pm    Post subject: Reply with quote

Very nice work Shawn. DWT imho is the best d gui toolkit for win32 atm. Keep up the good job! Very Happy
Back to top
View user's profile Send private message
lijie



Joined: 28 Oct 2005
Posts: 24
Location: Shenzhen, China

PostPosted: Thu Nov 17, 2005 8:21 pm    Post subject: Reply with quote

Wow!
Good job!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DWT All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group