Mercurial > projects > dwt-win
comparison dwt/graphics/Device.d @ 197:184ab53b7785
Changes and fixes for jface
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 10 Apr 2008 11:19:49 +0200 |
parents | f906dbcacee5 |
children | ab60f3309436 |
comparison
equal
deleted
inserted
replaced
196:1e7701c27c03 | 197:184ab53b7785 |
---|---|
140 if (data !is null) { | 140 if (data !is null) { |
141 debug_ = data.debug_; | 141 debug_ = data.debug_; |
142 tracking = data.tracking; | 142 tracking = data.tracking; |
143 } | 143 } |
144 create (data); | 144 create (data); |
145 init (); | 145 init_ (); |
146 if (tracking) { | 146 if (tracking) { |
147 errors = new Exception [128]; | 147 errors = new Exception [128]; |
148 objects = new Object [128]; | 148 objects = new Object [128]; |
149 } | 149 } |
150 | 150 |
653 * call the <code>super</code> implementation. | 653 * call the <code>super</code> implementation. |
654 * </p> | 654 * </p> |
655 * | 655 * |
656 * @see #create | 656 * @see #create |
657 */ | 657 */ |
658 protected void init () { | 658 protected void init_ () { |
659 if (debug_) { | 659 if (debug_) { |
660 static if (!OS.IsWinCE) OS.GdiSetBatchLimit(1); | 660 static if (!OS.IsWinCE) OS.GdiSetBatchLimit(1); |
661 } | 661 } |
662 | 662 |
663 /* Initialize scripts list */ | 663 /* Initialize scripts list */ |