8000 Added <return:...> pragma to examples. · feenkcom/Bloc@c41ab58 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit c41ab58

Browse files
committed
Added <return:...> pragma to examples.
1 parent 4923b75 commit c41ab58

File tree

119 files changed

+9655
-8361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+9655
-8361
lines changed

src/Bloc-Compositor-Examples/BlCompositionPainterExamples.class.st

Lines changed: 417 additions & 570 deletions
Large diffs are not rendered by default.

src/Bloc-Compositor-Examples/BlCompositionPainterRepaintingEffectExamples.class.st

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ Class {
77
{ #category : #accessing }
88
BlCompositionPainterRepaintingEffectExamples >> paintFirstTime [
99
<gtExample>
10+
<return: #BlScripter>
1011
| aScripter |
11-
1212
aScripter := self scripter.
1313
aScripter setElement: self scripterElement.
14-
14+
1515
aScripter check
1616
label: 'Validate shadow element has a composition layer';
1717
satisfies: [ :anElement | anElement shadow wantsSeparateCompositingLayer ];
1818
playNoPulse.
19-
19+
2020
aScripter do
2121
label: 'Perform layout';
2222
action: [ :aSpace | aSpace doLayout ];
2323
onSpace;
2424
playNoPulse.
25-
25+
2626
aScripter do
2727
label: 'Paint space the first time';
28-
action: [ :theScripter |
28+
action: [ :theScripter |
2929
theScripter userData
3030
at: #firstRootLayer
3131
put: (BlCompositionPainter repaintSpace: theScripter space) ];
@@ -42,15 +42,15 @@ BlCompositionPainterRepaintingEffectExamples >> paintFirstTime [
4242
label: 'Validate shadow element wants a composition layer';
4343
satisfies: [ :anElement | anElement shadow hasCompositionLayer ];
4444
playNoPulse.
45-
45+
4646
^ aScripter
4747
]
4848

4949
{ #category : #accessing }
5050
BlCompositionPainterRepaintingEffectExamples >> removeShadowEffect [
5151
<gtExample>
52+
<return: #BlScripter>
5253
| aScripter |
53-
5454
aScripter := self paintFirstTime.
5555
aScripter do
5656
label: 'Remove shadow effect from the element';

src/Bloc-Compositor-Examples/BlCompositionPainterRepaintingExamples.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Class {
77
{ #category : #'instance creation' }
88
BlCompositionPainterRepaintingExamples >> scripter [
99
<gtExample>
10-
10+
<return: #BlScripter>
1111
^ BlScripter new
1212
]
1313

1414
{ #category : #'instance creation' }
1515
BlCompositionPainterRepaintingExamples >> scripterElement [
1616
<gtExample>
17-
17+
<return: #BCompositionExampleElementWithMultipleLayersAndTransformation>
1818
^ BCompositionExampleElementWithMultipleLayersAndTransformation new
1919
]

0 commit comments

Comments
 (0)
0