-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
26 additions
and
45 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
Mooflod.package/MfFractalCircleElement.class/class/exampleSimpleFractalCircle.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,14 @@ | ||
example | ||
exampleSimpleFractalCircle | ||
|
||
<script> | ||
| c space | | ||
c := MfFractalCircleElement new. | ||
c setValue: 100. | ||
space := BlSpace new. | ||
space root layout: BlFlowLayout horizontal. | ||
c transformDo: [ :c | c translateBy: 200 @ 150 ]. | ||
space toTheme: MfMooflodTheme new. | ||
space root addChild: c. | ||
space show. | ||
^ c |
2 changes: 1 addition & 1 deletion
2
Mooflod.package/MfFractalCircleElement.class/instance/circleExtent.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 @@ | ||
as yet unclassified | ||
initialization | ||
circleExtent | ||
|
||
^ 390 @ 390 |
2 changes: 1 addition & 1 deletion
2
Mooflod.package/MfFractalCircleElement.class/instance/createCircle.y..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 @@ | ||
as yet unclassified | ||
internal | ||
createCircle: x y: anY | ||
|
||
| c | | ||
|
2 changes: 1 addition & 1 deletion
2
Mooflod.package/MfFractalCircleElement.class/instance/createCircle.y.color..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 @@ | ||
as yet unclassified | ||
internal | ||
createCircle: x y: anY color: aColor | ||
|
||
| c color | | ||
|
2 changes: 1 addition & 1 deletion
2
...ircleElement.class/instance/nbOfChilds.st → ...Element.class/instance/numberOfCircles.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 @@ | ||
accessing | ||
nbOfChilds | ||
numberOfCircles | ||
|
||
^nbOfChilds |
11 changes: 0 additions & 11 deletions
11
Mooflod.package/MfFractalCircleElement.class/instance/openFractalCircle..st
This file was deleted.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
Mooflod.package/MfFractalCircleElement.class/instance/setValue..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,7 +1,8 @@ | ||
as yet unclassified | ||
public api | ||
setValue: aValue | ||
|
||
(aValue between: 0 and: 100) ifTrue: [ self value: aValue ] | ||
ifFalse: [ self value: 100 ]. | ||
(aValue between: 0 and: 100) | ||
ifTrue: [ value := aValue ] | ||
ifFalse: [ value := 100 ]. | ||
nbOfChilds := value / 4. | ||
self updateCircles |
2 changes: 1 addition & 1 deletion
2
Mooflod.package/MfFractalCircleElement.class/instance/updateCircles.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 @@ | ||
as yet unclassified | ||
internal | ||
updateCircles | ||
|
||
| c | | ||
|
4 changes: 0 additions & 4 deletions
4
Mooflod.package/MfFractalCircleElement.class/instance/value..st
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
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.
8 changes: 0 additions & 8 deletions
8
Mooflod.package/MfFractalCircleExamples.class/class/exampleSimpleFractalCircle.st
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
Mooflod.package/MfFractalCircleExamples.class/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