Skip to content

Commit

Permalink
Remove equality that are now on Bloc + fix toTheme class selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyan11 committed Mar 8, 2024
1 parent 1f93199 commit 483b67c
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 79 deletions.
7 changes: 0 additions & 7 deletions src/Pyramid-Bloc/BlBackground.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #BlBackground }

{ #category : #'*Pyramid-Bloc' }
BlBackground >> = aBlBackground [

aBlBackground == self ifTrue: [ ^ true ].
^ aBlBackground class = self class
]

{ #category : #'*Pyramid-Bloc' }
BlBackground >> asForm [

Expand Down
8 changes: 0 additions & 8 deletions src/Pyramid-Bloc/BlEllipseGeometry.extension.st

This file was deleted.

11 changes: 0 additions & 11 deletions src/Pyramid-Bloc/BlFlowLayout.extension.st
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
Extension { #name : #BlFlowLayout }

{ #category : #'*Pyramid-Bloc' }
BlFlowLayout >> = anObject [

self == anObject ifTrue: [ ^ true ].
self class = anObject class ifFalse: [ ^ false ].
self orientation = anObject orientation ifFalse: [ ^ false ].
self horizontalAlignment = anObject horizontalAlignment ifFalse: [ ^ false ].
self verticalAlignment = anObject verticalAlignment ifFalse: [ ^ false ].
^ true
]

{ #category : #'*Pyramid-Bloc' }
BlFlowLayout >> asIcon [

Expand Down
8 changes: 0 additions & 8 deletions src/Pyramid-Bloc/BlGradientPaint.extension.st
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
Extension { #name : #BlGradientPaint }

{ #category : #'*Pyramid-Bloc' }
BlGradientPaint >> = aBlPaint [

self == aBlPaint ifTrue: [ ^ true ].
self class == aBlPaint class ifFalse: [ ^ false ].
^ self stops = aBlPaint stops
]

{ #category : #'*Pyramid-Bloc' }
BlGradientPaint >> asForm [

Expand Down
7 changes: 0 additions & 7 deletions src/Pyramid-Bloc/BlImageBackground.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #BlImageBackground }

{ #category : #'*Pyramid-Bloc' }
BlImageBackground >> = aBlBackground [

super = aBlBackground ifFalse: [ ^ false ].
^ self image = aBlBackground image
]

{ #category : #'*Pyramid-Bloc' }
BlImageBackground >> asForm [

Expand Down
7 changes: 0 additions & 7 deletions src/Pyramid-Bloc/BlLayout.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #BlLayout }

{ #category : #'*Pyramid-Bloc' }
BlLayout >> = anObject [

self == anObject ifTrue: [ ^ true ].
^ self class = anObject class
]

{ #category : #'*Pyramid-Bloc' }
BlLayout >> asIcon [

Expand Down
7 changes: 0 additions & 7 deletions src/Pyramid-Bloc/BlLinearGradientPaint.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #BlLinearGradientPaint }

{ #category : #'*Pyramid-Bloc' }
BlLinearGradientPaint >> = aBlPaint [

super = aBlPaint ifFalse: [ ^ false ].
^ self end = aBlPaint end and: [ self start = aBlPaint start ]
]

{ #category : #'*Pyramid-Bloc' }
BlLinearGradientPaint >> selectOnGradientPaintInput: aPyramidGradientPaintInputPresenter [

Expand Down
7 changes: 0 additions & 7 deletions src/Pyramid-Bloc/BlRadialGradientPaint.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #BlRadialGradientPaint }

{ #category : #'*Pyramid-Bloc' }
BlRadialGradientPaint >> = aBlPaint [

super = aBlPaint ifFalse: [ ^ false ].
^ self innerCenter = aBlPaint innerCenter and: [ self innerRadius = aBlPaint innerRadius and: [ self outerCenter = aBlPaint outerCenter and: [ self outerRadius = aBlPaint outerRadius ] ] ]
]

{ #category : #'*Pyramid-Bloc' }
BlRadialGradientPaint >> selectOnGradientPaintInput: aPyramidGradientPaintInputPresenter [

Expand Down
8 changes: 0 additions & 8 deletions src/Pyramid-Bloc/BlRectangleGeometry.extension.st

This file was deleted.

8 changes: 0 additions & 8 deletions src/Pyramid-Bloc/BlRoundedRectangleGeometry.extension.st

This file was deleted.

2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidThemeSelectorPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ PyramidThemeSelectorPresenter >> labelPresenter [
PyramidThemeSelectorPresenter >> selectTheme: aToTheme [

self triggerThemeChangement: false.
self themeSelector selectItem: aToTheme class.
self themeSelector selectItem: aToTheme.
self triggerThemeChangement: true.

]
Expand Down

0 comments on commit 483b67c

Please sign in to comment.