617
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
|
|
12 |
|
|
13 |
"
|
|
14 |
|
886
|
15 |
OrderedCollection subclass:#ImageSequence
|
887
|
16 |
instanceVariableNames:'loop iterationCount'
|
617
|
17 |
classVariableNames:''
|
|
18 |
poolDictionaries:''
|
|
19 |
category:'Graphics-Images'
|
|
20 |
!
|
|
21 |
|
|
22 |
!ImageSequence class methodsFor:'documentation'!
|
|
23 |
|
|
24 |
copyright
|
|
25 |
"
|
|
26 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
27 |
All Rights Reserved
|
|
28 |
|
|
29 |
This software is furnished under a license and may be used
|
|
30 |
only in accordance with the terms of that license and with the
|
|
31 |
inclusion of the above copyright notice. This software may not
|
|
32 |
be provided or otherwise made available to, or used by, any
|
|
33 |
other person. No title to or ownership of the software is
|
|
34 |
hereby transferred.
|
|
35 |
|
|
36 |
|
|
37 |
"
|
|
38 |
!
|
|
39 |
|
|
40 |
documentation
|
|
41 |
"
|
|
42 |
An ImageSequence represents a sequence of images as contained
|
|
43 |
in an animated gif or in a movie file.
|
|
44 |
ImageSequence itself is abstract and possibly redefined to hold
|
|
45 |
additional attributes by specific movie representations.
|
|
46 |
|
|
47 |
[author:]
|
|
48 |
Claus Gittinger
|
|
49 |
|
|
50 |
[see also:]
|
|
51 |
ImageFrame
|
|
52 |
Image
|
|
53 |
"
|
|
54 |
! !
|
|
55 |
|
887
|
56 |
!ImageSequence methodsFor:'accessing'!
|
|
57 |
|
|
58 |
iterationCount
|
|
59 |
"return the iterationCount.
|
|
60 |
The sequence is to be played that often."
|
|
61 |
|
|
62 |
^ iterationCount
|
|
63 |
|
|
64 |
"Created: / 1.4.1998 / 14:53:43 / cg"
|
|
65 |
"Modified: / 1.4.1998 / 14:54:46 / cg"
|
|
66 |
!
|
|
67 |
|
|
68 |
iterationCount:something
|
|
69 |
"set the iterationCount.
|
|
70 |
The sequence is to be played that often."
|
|
71 |
|
|
72 |
iterationCount := something.
|
|
73 |
|
|
74 |
"Created: / 1.4.1998 / 14:53:43 / cg"
|
|
75 |
"Modified: / 1.4.1998 / 14:54:53 / cg"
|
|
76 |
!
|
|
77 |
|
|
78 |
loop
|
|
79 |
"return the value of the loop flag;
|
|
80 |
If true, this is considered an endless-loop sequence."
|
|
81 |
|
|
82 |
^ loop
|
|
83 |
|
|
84 |
"Created: / 1.4.1998 / 14:53:47 / cg"
|
|
85 |
"Modified: / 1.4.1998 / 14:54:23 / cg"
|
|
86 |
!
|
|
87 |
|
|
88 |
loop:aBoolean
|
|
89 |
"set the value of the loop flag;
|
|
90 |
If true, this is considered an endless-loop sequence."
|
|
91 |
|
|
92 |
loop := aBoolean.
|
|
93 |
|
|
94 |
"Created: / 1.4.1998 / 14:53:47 / cg"
|
|
95 |
"Modified: / 1.4.1998 / 14:54:15 / cg"
|
|
96 |
! !
|
|
97 |
|
617
|
98 |
!ImageSequence class methodsFor:'documentation'!
|
|
99 |
|
|
100 |
version
|
887
|
101 |
^ '$Header: /cvs/stx/stx/libview2/ImageSequence.st,v 1.4 1998-04-01 12:54:59 cg Exp $'
|
617
|
102 |
! !
|