intitial checkin
authorClaus Gittinger <cg@exept.de>
Tue, 24 Jun 1997 13:16:55 +0200
changeset 617 20a86b0e23d2
parent 616 1d54288dbd25
child 618 ab83e72fd105
intitial checkin
ImageFrame.st
ImageSequence.st
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ImageFrame.st	Tue Jun 24 13:16:55 1997 +0200
@@ -0,0 +1,103 @@
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+
+Object subclass:#ImageFrame
+	instanceVariableNames:'imageHolder delay'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Graphics-Images'
+!
+
+!ImageFrame class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+!
+
+documentation
+"
+    an ImageFrame represents a single image in a sequence
+    (such as an animated GIF or a movie).
+    This class only defines a delayTime (in ms) to the next
+    image; specialized subclasses may add additional attributes.
+
+    [author:]
+        Claus Gittinger
+
+    [see also:]
+        ImageSequence
+        Image
+"
+! !
+
+!ImageFrame methodsFor:'accessing'!
+
+delay
+    "return the value of the instance variable 'delay' (automatically generated)"
+
+    ^ delay
+
+    "Created: 21.6.1997 / 13:05:47 / cg"
+!
+
+delay:something
+    "set the value of the instance variable 'delay' (automatically generated)"
+
+    delay := something.
+
+    "Created: 21.6.1997 / 13:05:47 / cg"
+!
+
+image
+    "return the image as represented by the imageFrame.
+     Here, the imageHolders value is returned"
+
+    ^ imageHolder value
+
+    "Created: 21.6.1997 / 13:05:30 / cg"
+!
+
+imageHolder
+    "return the value of the instance variable 'imageHolder' (automatically generated)"
+
+    ^ imageHolder
+
+    "Created: 21.6.1997 / 13:05:53 / cg"
+!
+
+imageHolder:something
+    "set the value of the instance variable 'imageHolder' (automatically generated)"
+
+    imageHolder := something.
+
+    "Created: 21.6.1997 / 13:05:53 / cg"
+! !
+
+!ImageFrame class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libview2/ImageFrame.st,v 1.1 1997-06-24 11:16:31 cg Exp $'
+! !
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ImageSequence.st	Tue Jun 24 13:16:55 1997 +0200
@@ -0,0 +1,60 @@
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+
+Object subclass:#ImageSequence
+	instanceVariableNames:'frames'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Graphics-Images'
+!
+
+!ImageSequence class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+!
+
+documentation
+"
+    An ImageSequence represents a sequence of images as contained
+    in an animated gif or in a movie file.
+    ImageSequence itself is abstract and possibly redefined to hold
+    additional attributes by specific movie representations.
+
+    [author:]
+        Claus Gittinger
+
+    [see also:]
+        ImageFrame
+        Image
+"
+! !
+
+!ImageSequence class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libview2/ImageSequence.st,v 1.1 1997-06-24 11:16:55 cg Exp $'
+! !