Mercurial > projects > dwt-win
annotate README.txt @ 157:f8001bf383d2
TextLayout allow null for setText
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 14 Feb 2008 21:30:05 +0100 |
parents | 029d0df3f515 |
children | c290741fbb6b |
rev | line source |
---|---|
58 | 1 |
2 DWT-Win | |
3 ======= | |
4 | |
5 Requirements: | |
6 ============= | |
7 tango from SVN trunk rev 3152 | |
8 dsss 0.75 | |
78 | 9 DMD 1.025 (don't use 1.026, which has a problem with tango) |
99
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
10 Import libs |
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
11 |
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
12 Import libs: |
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
13 ============ |
102 | 14 To link everything you need the import libs. |
15 They are not included in the source repository, please use this archive | |
99
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
16 |
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
17 http://downloads.dsource.org/projects/dwt-linux/dwt-win-libs.zip |
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
18 |
873874015a62
Explanation where to get the import libs
Frank Benoit <benoit@tionex.de>
parents:
78
diff
changeset
|
19 They don't contain any DWT code, only the import libraries to link to the windows system DLLs. |
58 | 20 |
21 | |
22 Building with dsss | |
23 =================== | |
24 Per default dsss has the option 'oneatatime' enable. | |
25 This make dsss to compile one file at a time and building dwt take longer than 15 min. | |
26 Disable this option in the dsss/etc/rebuild/dmd-win-tango file. | |
27 Search for it (2 matches) and either delete those lines of change =on to =off. | |
28 | |
157
f8001bf383d2
TextLayout allow null for setText
Frank Benoit <benoit@tionex.de>
parents:
148
diff
changeset
|
29 In some situations, you may get linker errors when building the dwt examples. |
148 | 30 Try adding the "-full" switch to the dsss command line to fix these errors. |
31 | |
32 Example: | |
33 | |
157
f8001bf383d2
TextLayout allow null for setText
Frank Benoit <benoit@tionex.de>
parents:
148
diff
changeset
|
34 dsss build -full simple |
148 | 35 |
100
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
36 Subsystem linker option |
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
37 ======================= |
102 | 38 For dmd linker 'optlink' there is the option SUBSYSTEM which defines if the executable |
100
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
39 shall be a console or windows application and the minimum required windows version (4=win95,5=win2000,6=vista) |
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
40 -L/SUBSYSTEM:windows:5 |
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
41 Without this option, DWT renderes some controls not correctly. Eg. table headers are not shown. |
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
42 |
129
18ca5d3c6dfc
Chg to SWT: Allow MessageBox without parent, when instantiated over special ctor.
Frank Benoit <benoit@tionex.de>
parents:
102
diff
changeset
|
43 Changes/Additions to SWT |
18ca5d3c6dfc
Chg to SWT: Allow MessageBox without parent, when instantiated over special ctor.
Frank Benoit <benoit@tionex.de>
parents:
102
diff
changeset
|
44 ======================== |
18ca5d3c6dfc
Chg to SWT: Allow MessageBox without parent, when instantiated over special ctor.
Frank Benoit <benoit@tionex.de>
parents:
102
diff
changeset
|
45 o MessageBox can be instantiated without parent. Use the Ctor "this( int style )", |
18ca5d3c6dfc
Chg to SWT: Allow MessageBox without parent, when instantiated over special ctor.
Frank Benoit <benoit@tionex.de>
parents:
102
diff
changeset
|
46 calling the other ctors will still force a non-null parent. |
157
f8001bf383d2
TextLayout allow null for setText
Frank Benoit <benoit@tionex.de>
parents:
148
diff
changeset
|
47 o Allow null argument for |
f8001bf383d2
TextLayout allow null for setText
Frank Benoit <benoit@tionex.de>
parents:
148
diff
changeset
|
48 - dwt.graphics.TextLayout setText(char[]) |
100
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
49 |
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
50 |
8e89c07402e9
Describe subsystem linker switch
Frank Benoit <benoit@tionex.de>
parents:
99
diff
changeset
|
51 |