--- a/WindowsIconReader.st Wed Nov 19 16:27:07 2003 +0100
+++ b/WindowsIconReader.st Wed Nov 19 16:28:36 2003 +0100
@@ -403,6 +403,8 @@
]
].
+ self reportDimension.
+
"read the colormap; notice: its in BGR order (sigh)"
nColors := 1 bitShift:inDepth.
@@ -628,6 +630,8 @@
].
].
+ self reportDimension.
+
numColor ~~ 0 ifTrue:[
"read the colormap - notice: its in BGR order (sigh)"
@@ -767,6 +771,7 @@
^ self fileFormatError:'only depth 4/8 ico-images supported (depth is ' , inDepth printString , ')'.
"/ self halt:'only depth 4 ico-images supported (depth is ' , inDepth printString , ')'.
].
+ self reportDimension.
"read the colormap"
cmapSize := (1 bitShift:inDepth).
@@ -1106,7 +1111,7 @@
!WindowsIconReader class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview2/WindowsIconReader.st,v 1.56 2003-09-01 14:47:47 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/WindowsIconReader.st,v 1.57 2003-11-19 15:25:15 cg Exp $'
! !
WindowsIconReader initialize!