-
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.
- Loading branch information
1 parent
e77c335
commit 410bfae
Showing
38 changed files
with
226 additions
and
37 deletions.
There are no files selected for viewing
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
26 changes: 0 additions & 26 deletions
26
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/addTimeline.st
This file was deleted.
Oops, something went wrong.
6 changes: 5 additions & 1 deletion
6
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/buildTimeline..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
2 changes: 1 addition & 1 deletion
2
...ationsEditor-Core.package/AnimationsEditor.class/instance/defaultPropertyPanelPosition.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,3 @@ | ||
defaults | ||
defaultPropertyPanelPosition | ||
^ 2. | ||
^ 1. |
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
6 changes: 6 additions & 0 deletions
6
...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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
eventHandling | ||
switchTimelineToMorphWith: aSubProperty | ||
| morphProperty | | ||
|
||
morphProperty := self propertyList detect: [:property | property targetMorph = aSubProperty targetMorph] ifNone: []. | ||
self timeline switchTimelineTo: morphProperty. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditor.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/AnimationsEditor.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 |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/treeSpec..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 | ||
treeSpec: anObject | ||
|
||
treeSpec := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/treeSpec.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 | ||
treeSpec | ||
|
||
^ treeSpec |
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
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/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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
as yet unclassified | ||
newWith: anAnimationsEditor | ||
|
||
^ self | ||
basicNew | ||
animationsEditor: anAnimationsEditor; | ||
initialize; | ||
yourself. |
9 changes: 9 additions & 0 deletions
9
...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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
as yet unclassified | ||
addTrackFor: aProperty withPosition: aNumber | ||
| track | | ||
|
||
track := AnimationsEditorTrack on: self withProperty: aProperty withPosition: (0 @ aNumber) withExtent: (self width @ self trackHeight). | ||
self addMorph: track. | ||
|
||
|
||
|
4 changes: 4 additions & 0 deletions
4
...nimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/animationsEditor..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 | ||
animationsEditor: anObject | ||
|
||
animationsEditor := anObject. |
4 changes: 4 additions & 0 deletions
4
...AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/animationsEditor.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 | ||
animationsEditor | ||
|
||
^ animationsEditor |
6 changes: 6 additions & 0 deletions
6
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
accessing | ||
initialize | ||
|
||
super initialize. | ||
self extent: 550@100. | ||
self color: Color white. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/property..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 | ||
property: anObject | ||
|
||
property := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/property.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 | ||
property | ||
|
||
^ property |
9 changes: 9 additions & 0 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
accessing | ||
switchTimelineTo: aProperty | ||
| positionY | | ||
|
||
self property: aProperty. | ||
positionY := 0. | ||
aProperty subproperties do: [:subproperty | | ||
self addTrackFor: subproperty withPosition: positionY. | ||
positionY := positionY + self trackHeight]. |
4 changes: 4 additions & 0 deletions
4
...ages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/trackHeight.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 @@ | ||
as yet unclassified | ||
trackHeight | ||
|
||
^ self height / self property subproperties size. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/tracks..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 | ||
tracks: anOrderedCollection | ||
|
||
tracks := anOrderedCollection. |
7 changes: 7 additions & 0 deletions
7
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/tracks.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 @@ | ||
accessing | ||
tracks | ||
tracks | ||
ifNil: [self tracks: OrderedCollection new]. | ||
|
||
^ tracks. | ||
|
14 changes: 14 additions & 0 deletions
14
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.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,14 @@ | ||
{ | ||
"class" : { | ||
"newWith:" : "CL 6/25/2021 15:28" }, | ||
"instance" : { | ||
"addTrackFor:withPosition:" : "CL 6/25/2021 16:18", | ||
"animationsEditor" : "CL 6/25/2021 14:24", | ||
"animationsEditor:" : "CL 6/25/2021 14:24", | ||
"initialize" : "CL 6/25/2021 15:31", | ||
"property" : "CL 6/25/2021 15:49", | ||
"property:" : "CL 6/25/2021 15:49", | ||
"switchTimelineTo:" : "CL 6/25/2021 16:35", | ||
"trackHeight" : "CL 6/25/2021 15:50", | ||
"tracks" : "CL 6/25/2021 15:17", | ||
"tracks:" : "CL 6/25/2021 15:17" } } |
16 changes: 16 additions & 0 deletions
16
packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.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" : [ | ||
"animationsEditor", | ||
"tracks", | ||
"property" ], | ||
"name" : "AnimationsEditorTimeline", | ||
"pools" : [ | ||
], | ||
"super" : "RectangleMorph", | ||
"type" : "normal" } |
Empty file.
11 changes: 11 additions & 0 deletions
11
...ore.package/AnimationsEditorTrack.class/class/on.withProperty.withPosition.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,11 @@ | ||
as yet unclassified | ||
on: anAnimationsEditorTimeline withProperty: aProperty withPosition: aPoint withExtent: anotherPoint | ||
|
||
^ self basicNew | ||
timeline: anAnimationsEditorTimeline; | ||
property: aProperty; | ||
initialize; | ||
position: aPoint; | ||
extent: anotherPoint; | ||
initializeTrack; | ||
yourself. |
9 changes: 9 additions & 0 deletions
9
packages/AnimationsEditor-Core.package/AnimationsEditorTrack.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,9 @@ | ||
accessing | ||
initialize | ||
|
||
super initialize. | ||
self color: Color white. | ||
|
||
|
||
|
||
|
19 changes: 19 additions & 0 deletions
19
...ges/AnimationsEditor-Core.package/AnimationsEditorTrack.class/instance/initializeTrack.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,19 @@ | ||
accessing | ||
initializeTrack | ||
| text panel | | ||
|
||
text := StringMorph new | ||
contents: self property title; | ||
yourself. | ||
text center: ((text width/2)+10 @ (self center y)). | ||
self addMorph: text. | ||
|
||
panel := RectangleMorph new. | ||
panel | ||
position: 75 @ self position y; | ||
extent: self width - 75 @ self height. | ||
self addMorph: panel. | ||
|
||
|
||
|
||
|
4 changes: 4 additions & 0 deletions
4
...ges/AnimationsEditor-Core.package/AnimationsEditorTrack.class/instance/keyframeMorphs..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 | ||
keyframeMorphs: anObject | ||
|
||
keyframeMorphs := anObject. |
4 changes: 4 additions & 0 deletions
4
...ages/AnimationsEditor-Core.package/AnimationsEditorTrack.class/instance/keyframeMorphs.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 | ||
keyframeMorphs | ||
|
||
^ keyframeMorphs |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTrack.class/instance/property..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 | ||
property: anObject | ||
|
||
property := anObject. |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTrack.class/instance/property.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 | ||
property | ||
|
||
^ property |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorTrack.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/AnimationsEditorTrack.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 |
12 changes: 12 additions & 0 deletions
12
packages/AnimationsEditor-Core.package/AnimationsEditorTrack.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,12 @@ | ||
{ | ||
"class" : { | ||
"on:withProperty:withPosition:withExtent:" : "CL 6/25/2021 16:21" }, | ||
"instance" : { | ||
"initialize" : "CL 6/25/2021 16:22", | ||
"initializeTrack" : "CL 6/25/2021 16:34", | ||
"keyframeMorphs" : "CL 6/25/2021 15:36", | ||
"keyframeMorphs:" : "CL 6/25/2021 15:36", | ||
"property" : "CL 6/25/2021 15:36", | ||
"property:" : "CL 6/25/2021 15:36", | ||
"timeline" : "CL 6/25/2021 15:36", | ||
"timeline:" : "CL 6/25/2021 15:36" } } |
16 changes: 16 additions & 0 deletions
16
packages/AnimationsEditor-Core.package/AnimationsEditorTrack.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" : [ | ||
"timeline", | ||
"keyframeMorphs", | ||
"property" ], | ||
"name" : "AnimationsEditorTrack", | ||
"pools" : [ | ||
], | ||
"super" : "RectangleMorph", | ||
"type" : "normal" } |