Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor protocol corrections. #46

Merged
merged 4 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/RenoirSt-Core/CssColor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CssColor >> componentsDo: aBlockClosure separatedBy: aSeparationBlock [
self subclassResponsibility
]

{ #category : #Printing }
{ #category : #printing }
CssColor >> cssContentOn: aWriteStream [
aWriteStream
nextPutAll: self functionName;
Expand All @@ -29,7 +29,7 @@ CssColor >> functionName [
self subclassResponsibility
]

{ #category : #Converting }
{ #category : #converting }
CssColor >> identifiedBy: aString [

^CssIdentifiedColor representing: self identifiedBy: aString
Expand Down
4 changes: 2 additions & 2 deletions source/RenoirSt-Core/CssColorUnit.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Class {
#category : #'RenoirSt-Core-Colors'
}

{ #category : #Converting }
{ #category : #converting }
CssColorUnit >> identifiedBy: aString [

self subclassResponsibility
]

{ #category : #Converting }
{ #category : #converting }
CssColorUnit >> newWithAlpha: alphaValue [

self subclassResponsibility
Expand Down
4 changes: 2 additions & 2 deletions source/RenoirSt-Core/CssHSLColor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CssHSLColor >> functionName [
^ alphaChannel functionNameFor: 'hsl'
]

{ #category : #'initialize-release' }
{ #category : #initialization }
CssHSLColor >> initializeHue: aHueValueInDegrees saturation: aSaturationPercentage lightness: aLightnessPercentage alphaChannel: aCssAlphaChannel [

hue := aHueValueInDegrees.
Expand All @@ -68,7 +68,7 @@ CssHSLColor >> initializeHue: aHueValueInDegrees saturation: aSaturationPercenta
alphaChannel := aCssAlphaChannel
]

{ #category : #Converting }
{ #category : #converting }
CssHSLColor >> newWithAlpha: alphaValue [

^ self class
Expand Down
4 changes: 2 additions & 2 deletions source/RenoirSt-Core/CssRGBColor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CssRGBColor >> functionName [
^ alphaChannel functionNameFor: 'rgb'
]

{ #category : #'initialize-release' }
{ #category : #initialization }
CssRGBColor >> initializeRed: aRedComponent green: aGreenComponent blue: aBlueComponent alphaChannel: theAlphaChannelInfo [

redComponent := aRedComponent.
Expand All @@ -68,7 +68,7 @@ CssRGBColor >> initializeRed: aRedComponent green: aGreenComponent blue: aBlueCo
alphaChannel := theAlphaChannelInfo
]

{ #category : #'as yet unclassified' }
{ #category : #converting }
CssRGBColor >> newWithAlpha: alphaValue [

^ self class
Expand Down
2 changes: 1 addition & 1 deletion source/RenoirSt-Tests/CssTypeSelectorTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ CssTypeSelectorTest >> testBuildingShortcut [
{ #category : #Tests }
CssTypeSelectorTest >> testPrintString [

self assert: (CssTypeSelector ofType: 'h1') printString = 'h1'
self assert: (CssTypeSelector ofType: 'h1') printString equals: 'h1'
]