Mercurial > projects > dwt-mac
diff dwt/graphics/Transform.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 | 5123b17c98ef |
children | d8635bb48c7c |
line wrap: on
line diff
--- a/dwt/graphics/Transform.d Sun Sep 14 23:32:29 2008 +0200 +++ b/dwt/graphics/Transform.d Tue Oct 07 12:56:18 2008 +0200 @@ -42,6 +42,9 @@ * @since 3.1 */ public class Transform : Resource { + + alias Resource.init_ init_; + /** * the OS resource for the Transform * (Warning: This field is platform dependent) @@ -144,7 +147,7 @@ if (handle is null) DWT.error(DWT.ERROR_NO_HANDLES); handle.retain(); setElements(m11, m12, m21, m22, dx, dy); - init(); + init_(); } static float[] checkTransform(float[] elements) {