|
1 | 1 | Extension { #name : #BlVisibilityGone } |
2 | 2 |
|
3 | 3 | { #category : #'*Pyramid-Bloc' } |
4 | | -BlVisibilityGone >> asIcon [ |
| 4 | +BlVisibilityGone >> asString [ |
5 | 5 |
|
6 | | - ^ self iconNamed: #haloDismiss |
| 6 | + ^ 'gone' |
7 | 7 | ] |
8 | 8 |
|
9 | 9 | { #category : #'*Pyramid-Bloc' } |
10 | | -BlVisibilityGone >> asString [ |
| 10 | +BlVisibilityGone class >> blocIcon [ |
| 11 | + "This class has been generated using Pyramid. |
11 | 12 |
|
12 | | - ^ 'gone' |
| 13 | + By: YannLEGOFF |
| 14 | + 2024-08-02 09:26:40" |
| 15 | + |
| 16 | + <pyStash> |
| 17 | + ^ [ |
| 18 | + | blinsets1 | |
| 19 | + blinsets1 := BlInsets |
| 20 | + top: 0.0 |
| 21 | + right: 2.0 |
| 22 | + bottom: 0.0 |
| 23 | + left: 0.0. |
| 24 | + { (BlElement new |
| 25 | + geometry: BlRectangleGeometry new; |
| 26 | + constraintsDo: [ :constraints | |
| 27 | + constraints horizontal exact: 24.0. |
| 28 | + constraints vertical exact: 12.0 ]; |
| 29 | + layout: BlLinearLayout horizontal; |
| 30 | + addChildren: { |
| 31 | + (BlElement new |
| 32 | + background: (BlPaintBackground new |
| 33 | + paint: (BlColorPaint new |
| 34 | + color: (Color |
| 35 | + r: 0.5728250244379277 |
| 36 | + g: 0.8191593352883676 |
| 37 | + b: 1.0 |
| 38 | + alpha: 1.0); |
| 39 | + yourself); |
| 40 | + opacity: 1.0; |
| 41 | + yourself); |
| 42 | + border: (BlBorderBuilder new |
| 43 | + paint: (BlColorPaint new |
| 44 | + color: (Color |
| 45 | + r: 0.0 |
| 46 | + g: 0.0 |
| 47 | + b: 0.0 |
| 48 | + alpha: 1.0); |
| 49 | + yourself); |
| 50 | + build); |
| 51 | + geometry: BlRectangleGeometry new; |
| 52 | + constraintsDo: [ :constraints | |
| 53 | + constraints horizontal matchParent. |
| 54 | + constraints vertical matchParent. |
| 55 | + constraints margin: blinsets1 ]; |
| 56 | + id: #B; |
| 57 | + yourself). |
| 58 | + (BlElement new |
| 59 | + background: (BlPaintBackground new |
| 60 | + paint: (BlColorPaint new |
| 61 | + color: (Color |
| 62 | + r: 0.5728250244379277 |
| 63 | + g: 0.8191593352883676 |
| 64 | + b: 1.0 |
| 65 | + alpha: 1.0); |
| 66 | + yourself); |
| 67 | + opacity: 1.0; |
| 68 | + yourself); |
| 69 | + border: (BlBorderBuilder new |
| 70 | + paint: (BlColorPaint new |
| 71 | + color: (Color |
| 72 | + r: 0.0 |
| 73 | + g: 0.0 |
| 74 | + b: 0.0 |
| 75 | + alpha: 1.0); |
| 76 | + yourself); |
| 77 | + build); |
| 78 | + geometry: BlRectangleGeometry new; |
| 79 | + constraintsDo: [ :constraints | |
| 80 | + constraints horizontal matchParent. |
| 81 | + constraints vertical matchParent. |
| 82 | + constraints margin: blinsets1 ]; |
| 83 | + id: #C; |
| 84 | + yourself). |
| 85 | + (BlElement new |
| 86 | + background: (BlPaintBackground new |
| 87 | + paint: (BlColorPaint new |
| 88 | + color: (Color |
| 89 | + r: 0.5728250244379277 |
| 90 | + g: 0.8191593352883676 |
| 91 | + b: 1.0 |
| 92 | + alpha: 1.0); |
| 93 | + yourself); |
| 94 | + opacity: 1.0; |
| 95 | + yourself); |
| 96 | + border: (BlBorderBuilder new |
| 97 | + paint: (BlColorPaint new |
| 98 | + color: (Color |
| 99 | + r: 0.0 |
| 100 | + g: 0.0 |
| 101 | + b: 0.0 |
| 102 | + alpha: 1.0); |
| 103 | + yourself); |
| 104 | + build); |
| 105 | + geometry: BlRectangleGeometry new; |
| 106 | + visibility: BlVisibility hidden; |
| 107 | + constraintsDo: [ :constraints | |
| 108 | + constraints horizontal matchParent. |
| 109 | + constraints vertical matchParent ]; |
| 110 | + id: #D; |
| 111 | + yourself) }; |
| 112 | + id: #A; |
| 113 | + yourself) } ] value |
13 | 114 | ] |
14 | 115 |
|
15 | 116 | { #category : #'*Pyramid-Bloc' } |
|
0 commit comments