Mercurial > projects > dwt-mac
comparison dwt/internal/image/PngFileReadState.d @ 34:5123b17c98ef
Ported dwt.events.*, dwt.graphics.GC, Region, dwt.internal.image.*
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sun, 14 Sep 2008 01:45:57 +0200 |
parents | 380af2bdd8e5 |
children |
comparison
equal
deleted
inserted
replaced
33:965ac0a77267 | 34:5123b17c98ef |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2004 IBM Corporation and others. | 2 * Copyright (c) 2000, 2004 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
10 *******************************************************************************/ | 12 *******************************************************************************/ |
11 module dwt.internal.image; | 13 module dwt.internal.image.PngFileReadState; |
12 | 14 |
13 | 15 |
14 class PngFileReadState : Object { | 16 class PngFileReadState { |
15 bool readIHDR; | 17 bool readIHDR; |
16 bool readPLTE; | 18 bool readPLTE; |
17 bool readIDAT; | 19 bool readIDAT; |
18 bool readIEND; | 20 bool readIEND; |
19 | 21 |
20 // Non - critical chunks | 22 // Non - critical chunks |
21 bool readTRNS; | 23 bool readTRNS; |
22 | 24 |
23 // Set to true after IDATs have been read. | 25 // Set to true after IDATs have been read. |
24 bool readPixelData; | 26 bool readPixelData; |
25 } | 27 } |