Mercurial > projects > dwt-mac
comparison dwt/custom/StyledText.d @ 36:db5a898b2119
Fixed a lot of compile errors
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 07 Oct 2008 12:56:18 +0200 |
parents | e831403a80a9 |
children | 6337764516f1 |
comparison
equal
deleted
inserted
replaced
35:7d135fe0caf2 | 36:db5a898b2119 |
---|---|
385 if (printerRenderer !is null) { | 385 if (printerRenderer !is null) { |
386 printerRenderer.dispose(); | 386 printerRenderer.dispose(); |
387 printerRenderer = null; | 387 printerRenderer = null; |
388 } | 388 } |
389 } | 389 } |
390 void init() { | 390 void init_() { |
391 Rectangle trim = printer.computeTrim(0, 0, 0, 0); | 391 Rectangle trim = printer.computeTrim(0, 0, 0, 0); |
392 Point dpi = printer.getDPI(); | 392 Point dpi = printer.getDPI(); |
393 | 393 |
394 printerFont = new Font(printer, fontData.getName(), fontData.getHeight(), DWT.NORMAL); | 394 printerFont = new Font(printer, fontData.getName(), fontData.getHeight(), DWT.NORMAL); |
395 clientArea = printer.getClientArea(); | 395 clientArea = printer.getClientArea(); |