Skip to content

Commit

Permalink
created superclass TimelineObject
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-lorenz committed Jul 2, 2021
1 parent 93deacd commit c2e7f4f
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 48 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"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" } }
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
],
"commentStamp" : "",
"instvars" : [
"timeline" ],
],
"name" : "AnimationsEditorTimebar",
"pools" : [
],
"super" : "RectangleMorph",
"super" : "AnimationsEditorTimelineObject",
"type" : "normal" }
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ convertFrameToPosition: aFrame
| position |

position := aFrame / ((self timeline endTime - self timeline startTime) / self lineSegmentWidth) + self startMargin.

^position.
^ position.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"class" : {
},
"instance" : {
"convertFrameToPosition:" : "CL 7/2/2021 12:12",
"endMargin" : "CL 7/2/2021 12:14",
"lineSegmentWidth" : "CL 7/2/2021 12:13",
"startMargin" : "CL 7/2/2021 12:14",
"timeline" : "CL 7/2/2021 12:12",
"timeline:" : "CL 7/2/2021 12:12" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"category" : "AnimationsEditor-Core",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
"timeline" ],
"name" : "AnimationsEditorTimelineObject",
"pools" : [
],
"super" : "RectangleMorph",
"type" : "normal" }

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
initialization
keyframeMargin

^ (self height - 10)/2.
^ (self height - 20)/2.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@
"on:withProperty:withPosition:withExtent:" : "CL 6/25/2021 16:21" },
"instance" : {
"addKeyframes" : "CL 7/2/2021 12:03",
"convertFrameToPosition:" : "MH 7/1/2021 12:18",
"endMargin" : "MH 7/1/2021 12:18",
"initialize" : "CL 6/25/2021 16:22",
"initializeMorph" : "MH 7/1/2021 12:16",
"initializeText" : "MH 7/1/2021 11:34",
"initializeTrack" : "CL 7/2/2021 10:39",
"keyframeMargin" : "CL 7/2/2021 12:04",
"lineSegmentWidth" : "MH 7/1/2021 12:18",
"keyframeMargin" : "CL 7/2/2021 12:19",
"property" : "CL 6/25/2021 15:36",
"property:" : "CL 6/25/2021 15:36",
"startMargin" : "MH 7/1/2021 12:16",
"textMargin" : "MH 7/1/2021 12:16",
"timeline" : "CL 6/25/2021 15:36",
"timeline:" : "CL 6/25/2021 15:36",
"update:" : "CL 7/2/2021 11:02" } }
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
],
"commentStamp" : "",
"instvars" : [
"timeline",
"property" ],
"name" : "AnimationsEditorTrack",
"pools" : [
],
"super" : "RectangleMorph",
"super" : "AnimationsEditorTimelineObject",
"type" : "normal" }

0 comments on commit c2e7f4f

Please sign in to comment.