Mercurial > projects > dwt-addons
comparison dwtx/jface/resource/CompositeImageDescriptor.d @ 43:ea8ff534f622
Fix override and super aliases
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:24:25 +0200 |
parents | 6c14e54dfc11 |
children |
comparison
equal
deleted
inserted
replaced
42:4567a6f54939 | 43:ea8ff534f622 |
---|---|
148 } | 148 } |
149 | 149 |
150 /* | 150 /* |
151 * (non-Javadoc) Method declared on ImageDesciptor. | 151 * (non-Javadoc) Method declared on ImageDesciptor. |
152 */ | 152 */ |
153 public ImageData getImageData() { | 153 public override ImageData getImageData() { |
154 Point size = getSize(); | 154 Point size = getSize(); |
155 | 155 |
156 /* Create a 24 bit image data with alpha channel */ | 156 /* Create a 24 bit image data with alpha channel */ |
157 imageData = new ImageData(size.x, size.y, 24, new PaletteData(0xFF, 0xFF00, 0xFF0000)); | 157 imageData = new ImageData(size.x, size.y, 24, new PaletteData(0xFF, 0xFF00, 0xFF0000)); |
158 imageData.alphaData = new byte[imageData.width * imageData.height]; | 158 imageData.alphaData = new byte[imageData.width * imageData.height]; |