-
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.
implemented clickable Keyframes that show right property
- Loading branch information
Showing
20 changed files
with
92 additions
and
14 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
...nsEditorKeyframe.class/class/on.withPosition.withFrame.withValue.withAnimationsEditor..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 @@ | ||
initialization | ||
on: anAnimationsEditorTrack withPosition: aPoint withFrame: aFrame withValue: aValue withAnimationsEditor: anAnimationsEditor | ||
^ self basicNew track: anAnimationsEditorTrack; | ||
frame: aFrame; | ||
value: aValue; | ||
initialize; | ||
setCenteredPosition: aPoint; | ||
animationsEditor: anAnimationsEditor; | ||
yourself. |
3 changes: 3 additions & 0 deletions
3
...nimationsEditor-Core.package/AnimationsEditorKeyframe.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,3 @@ | ||
accessing | ||
animationsEditor: anObject | ||
animationsEditor := anObject |
3 changes: 3 additions & 0 deletions
3
...AnimationsEditor-Core.package/AnimationsEditorKeyframe.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,3 @@ | ||
accessing | ||
animationsEditor | ||
^ animationsEditor |
3 changes: 3 additions & 0 deletions
3
...nimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/handlesMouseDown..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,3 @@ | ||
as yet unclassified | ||
handlesMouseDown: anEvent | ||
^ true |
4 changes: 4 additions & 0 deletions
4
packages/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/mouseDown..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 | ||
mouseDown: anEvent | ||
anEvent redButtonPressed | ||
ifTrue: [self animationsEditor selectedTreeNode: self selectedProperty]. |
8 changes: 8 additions & 0 deletions
8
...AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/selectedProperty.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 | ||
selectedProperty | ||
|selectedMorph property| | ||
selectedMorph := self animationsEditor propertyList second. | ||
selectedMorph hasSubproperties | ||
ifTrue: [property := selectedMorph subproperties detect: [:each| self track property asString match: each asString]]. | ||
^property | ||
"^ self animationsEditor propertyList second subproperties at: self track property ." |
8 changes: 7 additions & 1 deletion
8
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
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
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
2 changes: 1 addition & 1 deletion
2
...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
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
10 changes: 10 additions & 0 deletions
10
...sEditorTrack.class/class/on.withProperty.withPosition.withExtent.withAnimationsEditor..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 | ||
on: anAnimationsEditorTimeline withProperty: aProperty withPosition: aPoint withExtent: anotherPoint withAnimationsEditor: anAnimationsEditor | ||
^ self basicNew timeline: anAnimationsEditorTimeline; | ||
property: aProperty; | ||
initialize; | ||
position: aPoint; | ||
extent: anotherPoint; | ||
animationsEditor: anAnimationsEditor; | ||
initializeTrack; | ||
yourself. |
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
3 changes: 3 additions & 0 deletions
3
...s/AnimationsEditor-Core.package/AnimationsEditorTrack.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,3 @@ | ||
accessing | ||
animationsEditor: anObject | ||
animationsEditor := anObject |
3 changes: 3 additions & 0 deletions
3
...es/AnimationsEditor-Core.package/AnimationsEditorTrack.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,3 @@ | ||
accessing | ||
animationsEditor | ||
^ animationsEditor |
7 changes: 5 additions & 2 deletions
7
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
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