--- a/DevWorkst.st Fri Sep 10 10:30:01 1999 +0200
+++ b/DevWorkst.st Fri Sep 10 18:16:27 1999 +0200
@@ -2291,6 +2291,9 @@
!DeviceWorkstation methodsFor:'bitmap/window creation'!
createBitmapFromArray:anArray width:w height:h
+ "create a monochrome, depth1 bitmap from a given (byte-)array.
+ The rows are aligned to a multiple of 8"
+
^ self subclassResponsibility
!
@@ -6605,6 +6608,6 @@
!DeviceWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Attic/DevWorkst.st,v 1.331 1999-09-08 21:14:54 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Attic/DevWorkst.st,v 1.332 1999-09-10 16:16:05 cg Exp $'
! !
DeviceWorkstation initialize!
--- a/DeviceWorkstation.st Fri Sep 10 10:30:01 1999 +0200
+++ b/DeviceWorkstation.st Fri Sep 10 18:16:27 1999 +0200
@@ -2291,6 +2291,9 @@
!DeviceWorkstation methodsFor:'bitmap/window creation'!
createBitmapFromArray:anArray width:w height:h
+ "create a monochrome, depth1 bitmap from a given (byte-)array.
+ The rows are aligned to a multiple of 8"
+
^ self subclassResponsibility
!
@@ -6605,6 +6608,6 @@
!DeviceWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.331 1999-09-08 21:14:54 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.332 1999-09-10 16:16:05 cg Exp $'
! !
DeviceWorkstation initialize!
--- a/XWorkstat.st Fri Sep 10 10:30:01 1999 +0200
+++ b/XWorkstat.st Fri Sep 10 18:16:27 1999 +0200
@@ -1237,11 +1237,14 @@
!XWorkstation methodsFor:'bitmap/window creation'!
createBitmapFromArray:anArray width:w height:h
+ "create a monochrome, depth1 bitmap from a given (byte-)array.
+ The rows are aligned to a multiple of 8"
+
|bitmapId|
bitmapId := self primCreateBitmapFromArray:anArray width:w height:h.
bitmapId isNil ifTrue:[
- self primitiveFailed
+ self primitiveFailed
].
^ bitmapId
!
@@ -10181,6 +10184,6 @@
!XWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.324 1999-08-28 20:18:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.325 1999-09-10 16:16:27 cg Exp $'
! !
XWorkstation initialize!
--- a/XWorkstation.st Fri Sep 10 10:30:01 1999 +0200
+++ b/XWorkstation.st Fri Sep 10 18:16:27 1999 +0200
@@ -1237,11 +1237,14 @@
!XWorkstation methodsFor:'bitmap/window creation'!
createBitmapFromArray:anArray width:w height:h
+ "create a monochrome, depth1 bitmap from a given (byte-)array.
+ The rows are aligned to a multiple of 8"
+
|bitmapId|
bitmapId := self primCreateBitmapFromArray:anArray width:w height:h.
bitmapId isNil ifTrue:[
- self primitiveFailed
+ self primitiveFailed
].
^ bitmapId
!
@@ -10181,6 +10184,6 @@
!XWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.324 1999-08-28 20:18:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.325 1999-09-10 16:16:27 cg Exp $'
! !
XWorkstation initialize!