Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/image/OS2BMPFileFormat.d @ 36:d46287db17ed
rakefile reorg, swt win phobosification
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 24 Mar 2009 08:48:41 +0100 |
parents | f36c67707cb3 |
children |
comparison
equal
deleted
inserted
replaced
35:634e4380db78 | 36:d46287db17ed |
---|---|
22 import java.io.ByteArrayOutputStream; | 22 import java.io.ByteArrayOutputStream; |
23 import java.lang.all; | 23 import java.lang.all; |
24 | 24 |
25 | 25 |
26 final class OS2BMPFileFormat : FileFormat { | 26 final class OS2BMPFileFormat : FileFormat { |
27 static final int BMPFileHeaderSize = 14; | 27 static const int BMPFileHeaderSize = 14; |
28 static final int BMPHeaderFixedSize = 12; | 28 static const int BMPHeaderFixedSize = 12; |
29 int width, height, bitCount; | 29 int width, height, bitCount; |
30 | 30 |
31 override bool isFileFormat(LEDataInputStream stream) { | 31 override bool isFileFormat(LEDataInputStream stream) { |
32 try { | 32 try { |
33 byte[] header = new byte[18]; | 33 byte[] header = new byte[18]; |