-
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.
Add MorphicMonet instance to context
and change all affected constructors and test setups
- Loading branch information
Showing
17 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...WithBackendClass.viewportClass.extent..st → ...BackendClass.viewportClass.extent.for..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
4 changes: 2 additions & 2 deletions
4
...ass/newWithBackendClass.viewportClass..st → ...newWithBackendClass.viewportClass.for..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 @@ | ||
instance creation | ||
newWithBackendClass: aBackendClass viewportClass: aViewPortClass | ||
^ self newWithBackendClass: aBackendClass viewportClass: aViewPortClass extent: self defaultExtent | ||
newWithBackendClass: aBackendClass viewportClass: aViewPortClass for: aMorphicMonet | ||
^ self newWithBackendClass: aBackendClass viewportClass: aViewPortClass extent: self defaultExtent for: aMorphicMonet |
3 changes: 0 additions & 3 deletions
3
packages/SketchMorph2-Core.package/M2Canvas.class/class/newWithDefaults.st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
packages/SketchMorph2-Core.package/M2Canvas.class/class/newWithDefaultsFor..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 @@ | ||
instance creation | ||
newWithDefaultsFor: aMorphicMonet | ||
^ self newWithExtent: self defaultExtent for: aMorphicMonet |
4 changes: 2 additions & 2 deletions
4
...ge/M2Canvas.class/class/newWithExtent..st → ...2Canvas.class/class/newWithExtent.for..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 @@ | ||
instance creation | ||
newWithExtent: aPoint | ||
^ self newWithBackendClass: M2Backend viewportClass: M2ViewPort extent: aPoint | ||
newWithExtent: aPoint for: aMorphicMonet | ||
^ self newWithBackendClass: M2Backend viewportClass: M2ViewPort extent: aPoint for: aMorphicMonet |
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
packages/SketchMorph2-Core.package/M2DrawingContext.class/class/newFor..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 @@ | ||
instance creation | ||
newFor: aMorphicMonet | ||
^ self new morphicMonet: aMorphicMonet |
4 changes: 4 additions & 0 deletions
4
packages/SketchMorph2-Core.package/M2DrawingContext.class/instance/morphicMonet..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 | ||
morphicMonet: aMorphicMonet | ||
morphicMonet := aMorphicMonet | ||
|
3 changes: 3 additions & 0 deletions
3
packages/SketchMorph2-Core.package/M2DrawingContext.class/instance/morphicMonet.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 | ||
morphicMonet | ||
^ morphicMonet |
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
packages/SketchMorph2-Core.package/MorphicMonet.class/class/open.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 @@ | ||
instance creation | ||
open | ||
^ self openWith: M2Canvas newWithDefaults | ||
^ self openWith: (M2Canvas newWithDefaultsFor: self) |
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