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