view README.txt @ 162:619faee45ef6

add missing default cases
author Thomas Graber <d4rkdragon@gmail.com>
date Wed, 20 Feb 2008 21:41:58 +0100
parents c290741fbb6b
children e0ea5a76da07
line wrap: on
line source


DWT-Win
=======

Requirements:
=============
tango from SVN trunk rev 3188
dsss 0.75
DMD 1.026
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[])