Changeset 63:d0467f3a67b3
- Timestamp:
- 04/13/08 21:08:08
(8 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
remove debug prints
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r62 |
r63 |
|
| 47 | 47 | import dwt.dwthelper.Runnable; |
|---|
| 48 | 48 | version(Windows) import dwt.internal.win32.OS; |
|---|
| 49 | | import tango.util.log.Trace; |
|---|
| 50 | 49 | |
|---|
| 51 | 50 | /** |
|---|
| … | … | |
| 353 | 352 | ImportData propdata; |
|---|
| 354 | 353 | if( OS.IsWin95 && OS.WIN32_VERSION >= OS.VERSION (4, 10 )){ |
|---|
| 355 | | Trace.formatln( "JFaceResources {}, load win98", __LINE__ ); |
|---|
| 356 | 354 | propdata = getImportData!( prefix ~ "windows98" ~ postfix ); |
|---|
| 357 | 355 | } |
|---|
| 358 | 356 | else if( OS.WIN32_VERSION >= OS.VERSION (5, 1 )){ |
|---|
| 359 | | Trace.formatln( "JFaceResources {}, load winXP", __LINE__ ); |
|---|
| 360 | 357 | propdata = getImportData!( prefix ~ "windowsxp" ~ postfix ); |
|---|
| 361 | 358 | } |
|---|
| 362 | 359 | else if( OS.WIN32_VERSION >= OS.VERSION (5, 0)){ |
|---|
| 363 | | Trace.formatln( "JFaceResources {}, load win2k", __LINE__ ); |
|---|
| 364 | 360 | propdata = getImportData!( prefix ~ "windows2000" ~ postfix ); |
|---|
| 365 | 361 | } |
|---|
| 366 | 362 | else if( OS.WIN32_VERSION >= OS.VERSION (4, 0)){ |
|---|
| 367 | | Trace.formatln( "JFaceResources {}, load winNT", __LINE__ ); |
|---|
| 368 | 363 | propdata = getImportData!( prefix ~ "windowsnt" ~ postfix ); |
|---|
| 369 | 364 | } |
|---|
| … | … | |
| 682 | 677 | */ |
|---|
| 683 | 678 | private FontRecord getFontRecord(String symbolicName) { |
|---|
| 684 | | Trace.formatln( "FontRegistry {}: symbolicName={}",__LINE__,symbolicName); |
|---|
| 685 | 679 | Assert.isNotNull(symbolicName); |
|---|
| 686 | 680 | auto result1 = stringToFontRecord.find(symbolicName); |
|---|
| 687 | 681 | if (result1 !is null) { |
|---|
| 688 | | Trace.formatln( "FontRegistry {}: ",__LINE__, (cast(FontRecord) result1).baseFont.toString ); |
|---|
| 689 | 682 | return cast(FontRecord) result1; |
|---|
| 690 | 683 | } |
|---|
| … | … | |
| 705 | 698 | |
|---|
| 706 | 699 | stringToFontRecord.add(symbolicName.dup, fontRecord); |
|---|
| 707 | | Trace.formatln( "FontRegistry {}: {}",__LINE__,fontRecord.baseFont.toString); |
|---|
| 708 | | foreach( fd; fontRecord.baseFont.getFontData() ){ |
|---|
| 709 | | Trace.formatln( "FontRegistry {}: fontdata={}",__LINE__,fd.toString); |
|---|
| 710 | | } |
|---|
| 711 | 700 | return fontRecord; |
|---|
| 712 | 701 | |
|---|