-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change toolbar buttons to normal buttons of Stage title.
- Loading branch information
1 parent
41fc6b9
commit 4012343
Showing
77 changed files
with
348 additions
and
146 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
1 change: 1 addition & 0 deletions
1
filetree/FromScratch-Tests.package/ScratchStepperMorphTest.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
An AlgoritStepperMorphTest is a test class for testing the behavior of AlgoritStepperMorph |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch-Tests.package/ScratchStepperMorphTest.class/instance/newMorph.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 @@ | ||
private | ||
newMorph | ||
^ ScratchStepperMorph new |
3 changes: 3 additions & 0 deletions
3
...e/FromScratch-Tests.package/ScratchStepperMorphTest.class/instance/testDefaultStepTime.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 @@ | ||
test | ||
testDefaultStepTime | ||
self assert: self newMorph defaultStepTime equals: 100 |
7 changes: 7 additions & 0 deletions
7
filetree/FromScratch-Tests.package/ScratchStepperMorphTest.class/instance/testStepTime.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 @@ | ||
test | ||
testStepTime | ||
| s | | ||
s := self newMorph. | ||
self assert: s stepTime equals: s defaultStepTime. | ||
s stepTime: 123. | ||
self assert: s stepTime equals: 123 |
11 changes: 11 additions & 0 deletions
11
filetree/FromScratch-Tests.package/ScratchStepperMorphTest.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,11 @@ | ||
{ | ||
"commentStamp" : "<historical>", | ||
"super" : "TestCase", | ||
"category" : "FromScratch-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "ScratchStepperMorphTest", | ||
"type" : "normal" | ||
} |
2 changes: 1 addition & 1 deletion
2
filetree/FromScratch-Tests.package/ScratchTranslatorTest.class/instance/newFont1.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 @@ | ||
private | ||
newFont1 | ||
^ StrikeFont fontName: 'Verdana' size: 10 | ||
^ StrikeFont familyName: 'Verdana' size: 10 |
2 changes: 1 addition & 1 deletion
2
filetree/FromScratch.package/CommandBlockMorph.class/instance/isStop.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 @@ | ||
testing | ||
isStop | ||
^ #(stopThread stopAll return: break continue) includes: selector | ||
^ #(stopThread stopAll return: break continue doReturn) includes: selector |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
filetree/FromScratch.package/STONObjStream.class/class/fileVersion.from..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 @@ | ||
accessing | ||
fileVersion: anAppClass from: aStream | ||
"Answer the Scratch file version number from the given string. If the string is of the form: 'ScratchVxx', were xx is a two-digit integer, answer the value of xx. Otherwise, answer 0." | ||
|
||
| str | | ||
str := (aStream next: anAppClass appVersionString size) asString. | ||
(str beginsWith: anAppClass appVersionTag) | ||
ifFalse: [ ^ 0 ]. | ||
^ (str | ||
copyFrom: anAppClass appVersionTag size + 1 | ||
to: str size) asNumberNoError |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/STONObjStream.class/instance/readObjFrom..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,5 @@ | ||
entry points | ||
readObjFrom: aStream | ||
"Read the root object from the given binary stream." | ||
|
||
^ self readObjFrom: aStream showProgress: false |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/STONObjStream.class/instance/readObjFrom.showProgress..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,5 @@ | ||
entry points | ||
readObjFrom: aStream showProgress: aBoolean | ||
| str | | ||
str := aStream upToEnd asString. | ||
^ STON fromString: str |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/STONObjStream.class/instance/storeObj.on..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,5 @@ | ||
entry points | ||
storeObj: anObject on: aStream | ||
| str | | ||
str := STON toString: anObject. | ||
aStream nextPutAll: str asByteArray |
11 changes: 11 additions & 0 deletions
11
filetree/FromScratch.package/STONObjStream.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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "Object", | ||
"category" : "FromScratch-Project", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "STONObjStream", | ||
"type" : "normal" | ||
} |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchBytecodeGenerator.class/instance/bitAnd.with..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 @@ | ||
arithmetic ops | ||
bitAnd: x with: y | ||
^ self binaryCommand: #bitAnd arg1: x arg2: y |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchBytecodeGenerator.class/instance/bitOr.with..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 @@ | ||
arithmetic ops | ||
bitOr: x with: y | ||
^ self binaryCommand: #bitOr arg1: x arg2: y |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchBytecodeGenerator.class/instance/bitShift.left..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 @@ | ||
arithmetic ops | ||
bitShift: x left: y | ||
^ self binaryCommand: #bitShiftLeft arg1: x arg2: y |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchBytecodeGenerator.class/instance/bitShift.right..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 @@ | ||
arithmetic ops | ||
bitShift: x right: y | ||
^ self binaryCommand: #bitShiftRight arg1: x arg2: y |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchBytecodeGenerator.class/instance/bitXor.with..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 @@ | ||
arithmetic ops | ||
bitXor: x with: y | ||
^ self binaryCommand: #bitXor arg1: x arg2: y |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/ScratchCode.class/instance/bitAnd.with..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,5 @@ | ||
arithmetic ops | ||
bitAnd: x with: y | ||
^ generator | ||
bitAnd: [ x argString: parser ] | ||
with: [ y argString: parser ] |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/ScratchCode.class/instance/bitOr.with..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,5 @@ | ||
arithmetic ops | ||
bitOr: x with: y | ||
^ generator | ||
bitOr: [ x argString: parser ] | ||
with: [ y argString: parser ] |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/ScratchCode.class/instance/bitShift.left..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,5 @@ | ||
arithmetic ops | ||
bitShift: x left: y | ||
^ generator | ||
bitShift: [ x argString: parser ] | ||
left: [ y argString: parser ] |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/ScratchCode.class/instance/bitShift.right..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,5 @@ | ||
arithmetic ops | ||
bitShift: x right: y | ||
^ generator | ||
bitShift: [ x argString: parser ] | ||
right: [ y argString: parser ] |
5 changes: 5 additions & 0 deletions
5
filetree/FromScratch.package/ScratchCode.class/instance/bitXor.with..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,5 @@ | ||
arithmetic ops | ||
bitXor: x with: y | ||
^ generator | ||
bitXor: [ x argString: parser ] | ||
with: [ y argString: parser ] |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchScript.class/instance/subHatBlockNamed..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 | ||
subHatBlockNamed: aString | ||
^ self subBlocks detect: [ :each | each subName = aString ] ifNone: [ nil ] |
21 changes: 21 additions & 0 deletions
21
filetree/FromScratch.package/ScratchStackProcess.class/instance/doReturn.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,21 @@ | ||
special ops | ||
doReturn | ||
"Evaluates its argument, and returns the value to the frame from which the current method was called." | ||
|
||
| value args | | ||
args := stackFrame arguments. | ||
|
||
"Evaluate the argument, if necessary." | ||
args size < stackFrame expression argumentCount | ||
ifTrue: [ ^ self evaluateNextArgument ]. | ||
|
||
"Remember the return value." | ||
value := args notEmpty | ||
ifTrue: [ args first ] | ||
ifFalse: [ nil ]. | ||
|
||
"Pop until we're out of frames to pop, or we hit a return marker." | ||
[ stackFrame isNil ] whileFalse: [ self popStackFrame ]. | ||
stackFrame | ||
ifNotNil: [ self returnValueToParentFrame: value. | ||
self popStackFrame ] |
Empty file.
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchStepperMorph.class/instance/defaultStepTime.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 @@ | ||
private | ||
defaultStepTime | ||
^ 100 |
4 changes: 4 additions & 0 deletions
4
filetree/FromScratch.package/ScratchStepperMorph.class/instance/step.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 @@ | ||
stepping and presenter | ||
step | ||
block ifNil: [ ^ self ]. | ||
block value |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchStepperMorph.class/instance/stepTime..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 @@ | ||
stepping | ||
stepTime: anInteger | ||
stepTime := anInteger |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchStepperMorph.class/instance/stepTime.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 @@ | ||
stepping | ||
stepTime | ||
^ stepTime ifNil: [ self defaultStepTime ] |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchStepperMorph.class/instance/wantsSteps.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 @@ | ||
stepping and presenter | ||
wantsSteps | ||
^ true |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/ScratchStepperMorph.class/instance/whenStepsDo..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 | ||
whenStepsDo: aBlock | ||
block := aBlock |
14 changes: 14 additions & 0 deletions
14
filetree/FromScratch.package/ScratchStepperMorph.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,14 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "Morph", | ||
"category" : "FromScratch-Morphic", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"block", | ||
"stepTime" | ||
], | ||
"name" : "ScratchStepperMorph", | ||
"type" : "normal" | ||
} |
2 changes: 1 addition & 1 deletion
2
filetree/FromScratch.package/ScratchTranslator.class/instance/defaultFont.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 @@ | ||
private | ||
defaultFont | ||
^ StrikeFont fontName: 'Verdana' size: 10 | ||
^ StrikeFont familyName: 'Verdana' size: 10 |
3 changes: 1 addition & 2 deletions
3
filetree/FromScratch.package/SpScratchApp.class/instance/stepProcesses.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
Empty file.
9 changes: 9 additions & 0 deletions
9
filetree/FromScratch.package/SpScratchLibrary.class/class/defaultSpec.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 @@ | ||
specs | ||
defaultSpec | ||
^ SpBoxLayout newHorizontal | ||
add: #buttonMain; | ||
add: #buttonOther; | ||
add: #buttonAdd withConstraints: [ :c | c width: self buttonWidth ]; | ||
add: #buttonSelect withConstraints: [ :c | c width: self buttonWidth ]; | ||
add: #buttonDelete withConstraints: [ :c | c width: self buttonWidth ]; | ||
yourself |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/defaultMainButtonName.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 @@ | ||
private | ||
defaultMainButtonName | ||
^ 'main' |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/defaultOtherButtonName.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 @@ | ||
private | ||
defaultOtherButtonName | ||
^ '(none)' |
24 changes: 24 additions & 0 deletions
24
filetree/FromScratch.package/SpScratchLibrary.class/instance/initializePresenters.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,24 @@ | ||
initialization | ||
initializePresenters | ||
buttonMain := self newButton | ||
label: self defaultMainButtonName; | ||
icon: (self iconNamed: #page); | ||
yourself. | ||
buttonOther := self newButton | ||
label: self defaultOtherButtonName; | ||
icon: (self iconNamed: #page); | ||
yourself. | ||
buttonSelect := self newButton | ||
icon: (self iconNamed: #book); | ||
yourself. | ||
buttonAdd := self newButton | ||
icon: (self iconNamed: #add); | ||
yourself. | ||
buttonDelete := self newButton | ||
icon: (self iconNamed: #delete); | ||
yourself. | ||
self focusOrder | ||
add: buttonMain; | ||
add: buttonSelect; | ||
add: buttonAdd; | ||
add: buttonDelete |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/mainLabel.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 | ||
mainLabel | ||
^ buttonMain label asString |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/otherLabel..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 | ||
otherLabel: aString | ||
buttonOther label: aString |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/otherLabel.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 | ||
otherLabel | ||
^ buttonOther label asString |
4 changes: 4 additions & 0 deletions
4
filetree/FromScratch.package/SpScratchLibrary.class/instance/reset.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 | ||
reset | ||
self otherLabel: self defaultOtherButtonName. | ||
self selectButton: self defaultMainButtonName |
4 changes: 4 additions & 0 deletions
4
filetree/FromScratch.package/SpScratchLibrary.class/instance/selectButton..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 | ||
selectButton: aString | ||
buttonMain state: (self mainLabel = aString). | ||
buttonOther state: (self otherLabel = aString) |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/whenAddButtonPressed..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 | ||
whenAddButtonPressed: aBlock | ||
buttonAdd action: aBlock |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/whenDeleteButtonPressed..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 | ||
whenDeleteButtonPressed: aBlock | ||
buttonDelete action: aBlock |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/whenMainButtonPressed..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 | ||
whenMainButtonPressed: aBlock | ||
buttonMain action: aBlock |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/whenOtherButtonPressed..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 | ||
whenOtherButtonPressed: aBlock | ||
buttonOther action: [ aBlock cull: self otherLabel ] |
3 changes: 3 additions & 0 deletions
3
filetree/FromScratch.package/SpScratchLibrary.class/instance/whenSelectButtonPressed..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 | ||
whenSelectButtonPressed: aBlock | ||
buttonSelect action: aBlock |
17 changes: 17 additions & 0 deletions
17
filetree/FromScratch.package/SpScratchLibrary.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,17 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "SpPresenter", | ||
"category" : "FromScratch-Spec2", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"buttonMain", | ||
"buttonSelect", | ||
"buttonAdd", | ||
"buttonDelete", | ||
"buttonOther" | ||
], | ||
"name" : "SpScratchLibrary", | ||
"type" : "normal" | ||
} |
3 changes: 0 additions & 3 deletions
3
filetree/FromScratch.package/StrikeFont.extension/class/fontName.size..st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
filetree/FromScratch.package/StrikeFont.extension/properties.json
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.