-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added timebar and started on keyframes
- Loading branch information
Showing
61 changed files
with
359 additions
and
44 deletions.
There are no files selected for viewing
9 changes: 6 additions & 3 deletions
9
...imationsEditor-Core.package/AnimationsEditor.class/instance/switchTimelineToMorphWith..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
eventHandling | ||
switchTimelineToMorphWith: aSubProperty | ||
| morphProperty | | ||
|
||
morphProperty := self propertyList detect: [:property | property targetMorph = aSubProperty targetMorph] ifNone: []. | ||
self timeline switchTimelineTo: morphProperty. | ||
|
||
(aSubProperty isKindOf: AnimationsEditorPropertyStartEnd) | ||
ifFalse: [ | ||
morphProperty := self propertyList detect: [:property | property targetMorph = aSubProperty targetMorph] ifNone: []. | ||
self timeline switchTimelineTo: morphProperty. | ||
]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
10 changes: 10 additions & 0 deletions
10
...Core.package/AnimationsEditorKeyframe.class/class/on.withPosition.withFrame.withValue..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
as yet unclassified | ||
on: anAnimationsEditorTrack withPosition: aPoint withFrame: aFrame withValue: aValue | ||
|
||
^ self basicNew | ||
timeline: anAnimationsEditorTrack; | ||
frame: aFrame; | ||
value: aValue; | ||
initialize; | ||
position: aPoint; | ||
yourself. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/frame..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
frame: anObject | ||
|
||
frame := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/frame.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
frame | ||
|
||
^ frame |
7 changes: 7 additions & 0 deletions
7
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
|
||
self color: Color orange. | ||
self extent: 15@15. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/track..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
track: anObject | ||
|
||
track := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/track.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
track | ||
|
||
^ track |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/value..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
value: anObject | ||
|
||
value := anObject. |
10 changes: 10 additions & 0 deletions
10
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"class" : { | ||
"on:withPosition:withFrame:withValue:" : "MH 7/1/2021 12:22" }, | ||
"instance" : { | ||
"frame" : "MH 7/1/2021 12:22", | ||
"frame:" : "MH 7/1/2021 12:22", | ||
"initialize" : "MH 7/1/2021 12:23", | ||
"track" : "MH 7/1/2021 12:11", | ||
"track:" : "MH 7/1/2021 12:11", | ||
"value:" : "MH 7/1/2021 12:22" } } |
16 changes: 16 additions & 0 deletions
16
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"category" : "AnimationsEditor-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"track", | ||
"frame", | ||
"value" ], | ||
"name" : "AnimationsEditorKeyframe", | ||
"pools" : [ | ||
], | ||
"super" : "RectangleMorph", | ||
"type" : "normal" } |
3 changes: 2 additions & 1 deletion
3
...AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/instance/endTime..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
accessing | ||
endTime: aNumber | ||
endTime := aNumber. | ||
endTime := aNumber. | ||
self changed. |
3 changes: 2 additions & 1 deletion
3
...imationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/instance/startTime..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
accessing | ||
startTime: aNumber | ||
startTime := aNumber. | ||
startTime := aNumber. | ||
self changed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
8 changes: 8 additions & 0 deletions
8
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/class/on.withExtent..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
initialize | ||
on: anAnimationsEditorTimeline withExtent: anotherPoint | ||
|
||
^ self basicNew | ||
timeline: anAnimationsEditorTimeline; | ||
initialize; | ||
extent: anotherPoint; | ||
yourself. |
13 changes: 13 additions & 0 deletions
13
...mationsEditor-Core.package/AnimationsEditorTimebar.class/instance/addIntermediateLines.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
updating | ||
addIntermediateLines | ||
| positionX | | ||
|
||
self timeline startTime + 1 | ||
to: self timeline endTime - 1 | ||
do: [:frame | frame \\ 100 = 0 | ||
ifTrue: [ | ||
positionX := self convertFrameToPosition: frame. | ||
self addLineFrom: positionX @ self height to: positionX @ (self height - self lineHeight)] | ||
]. | ||
|
||
|
6 changes: 6 additions & 0 deletions
6
...s/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/addLineFrom.to..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
updating | ||
addLineFrom: aStartPoint to: anEndPoint | ||
| line | | ||
|
||
line := LineMorph from: aStartPoint to: anEndPoint color: Color black width: 3. | ||
self addMorph: line. |
8 changes: 8 additions & 0 deletions
8
...s/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/addStartEndLine.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
updating | ||
addStartEndLine | ||
|
||
self addLineFrom: self startMargin @ self height to: self startMargin @ (self height - self startEndLineHeight). | ||
self addLineFrom: self startMargin + self lineSegmentWidth @ self height to: self startMargin + self lineSegmentWidth @ (self height - self startEndLineHeight). | ||
|
||
|
||
|
8 changes: 8 additions & 0 deletions
8
...ionsEditor-Core.package/AnimationsEditorTimebar.class/instance/convertFrameToPosition..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
updating | ||
convertFrameToPosition: aFrame | ||
| position | | ||
|
||
position := aFrame / ((self timeline endTime - self timeline startTime) / self lineSegmentWidth) + self startMargin. | ||
|
||
^position. | ||
|
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/endMargin.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
constants | ||
endMargin | ||
|
||
^10. |
5 changes: 5 additions & 0 deletions
5
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self color: Color white. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/lineHeight.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
constants | ||
lineHeight | ||
|
||
^ 10. |
5 changes: 5 additions & 0 deletions
5
.../AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/lineSegmentWidth.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
constants | ||
lineSegmentWidth | ||
|
||
^ self width - self startMargin - self endMargin. | ||
|
4 changes: 4 additions & 0 deletions
4
...nimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/startEndLineHeight.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
constants | ||
startEndLineHeight | ||
|
||
^ 20. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/startMargin.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
constants | ||
startMargin | ||
|
||
^ 85. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/timeline..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
timeline: anObject | ||
|
||
timeline := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/timeline.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
timeline | ||
|
||
^ timeline |
7 changes: 7 additions & 0 deletions
7
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/instance/updateScale.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
updating | ||
updateScale | ||
|
||
self addStartEndLine. | ||
self addIntermediateLines. | ||
|
||
|
17 changes: 17 additions & 0 deletions
17
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"class" : { | ||
"on:withExtent:" : "MH 7/1/2021 10:57" }, | ||
"instance" : { | ||
"addIntermediateLines" : "MH 7/1/2021 12:08", | ||
"addLineFrom:to:" : "MH 7/1/2021 10:19", | ||
"addStartEndLine" : "MH 7/1/2021 12:07", | ||
"convertFrameToPosition:" : "MH 7/1/2021 12:05", | ||
"endMargin" : "MH 7/1/2021 10:08", | ||
"initialize" : "MH 7/1/2021 09:48", | ||
"lineHeight" : "MH 7/1/2021 12:06", | ||
"lineSegmentWidth" : "MH 7/1/2021 12:03", | ||
"startEndLineHeight" : "MH 7/1/2021 12:06", | ||
"startMargin" : "MH 7/1/2021 11:34", | ||
"timeline" : "MH 7/1/2021 09:23", | ||
"timeline:" : "MH 7/1/2021 09:23", | ||
"updateScale" : "MH 7/1/2021 12:08" } } |
14 changes: 14 additions & 0 deletions
14
packages/AnimationsEditor-Core.package/AnimationsEditorTimebar.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "AnimationsEditor-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"timeline" ], | ||
"name" : "AnimationsEditorTimebar", | ||
"pools" : [ | ||
], | ||
"super" : "RectangleMorph", | ||
"type" : "normal" } |
2 changes: 1 addition & 1 deletion
2
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/class/newWith..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
as yet unclassified | ||
initialize | ||
newWith: anAnimationsEditor | ||
|
||
^ self | ||
|
8 changes: 8 additions & 0 deletions
8
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/addTimebar.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
initialization | ||
addTimebar | ||
| timebar | | ||
|
||
timebar := AnimationsEditorTimebar on: self withExtent: self width @ self trackHeight. | ||
self addMorph: timebar. | ||
self timebar: timebar. | ||
self timebar updateScale. |
10 changes: 7 additions & 3 deletions
10
...sEditor-Core.package/AnimationsEditorTimeline.class/instance/addTrackFor.withPosition..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
as yet unclassified | ||
creation | ||
addTrackFor: aProperty withPosition: aNumber | ||
| track | | ||
|
||
track := AnimationsEditorTrack on: self withProperty: aProperty withPosition: (0 @ aNumber) withExtent: (self width @ self trackHeight). | ||
self addMorph: track. | ||
track := AnimationsEditorTrack | ||
on: self | ||
withProperty: aProperty | ||
withPosition: 0 @ aNumber | ||
withExtent: self width @ self trackHeight. | ||
self addMorph: track | ||
|
||
|
||
|
8 changes: 8 additions & 0 deletions
8
...ges/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/createTracks.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
creation | ||
createTracks | ||
| positionY | | ||
|
||
positionY := self trackHeight. | ||
self property subproperties do: [:subproperty | | ||
self addTrackFor: subproperty withPosition: positionY. | ||
positionY := positionY + self trackHeight]. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/endTime..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
endTime: anObject | ||
|
||
endTime := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/endTime.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
endTime | ||
|
||
^ endTime |
4 changes: 4 additions & 0 deletions
4
...es/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/initialExtent.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
constants | ||
initialExtent | ||
|
||
^ 550 @ 100. |
8 changes: 5 additions & 3 deletions
8
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
accessing | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self extent: 550@100. | ||
|
||
self extent: self initialExtent. | ||
self color: Color white. | ||
self initializeStartEndTime. |
10 changes: 10 additions & 0 deletions
10
...ionsEditor-Core.package/AnimationsEditorTimeline.class/instance/initializeStartEndTime.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
initialization | ||
initializeStartEndTime | ||
| startEndProperty | | ||
|
||
startEndProperty := self animationsEditor propertyList first. | ||
self | ||
startTime: startEndProperty startTime; | ||
endTime: startEndProperty endTime. | ||
startEndProperty addDependent: self. | ||
|
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/startTime..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
startTime: anObject | ||
|
||
startTime := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/startTime.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
startTime | ||
|
||
^ startTime |
9 changes: 3 additions & 6 deletions
9
...nimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/switchTimelineTo..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
accessing | ||
creation | ||
switchTimelineTo: aProperty | ||
| positionY | | ||
|
||
self property: aProperty. | ||
positionY := 0. | ||
aProperty subproperties do: [:subproperty | | ||
self addTrackFor: subproperty withPosition: positionY. | ||
positionY := positionY + self trackHeight]. | ||
self addTimebar. | ||
self createTracks. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/timebar..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
timebar: anObject | ||
|
||
timebar := anObject. |
Oops, something went wrong.