author | Claus Gittinger <cg@exept.de> |
Thu, 22 Dec 2005 17:55:14 +0100 | |
changeset 2074 | 043bdbb49ef4 |
parent 1795 | 19dee5013803 |
child 2123 | 5247deafa7ef |
permissions | -rw-r--r-- |
88 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
93 | 3 |
All Rights Reserved |
88 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
1594 | 13 |
"{ Package: 'stx:libview2' }" |
14 |
||
77 | 15 |
LayoutOrigin subclass:#LayoutFrame |
191 | 16 |
instanceVariableNames:'rightFraction bottomFraction rightOffset bottomOffset' |
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'Graphics-Geometry' |
|
77 | 20 |
! |
21 |
||
88 | 22 |
!LayoutFrame class methodsFor:'documentation'! |
23 |
||
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
93 | 27 |
All Rights Reserved |
88 | 28 |
|
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
93 | 38 |
documentation |
39 |
" |
|
40 |
This class is provided to make porting of existing ST-80 applications |
|
41 |
easier. Instances can be used to control the geometry of a subview, within |
|
42 |
its superview. Like a layoutOrigin, it controls the origin of a component |
|
43 |
by given fraction and offset dimensions; in addition, the bottom-right |
|
44 |
corner is also controlled by corresponding values. Therefore, the components |
|
45 |
preferredExtent is ignored. |
|
46 |
||
47 |
See also: |
|
219 | 48 |
LayoutOrigin AlignmentOrigin Layout |
93 | 49 |
|
229 | 50 |
Notice: |
51 |
this class was implemented using protocol information |
|
52 |
from alpha testers - it may not be complete or compatible to |
|
53 |
the corresponding ST-80 class. |
|
54 |
If you encounter any incompatibilities, please forward a note |
|
55 |
describing the incompatibility verbal (i.e. no code) to the ST/X team. |
|
219 | 56 |
|
57 |
[author:] |
|
58 |
Claus Gittinger |
|
229 | 59 |
|
60 |
[see also:] |
|
61 |
View |
|
62 |
LayoutOrigin AlignmentOrigin Layout |
|
63 |
Rectangle Point |
|
94 | 64 |
" |
93 | 65 |
! |
66 |
||
67 |
examples |
|
68 |
" |
|
229 | 69 |
Although the examples below use a button as component, |
70 |
they work of course with any type of subview .... |
|
71 |
||
93 | 72 |
|
229 | 73 |
arrange for the button to be in 0.25 @ 0.25 -> 0.75 @ 0.75. |
74 |
This is the same as with relative origin/corner. |
|
75 |
[exBegin] |
|
76 |
|top button| |
|
93 | 77 |
|
229 | 78 |
top := StandardSystemView new. |
79 |
top extent:300@300. |
|
93 | 80 |
|
229 | 81 |
button := Button label:'component'. |
82 |
top add:button in:(LayoutFrame new |
|
83 |
leftFraction:0.25; |
|
84 |
topFraction:0.25; |
|
85 |
rightFraction:0.75; |
|
86 |
bottomFraction:0.75). |
|
87 |
||
88 |
top open |
|
89 |
[exEnd] |
|
93 | 90 |
|
91 |
||
92 |
like above, but adds additional offset to the origin: |
|
229 | 93 |
This is the same as with relative origin/corner |
94 |
and setting left & right insets. |
|
95 |
[exBegin] |
|
96 |
|top button| |
|
93 | 97 |
|
229 | 98 |
top := StandardSystemView new. |
99 |
top extent:300@300. |
|
93 | 100 |
|
229 | 101 |
button := Button label:'component'. |
102 |
top add:button in:(LayoutFrame new |
|
103 |
leftFraction:0.25; leftOffset:10; |
|
104 |
topFraction:0.25; topOffset:-20; |
|
105 |
rightFraction:0.75; |
|
106 |
bottomFraction:0.75). |
|
93 | 107 |
|
229 | 108 |
top open |
109 |
[exEnd] |
|
93 | 110 |
|
111 |
||
229 | 112 |
like above, with offsets on all edges, |
113 |
actually simulating a constant inset on all four edges: |
|
114 |
[exBegin] |
|
115 |
|top button| |
|
93 | 116 |
|
229 | 117 |
top := StandardSystemView new. |
118 |
top extent:300@300. |
|
93 | 119 |
|
229 | 120 |
button := Button label:'component'. |
121 |
top add:button in:(LayoutFrame new |
|
122 |
leftFraction:0.0; leftOffset:10; |
|
123 |
topFraction:0.0; topOffset:10; |
|
124 |
rightFraction:1.0; rightOffset:-10; |
|
125 |
bottomFraction:1.0; bottomOffset:-10). |
|
93 | 126 |
|
229 | 127 |
top open |
128 |
[exEnd] |
|
93 | 129 |
" |
88 | 130 |
! ! |
131 |
||
426 | 132 |
!LayoutFrame class methodsFor:'instance creation'! |
133 |
||
134 |
leftFraction:lF offset:lO rightFraction:rF offset:rO topFraction:tF offset:tO bottomFraction:bF offset:bO |
|
135 |
"create a new layoutFrame" |
|
136 |
||
137 |
^ self new |
|
138 |
leftFraction:lF offset:lO |
|
139 |
rightFraction:rF offset:rO |
|
140 |
topFraction:tF offset:tO |
|
141 |
bottomFraction:bF offset:bO |
|
142 |
||
143 |
||
144 |
||
545
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
145 |
! |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
146 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
147 |
leftOffset:lO rightOffset:rO topOffset:tO bottomOffset:bO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
148 |
"create a new layoutFrame" |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
149 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
150 |
^ self new |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
151 |
leftOffset:lO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
152 |
rightOffset:rO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
153 |
topOffset:tO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
154 |
bottomOffset:bO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
155 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
156 |
"Created: 18.4.1997 / 20:14:44 / cg" |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
157 |
! |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
158 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
159 |
leftOffset:lO topOffset:tO rightOffset:rO bottomOffset:bO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
160 |
"create a new layoutFrame" |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
161 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
162 |
^ self leftOffset:lO rightOffset:rO topOffset:tO bottomOffset:bO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
163 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
164 |
"Modified: 18.4.1997 / 20:15:23 / cg" |
1795 | 165 |
! |
166 |
||
167 |
origin:origin corner:corner |
|
168 |
"create a new layoutFrame from an oldStyle origin-corner rectangle. |
|
169 |
Added to make migration from Rectangles to LayoutFrames easier." |
|
170 |
||
171 |
|leftFraction leftOffset rightFraction rightOffset |
|
172 |
topFraction topOffset bottomFraction bottomOffset |
|
173 |
orgX orgY cornerX cornerY| |
|
174 |
||
175 |
orgX := origin x. |
|
176 |
orgY := origin y. |
|
177 |
cornerX := corner x. |
|
178 |
cornerY := corner y. |
|
179 |
leftFraction := leftOffset := 0. |
|
180 |
orgX isInteger ifTrue:[ |
|
181 |
leftOffset := orgX |
|
182 |
] ifFalse:[ |
|
183 |
leftFraction := orgX. |
|
184 |
]. |
|
185 |
orgY isInteger ifTrue:[ |
|
186 |
topOffset := orgY |
|
187 |
] ifFalse:[ |
|
188 |
topFraction := orgY. |
|
189 |
]. |
|
190 |
cornerX isInteger ifTrue:[ |
|
191 |
rightOffset := cornerX |
|
192 |
] ifFalse:[ |
|
193 |
rightFraction := cornerX. |
|
194 |
]. |
|
195 |
cornerY isInteger ifTrue:[ |
|
196 |
bottomOffset := cornerY |
|
197 |
] ifFalse:[ |
|
198 |
bottomFraction := cornerY. |
|
199 |
]. |
|
200 |
^ self |
|
201 |
leftFraction:leftFraction offset:leftOffset |
|
202 |
rightFraction:rightFraction offset:rightOffset |
|
203 |
topFraction:topFraction offset:rightOffset |
|
204 |
bottomFraction:bottomFraction offset:bottomOffset |
|
426 | 205 |
! ! |
206 |
||
77 | 207 |
!LayoutFrame methodsFor:'accessing'! |
208 |
||
126 | 209 |
bottomFraction |
210 |
"return bottomFraction" |
|
211 |
||
212 |
^ bottomFraction |
|
213 |
! |
|
214 |
||
215 |
bottomFraction:something |
|
216 |
"set bottomFraction" |
|
217 |
||
218 |
bottomFraction := something. |
|
219 |
! |
|
220 |
||
221 |
bottomFraction:something offset:o |
|
222 |
"set bottomFraction and offset" |
|
77 | 223 |
|
126 | 224 |
bottomFraction := something. |
225 |
bottomOffset := o |
|
226 |
! |
|
227 |
||
275 | 228 |
bottomInset:pixels |
229 |
"set bottomOffset for an inset at the bottom" |
|
230 |
||
231 |
bottomOffset := pixels negated. |
|
232 |
||
233 |
"Created: 26.5.1996 / 17:38:30 / cg" |
|
234 |
! |
|
235 |
||
126 | 236 |
bottomOffset |
237 |
"return bottomOffset" |
|
238 |
||
239 |
^ bottomOffset |
|
240 |
! |
|
241 |
||
242 |
bottomOffset:something |
|
243 |
"set bottomOffset" |
|
244 |
||
245 |
bottomOffset := something. |
|
77 | 246 |
! |
247 |
||
275 | 248 |
horizontalInset:aNumber |
249 |
"setup the offsets for insetting horizontally the frame aNumber pixels |
|
250 |
at all sides" |
|
251 |
||
252 |
leftOffset := aNumber. |
|
253 |
rightOffset := aNumber negated. |
|
254 |
||
255 |
"Created: 26.5.1996 / 17:39:35 / cg" |
|
256 |
! |
|
257 |
||
258 |
inset:aNumber |
|
259 |
"setup the offsets for insetting the frame aNumber pixels |
|
260 |
at all sides" |
|
261 |
||
262 |
topOffset := leftOffset := aNumber. |
|
263 |
rightOffset := bottomOffset := aNumber negated. |
|
264 |
||
265 |
"Created: 26.5.1996 / 17:36:49 / cg" |
|
266 |
! |
|
267 |
||
425 | 268 |
leftFraction:lF offset:lO rightFraction:rF offset:rO topFraction:tF offset:tO bottomFraction:bF offset:bO |
269 |
"set all fields" |
|
270 |
||
271 |
leftFraction := lF. |
|
272 |
rightFraction := rF. |
|
273 |
topFraction := tF. |
|
274 |
bottomFraction := bF. |
|
275 |
leftOffset := lO. |
|
276 |
rightOffset := rO. |
|
277 |
topOffset := tO. |
|
278 |
bottomOffset := bO. |
|
279 |
||
280 |
! |
|
281 |
||
1597 | 282 |
leftOffset:lO rightOffset:rO |
283 |
"set the horizontal offset fields" |
|
284 |
||
285 |
leftOffset := lO. |
|
286 |
rightOffset := rO. |
|
287 |
! |
|
288 |
||
545
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
289 |
leftOffset:lO rightOffset:rO topOffset:tO bottomOffset:bO |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
290 |
"set all offset fields" |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
291 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
292 |
leftOffset := lO. |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
293 |
rightOffset := rO. |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
294 |
topOffset := tO. |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
295 |
bottomOffset := bO. |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
296 |
|
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
297 |
"Created: 18.4.1997 / 20:16:08 / cg" |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
298 |
! |
0b9d704baeae
more access & inst-creation methods
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
299 |
|
77 | 300 |
rightFraction |
301 |
"return rightFraction" |
|
302 |
||
303 |
^ rightFraction |
|
304 |
! |
|
305 |
||
126 | 306 |
rightFraction:something |
307 |
"set rightFraction" |
|
77 | 308 |
|
126 | 309 |
rightFraction := something. |
77 | 310 |
! |
311 |
||
312 |
rightFraction:something offset:o |
|
313 |
"set rightFraction and offset" |
|
314 |
||
315 |
rightFraction := something. |
|
316 |
rightOffset := o |
|
317 |
! |
|
318 |
||
275 | 319 |
rightInset:pixels |
320 |
"set rightOffset for an inset at the right" |
|
321 |
||
322 |
rightOffset := pixels negated. |
|
323 |
||
324 |
"Created: 26.5.1996 / 17:38:38 / cg" |
|
325 |
! |
|
326 |
||
126 | 327 |
rightOffset |
328 |
"return rightOffset" |
|
77 | 329 |
|
126 | 330 |
^ rightOffset |
77 | 331 |
! |
332 |
||
126 | 333 |
rightOffset:something |
334 |
"set rightOffset" |
|
335 |
||
336 |
rightOffset := something. |
|
275 | 337 |
! |
338 |
||
1594 | 339 |
topOffset:newTopOffset bottomOffset:newBottomOffset |
340 |
topOffset := newTopOffset. |
|
341 |
bottomOffset := newBottomOffset. |
|
342 |
! |
|
343 |
||
275 | 344 |
verticalInset:aNumber |
345 |
"setup the offsets for insetting vertically the frame aNumber pixels |
|
346 |
at all sides" |
|
347 |
||
348 |
topOffset := aNumber. |
|
349 |
bottomOffset := aNumber negated. |
|
350 |
||
351 |
"Created: 26.5.1996 / 17:39:50 / cg" |
|
126 | 352 |
! ! |
353 |
||
354 |
!LayoutFrame methodsFor:'converting'! |
|
355 |
||
356 |
fromLiteralArrayEncoding:encoding |
|
357 |
"read my values from an encoding. |
|
358 |
The encoding is supposed to be of the form: |
|
359 |
(LayoutFrame orgOffsX relOrgX orgOffsY relOrgY cornOffsX relCornX cornOffsY relCornY) |
|
360 |
This is the reverse to literalArrayEncoding." |
|
77 | 361 |
|
126 | 362 |
leftOffset := encoding at:2. |
363 |
leftFraction := encoding at:3. |
|
364 |
topOffset := encoding at:4. |
|
365 |
topFraction := encoding at:5. |
|
366 |
rightOffset := encoding at:6. |
|
367 |
rightFraction := encoding at:7. |
|
368 |
bottomOffset := encoding at:8. |
|
369 |
bottomFraction := encoding at:9. |
|
370 |
||
371 |
" |
|
372 |
LayoutFrame new fromLiteralArrayEncoding:#(#LayoutFrame 70 0 2 0 0 1 25 0 ) |
|
373 |
#(#LayoutFrame 70 0 2 0 0 1 25 0 ) decodeAsLiteralArray |
|
374 |
" |
|
77 | 375 |
! |
376 |
||
126 | 377 |
literalArrayEncoding |
191 | 378 |
"encode myself as an array, from which a copy of the receiver |
379 |
can be reconstructed with #decodeAsLiteralArray. |
|
126 | 380 |
The encoding is: |
191 | 381 |
(#LayoutOrigin orgOffsX relOrgX orgOffsY relOrgY cornOffsX relCornX cornOffsY relCornY)" |
77 | 382 |
|
126 | 383 |
^ super literalArrayEncoding |
384 |
, (Array |
|
191 | 385 |
with:rightOffset |
386 |
with:rightFraction |
|
387 |
with:bottomOffset |
|
388 |
with:bottomFraction) |
|
77 | 389 |
|
126 | 390 |
"Modified: 1.9.1995 / 02:43:35 / claus" |
191 | 391 |
"Modified: 22.4.1996 / 13:00:17 / cg" |
77 | 392 |
! ! |
393 |
||
126 | 394 |
!LayoutFrame methodsFor:'initialization'! |
395 |
||
396 |
initialize |
|
397 |
leftOffset := rightOffset := bottomOffset := topOffset := 0. |
|
398 |
leftFraction := topFraction := 0. |
|
468 | 399 |
"/ bottomFraction := rightFraction := 1. |
400 |
bottomFraction := rightFraction := 0. |
|
401 |
||
402 |
"Modified: 1.3.1997 / 16:12:50 / cg" |
|
126 | 403 |
! ! |
77 | 404 |
|
83 | 405 |
!LayoutFrame methodsFor:'printing & storing'! |
406 |
||
407 |
displayString |
|
700 | 408 |
"return a printed representation of the receiver for displaying" |
409 |
||
83 | 410 |
^ (self class name) , '(' |
700 | 411 |
, 'l: ' , leftFraction displayString |
412 |
, '+' , leftOffset displayString |
|
413 |
, ' t: ' , topFraction displayString |
|
414 |
, '+' , topOffset displayString |
|
415 |
, ' r: ' , rightFraction displayString |
|
416 |
, '+' , rightOffset displayString |
|
417 |
, ' b: ' , bottomFraction displayString |
|
418 |
, '+' , bottomOffset displayString |
|
419 |
, ')' |
|
420 |
||
421 |
"Modified: 20.9.1997 / 11:40:14 / cg" |
|
83 | 422 |
! ! |
423 |
||
77 | 424 |
!LayoutFrame methodsFor:'queries'! |
425 |
||
126 | 426 |
corner |
427 |
^ rightFraction asFloat @ bottomFraction asFloat |
|
428 |
! |
|
429 |
||
416 | 430 |
isLayoutFrame |
431 |
"return true, if this is a layoutFrame" |
|
432 |
||
433 |
^ true |
|
434 |
||
435 |
||
436 |
! |
|
437 |
||
949
0eb888b21192
prefRect may now be a valueHolder or block
Claus Gittinger <cg@exept.de>
parents:
700
diff
changeset
|
438 |
rectangleRelativeTo:superRectangle preferred:prefRectHolder |
229 | 439 |
"compute the rectangle represented by the receiver, |
440 |
given the superViews rectangle and the views preferredExtent." |
|
441 |
||
498 | 442 |
|x1 y1 x2 y2 superWidth superHeight| |
77 | 443 |
|
1039 | 444 |
x1 := x2 := superRectangle left. |
445 |
y1 := y2 := superRectangle top. |
|
446 |
||
447 |
leftOffset notNil ifTrue:[ |
|
448 |
x1 := x1 + leftOffset value |
|
77 | 449 |
]. |
1039 | 450 |
topOffset notNil ifTrue:[ |
451 |
y1 := y1 + topOffset value |
|
77 | 452 |
]. |
1039 | 453 |
rightOffset notNil ifTrue:[ |
454 |
x2 := x2 + rightOffset value |
|
455 |
]. |
|
456 |
bottomOffset notNil ifTrue:[ |
|
457 |
y2 := y2 + bottomOffset value |
|
77 | 458 |
]. |
498 | 459 |
|
77 | 460 |
leftFraction notNil ifTrue:[ |
498 | 461 |
superWidth := superRectangle width. |
1601 | 462 |
x1 := x1 + (superWidth * leftFraction value) |
77 | 463 |
]. |
464 |
topFraction notNil ifTrue:[ |
|
498 | 465 |
superHeight := superRectangle height. |
1601 | 466 |
y1 := y1 + (superHeight * topFraction value) |
77 | 467 |
]. |
468 |
rightFraction notNil ifTrue:[ |
|
498 | 469 |
superWidth isNil ifTrue:[superWidth := superRectangle width]. |
1601 | 470 |
x2 := x2 + (superWidth * rightFraction value) |
77 | 471 |
]. |
472 |
bottomFraction notNil ifTrue:[ |
|
498 | 473 |
superHeight isNil ifTrue:[superHeight := superRectangle height]. |
1601 | 474 |
y2 := y2 + (superHeight * bottomFraction value) |
77 | 475 |
]. |
242 | 476 |
^ Rectangle left:x1 top:y1 right:x2 bottom:y2 |
83 | 477 |
|
478 |
" |
|
479 |
|superRect lF| |
|
480 |
||
498 | 481 |
superRect := 0@0 corner:99@99. |
83 | 482 |
lF := (LayoutFrame new). |
483 |
lF leftFraction:0.25; |
|
229 | 484 |
topFraction:0.25; |
485 |
rightFraction:0.75; |
|
486 |
bottomFraction:0.75. |
|
83 | 487 |
lF rectangleRelativeTo:superRect preferred:(0@0 corner:30@30) |
488 |
" |
|
229 | 489 |
|
949
0eb888b21192
prefRect may now be a valueHolder or block
Claus Gittinger <cg@exept.de>
parents:
700
diff
changeset
|
490 |
"Created: / 6.3.1997 / 21:07:51 / cg" |
1039 | 491 |
"Modified: / 13.8.1998 / 18:33:59 / cg" |
77 | 492 |
! ! |
100 | 493 |
|
126 | 494 |
!LayoutFrame class methodsFor:'documentation'! |
100 | 495 |
|
126 | 496 |
version |
1795 | 497 |
^ '$Header: /cvs/stx/stx/libview2/LayoutFrame.st,v 1.30 2003-08-28 09:47:14 cg Exp $' |
100 | 498 |
! ! |