-
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.
Merge remote-tracking branch 'origin/123-rename-drawing-classes' into…
… 123-merge
- Loading branch information
Showing
430 changed files
with
486 additions
and
511 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
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Core.package/M2Backend.class/instance/activeLayerChanged.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 @@ | ||
updating | ||
activeLayerChanged | ||
self activeFormChanged | ||
self activeFormChanged |
4 changes: 2 additions & 2 deletions
4
packages/SketchMorph2-Core.package/M2Backend.class/instance/context..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 @@ | ||
accessing | ||
context: anM2DrawingContext | ||
context := anM2DrawingContext | ||
context: anM2Context | ||
context := anM2Context |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Core.package/M2Canvas.class/class/defaultBackgroundColor.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 | ||
defaultBackgroundColor | ||
^ Color white | ||
^ Color white |
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
packages/SketchMorph2-Core.package/M2Canvas.class/instance/context..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 @@ | ||
accessing | ||
context: anM2DrawingContext | ||
context := anM2DrawingContext | ||
context: anM2Context | ||
context := anM2Context |
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
....package/M2DrawingContext.class/README.md → ...h2-Core.package/M2Context.class/README.md
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 @@ | ||
An M2DrawingContext stores the current state and modus (#pen - #geometric) to adapt behaviour depending on current tool. | ||
An M2Context stores the current state and modus (#pen - #geometric) to adapt behaviour depending on current tool. | ||
When the geometric mode is selected the geometric form is specified by currentGeometricForm (#circle, #rectangle). | ||
It ensures that the state of viewPort and backend is synchronized. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
packages/SketchMorph2-Core.package/M2ViewPort.class/instance/context..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 @@ | ||
accessing | ||
context: anM2DrawingContext | ||
context := anM2DrawingContext | ||
context: anM2Context | ||
context := anM2Context |
4 changes: 2 additions & 2 deletions
4
packages/SketchMorph2-Core.package/M2ViewPort.class/instance/generateImageStack.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,5 +1,5 @@ | ||
updating | ||
generateImageStack | ||
self imageStack: (self backend layerStack layers | ||
select: [ :layer | layer isVisible ] | ||
thenCollect: [ :layer | self generateLayer: layer ]) | ||
select: [:layer | layer isVisible] | ||
thenCollect: [:layer | self generateLayer: layer]) |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ generateLayer: anM2Layer | |
flex | ||
scale: self scalar; | ||
position: 0 @ 0. | ||
^ flex | ||
^ flex |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ zoomBy: aNumber | |
ifTrue: [^ self]. | ||
self scalar: self scalar + aNumber; | ||
changed; | ||
refresh | ||
refresh |
2 changes: 0 additions & 2 deletions
2
packages/SketchMorph2-Core.package/M2ViewPort.class/instance/zoomIn.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,5 +1,3 @@ | ||
zooming | ||
zoomIn | ||
self zoomBy: self zoomStep | ||
|
||
|
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/instance/layerEditPanel..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 @@ | ||
accessing | ||
layerEditPanel: aPluggablePanelMorph | ||
layerEditPanel := aPluggablePanelMorph | ||
layerEditPanel := aPluggablePanelMorph |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Core.package/MorphicMonet.class/instance/layerEditPanel.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 @@ | ||
accessing | ||
layerEditPanel | ||
^ layerEditPanel | ||
^ layerEditPanel |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Core.package/MorphicMonet.class/instance/layerPanel..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 @@ | ||
accessing | ||
layerPanel: aPluggablePanelMorph | ||
layerPanel := aPluggablePanelMorph | ||
layerPanel := aPluggablePanelMorph |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Core.package/MorphicMonet.class/instance/layerPanel.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 @@ | ||
accessing | ||
layerPanel | ||
^ layerPanel | ||
^ layerPanel |
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 |
---|---|---|
|
@@ -8,5 +8,3 @@ loadMenu | |
submenu beSticky. | ||
self menuPanel addMorph: submenu]. | ||
self activateDefaultItem | ||
|
||
|
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-Layers.package/M2ActiveLayerStack.class/instance/currentLayerStack.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 @@ | ||
accessing | ||
currentLayerStack | ||
^ currentLayerStack | ||
^ currentLayerStack |
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
packages/SketchMorph2-Layers.package/M2Layer.class/instance/boundingBox.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 @@ | ||
accessing | ||
boundingBox | ||
^ self form boundingBox | ||
^ self form boundingBox |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/defaultName.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 | ||
defaultName | ||
^ 'unnamed layer' | ||
^ 'unnamed layer' |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/defaultVisible.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 | ||
defaultVisible | ||
^ true | ||
^ true |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/icon.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 @@ | ||
accessing | ||
icon | ||
^ self isVisible ifTrue: [ MorphicMonetIcons eyeIcon. ] ifFalse: [ MorphicMonetIcons eyeCloseIcon. ] | ||
^ self isVisible ifTrue: [ MorphicMonetIcons eyeIcon. ] ifFalse: [ MorphicMonetIcons eyeCloseIcon. ] |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/isVisible..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 @@ | ||
accessing | ||
isVisible: aBoolean | ||
isVisible := aBoolean | ||
isVisible := aBoolean |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/isVisible.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 @@ | ||
accessing | ||
isVisible | ||
^ isVisible ifNil: [isVisible := self defaultVisible] | ||
^ isVisible ifNil: [isVisible := self defaultVisible] |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/name..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 @@ | ||
accessing | ||
name: aString | ||
name := aString | ||
name := aString |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-Layers.package/M2Layer.class/instance/name.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 @@ | ||
accessing | ||
name | ||
^ name ifNil: [name := self defaultName] | ||
^ name ifNil: [name := self defaultName] |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ restore: aForm | |
at: 0 @ 0 | ||
clippingBox: self boundingBox | ||
rule: Form paint | ||
fillColor: nil | ||
fillColor: nil |
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-Layers.package/M2LayerStack.class/instance/layerIconAt..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 @@ | ||
accessing | ||
layerIconAt: anIndex | ||
^ (self layers at: anIndex) icon | ||
^ (self layers at: anIndex) icon |
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
8 changes: 4 additions & 4 deletions
8
packages/SketchMorph2-MenuItems.package/M2ActionToolMenuItem.class/class/onClick..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,6 @@ | ||
clicking | ||
onClick: anM2DrawingContext | ||
onClick: anM2Context | ||
| previousTool | | ||
previousTool := anM2DrawingContext activeTool. | ||
super onClick: anM2DrawingContext. | ||
anM2DrawingContext activeTool: previousTool | ||
previousTool := anM2Context activeTool. | ||
super onClick: anM2Context. | ||
anM2Context activeTool: previousTool |
4 changes: 2 additions & 2 deletions
4
...s/SketchMorph2-MenuItems.package/M2CheckBoxMenuItem.class/class/getMenuItemForContext..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,9 @@ | ||
instance creation | ||
getMenuItemForContext: anM2DrawingContext | ||
getMenuItemForContext: anM2Context | ||
^ PluggableCheckBoxMorph new | ||
actionSelector: self actionSelector; | ||
label: self label; | ||
valueSelector: self valueSelector; | ||
model: (self target: anM2DrawingContext); | ||
model: (self target: anM2Context); | ||
installButton; | ||
yourself |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2CheckBoxMenuItem.class/class/target..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 @@ | ||
accessing | ||
target: anM2DrawingContext | ||
target: anM2Context | ||
self subclassResponsibility |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2FillArea.class/class/createTool.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 @@ | ||
tool | ||
createTool | ||
^ M2FillAreaTool new | ||
^ M2FillAreaTool new |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2FillArea.class/class/toolName.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 @@ | ||
tool | ||
toolName | ||
^ #fillArea | ||
^ #fillArea |
4 changes: 2 additions & 2 deletions
4
packages/SketchMorph2-MenuItems.package/M2FillGeometricForm.class/class/target..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 @@ | ||
accessing | ||
target: anM2DrawingContext | ||
^ anM2DrawingContext | ||
target: anM2Context | ||
^ anM2Context |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2FlipHorizontal.class/class/icon.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 @@ | ||
accessing | ||
icon | ||
^ MorphicMonetIcons flipHorizontalIcon | ||
^ MorphicMonetIcons flipHorizontalIcon |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2FlipHorizontal.class/class/label.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 @@ | ||
accessing | ||
label | ||
^ 'Flip Horizontal' | ||
^ 'Flip Horizontal' |
12 changes: 6 additions & 6 deletions
12
packages/SketchMorph2-MenuItems.package/M2FlipMenuItem.class/class/onClick..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,11 +1,11 @@ | ||
clicking | ||
onClick: anM2DrawingContext | ||
onClick: anM2Context | ||
| selectTool | | ||
selectTool := anM2DrawingContext | ||
selectTool := anM2Context | ||
cachedTool: #select | ||
ifAbsent: [^ anM2DrawingContext morphicMonet clickMenuItemWith: M2SelectRectangle label]. | ||
ifAbsent: [^ anM2Context morphicMonet clickMenuItemWith: M2SelectRectangle label]. | ||
selectTool isShapeDrawn ifTrue: [ | ||
super onClick: anM2DrawingContext. | ||
(self tool: anM2DrawingContext) mirrorUsing: selectTool. | ||
anM2DrawingContext activeTool: selectTool. | ||
super onClick: anM2Context. | ||
(self tool: anM2Context) mirrorUsing: selectTool. | ||
anM2Context activeTool: selectTool. | ||
selectTool afterMirror] |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2FlipVertical.class/class/icon.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 @@ | ||
accessing | ||
icon | ||
^ MorphicMonetIcons flipVerticalIcon | ||
^ MorphicMonetIcons flipVerticalIcon |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2FlipVertical.class/class/label.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 @@ | ||
accessing | ||
label | ||
^ 'Flip Vertical' | ||
^ 'Flip Vertical' |
4 changes: 2 additions & 2 deletions
4
packages/SketchMorph2-MenuItems.package/M2IconMenuItem.class/class/getMenuItemForContext..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
packages/SketchMorph2-MenuItems.package/M2IconMenuItem.class/class/onClick..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 @@ | ||
clicking | ||
onClick: anM2DrawingContext | ||
onClick: anM2Context | ||
self subclassResponsibility |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2MenuItem.class/class/getMenuItemForContext..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 | ||
getMenuItemForContext: anM2DrawingContext | ||
getMenuItemForContext: anM2Context | ||
^ self subclassResponsibility |
2 changes: 1 addition & 1 deletion
2
packages/SketchMorph2-MenuItems.package/M2Pipette.class/class/createTool.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 @@ | ||
accessing | ||
createTool | ||
^ M2PipetteTool new | ||
^ M2PipetteTool new |
6 changes: 3 additions & 3 deletions
6
packages/SketchMorph2-MenuItems.package/M2SelectToolMenuItem.class/class/onClick..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 @@ | ||
clicking | ||
onClick: anM2DrawingContext | ||
super onClick: anM2DrawingContext. | ||
anM2DrawingContext cachedTool: #select put: (self tool: anM2DrawingContext) | ||
onClick: anM2Context | ||
super onClick: anM2Context. | ||
anM2Context cachedTool: #select put: (self tool: anM2Context) |
Oops, something went wrong.