view README.txt @ 184:4d06074bb1af

sync with dwt-linux
author Frank Benoit <benoit@tionex.de>
date Mon, 10 Mar 2008 16:49:04 +0100
parents e0ea5a76da07
children 03f179597782
line wrap: on
line source


DWT-Win
=======

Requirements:
=============
Buildtool : DSSS 0.75
Compiler  : DMD 1.027
D Lib     : Tango release 0.99.5
Import libs

Import libs:
============
To link everything you need the import libs.
They are not included in the source repository, please use this archive

    http://downloads.dsource.org/projects/dwt-linux/dwt-win-libs.zip

They don't contain any DWT code, only the import libraries to link to the windows system DLLs.


Building with dsss
===================
Per default dsss has the option 'oneatatime' enable.
This make dsss to compile one file at a time and building dwt take longer than 15 min.
Disable this option in the dsss/etc/rebuild/dmd-win-tango file.
Search for it (2 matches) and either delete those lines of change =on to =off.

In some situations, you may get linker errors when building the dwt examples.
Try adding the "-full" switch to the dsss command line to fix these errors.

Example:

dsss build -full simple

Subsystem linker option
=======================
For dmd linker 'optlink' there is the option SUBSYSTEM which defines if the executable
shall be a console or windows application and the minimum required windows version (4=win95,5=win2000,6=vista)
-L/SUBSYSTEM:windows:5
Without this option, DWT renderes some controls not correctly. Eg. table headers are not shown.

Changes/Additions to SWT
========================
  o MessageBox can be instantiated without parent. Use the Ctor "this( int style )",
    calling the other ctors will still force a non-null parent.
  o Allow null argument for
        - dwt.graphics.TextLayout setText(char[])