-
Notifications
You must be signed in to change notification settings - Fork 6
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
109 changed files
with
4,421 additions
and
541 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
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,7 @@ | ||
Extension { #name : #BlBasicLayout } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlBasicLayout >> setLayoutOn: aPyramidLayoutInputPresenter [ | ||
BlBasicLayout >> asIcon [ | ||
|
||
aPyramidLayoutInputPresenter setBasic | ||
^ self iconNamed: #radioButtonUnselected | ||
] |
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 @@ | ||
Extension { #name : #BlBottomAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlBottomAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectEnd. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #BlFrameLayout } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlFrameLayout >> asIcon [ | ||
|
||
^ self iconNamed: #windowMaximize | ||
] |
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 @@ | ||
Extension { #name : #BlHorizontalCenterAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalCenterAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectCenter. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
9 changes: 9 additions & 0 deletions
9
src/Pyramid-Bloc/BlHorizontalCoordinateEndAlignment.extension.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 @@ | ||
Extension { #name : #BlHorizontalCoordinateEndAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalCoordinateEndAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectCenter. | ||
aFrameConstraintsPresenter inputHasRelative state: true. | ||
aFrameConstraintsPresenter inputRelative value: self coordinate negated | ||
] |
11 changes: 11 additions & 0 deletions
11
src/Pyramid-Bloc/BlHorizontalCoordinateLeftAlignment.extension.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 @@ | ||
Extension { #name : #BlHorizontalCoordinateLeftAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalCoordinateLeftAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectStart. | ||
aFrameConstraintsPresenter inputHasRelative | ||
state: true. | ||
aFrameConstraintsPresenter inputRelative | ||
value: self coordinate | ||
] |
9 changes: 9 additions & 0 deletions
9
src/Pyramid-Bloc/BlHorizontalCoordinateRightAlignment.extension.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 @@ | ||
Extension { #name : #BlHorizontalCoordinateRightAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalCoordinateRightAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectEnd. | ||
aFrameConstraintsPresenter inputHasRelative state: true. | ||
aFrameConstraintsPresenter inputRelative value: self coordinate | ||
] |
9 changes: 9 additions & 0 deletions
9
src/Pyramid-Bloc/BlHorizontalCoordinateStartAlignment.extension.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 @@ | ||
Extension { #name : #BlHorizontalCoordinateStartAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalCoordinateStartAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectCenter. | ||
aFrameConstraintsPresenter inputHasRelative state: true. | ||
aFrameConstraintsPresenter inputRelative value: self coordinate | ||
] |
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 @@ | ||
Extension { #name : #BlHorizontalEndAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalEndAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectEnd. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
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 @@ | ||
Extension { #name : #BlHorizontalStartAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlHorizontalStartAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectStart. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #BlLinearLayout } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlLinearLayout >> asIcon [ | ||
|
||
^ self iconNamed: #smallLeftFlush | ||
] |
13 changes: 13 additions & 0 deletions
13
src/Pyramid-Bloc/BlLinearLayoutHorizontalOrientation.extension.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,13 @@ | ||
Extension { #name : #BlLinearLayoutHorizontalOrientation } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlLinearLayoutHorizontalOrientation >> asBooleanForPyramid [ | ||
|
||
^ false | ||
] | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlLinearLayoutHorizontalOrientation >> switchOrientation [ | ||
|
||
^ BlLinearLayoutVerticalOrientation new | ||
] |
13 changes: 13 additions & 0 deletions
13
src/Pyramid-Bloc/BlLinearLayoutVerticalOrientation.extension.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,13 @@ | ||
Extension { #name : #BlLinearLayoutVerticalOrientation } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlLinearLayoutVerticalOrientation >> asBooleanForPyramid [ | ||
|
||
^ true | ||
] | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlLinearLayoutVerticalOrientation >> switchOrientation [ | ||
|
||
^ BlLinearLayoutHorizontalOrientation new | ||
] |
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 @@ | ||
Extension { #name : #BlNullHorizontalAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlNullHorizontalAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectNull. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
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 @@ | ||
Extension { #name : #BlNullVerticalAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlNullVerticalAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectNull. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
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,7 @@ | ||
Extension { #name : #BlProportionalLayout } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlProportionalLayout >> setLayoutOn: aPyramidLayoutInputPresenter [ | ||
BlProportionalLayout >> asIcon [ | ||
|
||
aPyramidLayoutInputPresenter setProportionnal | ||
^ self iconNamed: #haloScale | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Extension { #name : #BlTopAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlTopAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectStart. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
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 @@ | ||
Extension { #name : #BlVerticalCenterAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlVerticalCenterAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectCenter. | ||
aFrameConstraintsPresenter inputHasRelative state: false. | ||
aFrameConstraintsPresenter inputRelative value: 0 | ||
] |
9 changes: 9 additions & 0 deletions
9
src/Pyramid-Bloc/BlVerticalCoordinateBottomAlignment.extension.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 @@ | ||
Extension { #name : #BlVerticalCoordinateBottomAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlVerticalCoordinateBottomAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectEnd. | ||
aFrameConstraintsPresenter inputHasRelative state: true. | ||
aFrameConstraintsPresenter inputRelative value: self coordinate | ||
] |
9 changes: 9 additions & 0 deletions
9
src/Pyramid-Bloc/BlVerticalCoordinateTopAlignment.extension.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 @@ | ||
Extension { #name : #BlVerticalCoordinateTopAlignment } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
BlVerticalCoordinateTopAlignment >> pyramidSelectOn: aFrameConstraintsPresenter [ | ||
|
||
aFrameConstraintsPresenter selectStart. | ||
aFrameConstraintsPresenter inputHasRelative state: true. | ||
aFrameConstraintsPresenter inputRelative value: self coordinate | ||
] |
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,13 @@ | ||
Extension { #name : #False } | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
False >> asOrientationForPyramid [ | ||
False >> asOrientationForFlowPyramid [ | ||
|
||
^ BlLayoutOrientation horizontal | ||
] | ||
|
||
{ #category : #'*Pyramid-Bloc' } | ||
False >> asOrientationForLinearPyramid [ | ||
|
||
^ BlLinearLayoutHorizontalOrientation new | ||
] |
Oops, something went wrong.