343
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
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 |
|
|
13 |
|
|
14 |
|
|
15 |
Object subclass:#TabWidget
|
|
16 |
instanceVariableNames:'tabView label origin extent inset'
|
|
17 |
classVariableNames:''
|
|
18 |
poolDictionaries:''
|
|
19 |
category:'Views-Interactors'
|
|
20 |
!
|
|
21 |
|
|
22 |
TabWidget subclass:#Folder
|
|
23 |
instanceVariableNames:''
|
|
24 |
classVariableNames:''
|
|
25 |
poolDictionaries:''
|
|
26 |
privateIn:TabWidget
|
|
27 |
!
|
|
28 |
|
|
29 |
TabWidget subclass:#Window
|
|
30 |
instanceVariableNames:''
|
|
31 |
classVariableNames:''
|
|
32 |
poolDictionaries:''
|
|
33 |
privateIn:TabWidget
|
|
34 |
!
|
|
35 |
|
|
36 |
TabWidget subclass:#Mac
|
|
37 |
instanceVariableNames:''
|
|
38 |
classVariableNames:''
|
|
39 |
poolDictionaries:''
|
|
40 |
privateIn:TabWidget
|
|
41 |
!
|
|
42 |
|
|
43 |
!TabWidget class methodsFor:'documentation'!
|
|
44 |
|
|
45 |
copyright
|
|
46 |
"
|
|
47 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
48 |
All Rights Reserved
|
|
49 |
|
|
50 |
This software is furnished under a license and may be used
|
|
51 |
only in accordance with the terms of that license and with the
|
|
52 |
inclusion of the above copyright notice. This software may not
|
|
53 |
be provided or otherwise made available to, or used by, any
|
|
54 |
other person. No title to or ownership of the software is
|
|
55 |
hereby transferred.
|
|
56 |
"
|
|
57 |
|
|
58 |
|
|
59 |
!
|
|
60 |
|
|
61 |
documentation
|
|
62 |
"
|
|
63 |
instances represent (& draw) the tabs of a tabWidget.
|
|
64 |
|
|
65 |
[author:]
|
|
66 |
Claus Atzkern
|
|
67 |
|
|
68 |
[see also:]
|
|
69 |
TabView
|
|
70 |
"
|
|
71 |
! !
|
|
72 |
|
|
73 |
!TabWidget class methodsFor:'instance creation'!
|
|
74 |
|
|
75 |
label:aLabel for:aTabView
|
|
76 |
"create tab
|
|
77 |
"
|
|
78 |
^ self new label:aLabel for:aTabView
|
|
79 |
! !
|
|
80 |
|
|
81 |
!TabWidget class methodsFor:'accessing'!
|
|
82 |
|
|
83 |
tabStyleOn:aView
|
|
84 |
"returns default tab style
|
|
85 |
"
|
|
86 |
|style selectedColor unselectedColor|
|
|
87 |
|
|
88 |
style := IdentityDictionary new.
|
|
89 |
selectedColor := Color gray:90.
|
|
90 |
unselectedColor := Color gray:75.
|
|
91 |
|
|
92 |
style at:#widget put:self.
|
|
93 |
|
|
94 |
style at:#shadowColorSelected
|
|
95 |
put:((selectedColor averageColorIn:(0@0 corner:7@7)) darkened on:aView device).
|
|
96 |
|
|
97 |
style at:#lightColorSelected
|
|
98 |
put:((selectedColor averageColorIn:(0@0 corner:7@7)) lightened on:aView device).
|
|
99 |
|
|
100 |
style at:#shadowColorUnselected
|
|
101 |
put:((unselectedColor averageColorIn:(0@0 corner:7@7)) darkened on:aView device).
|
|
102 |
|
|
103 |
style at:#lightColorUnselected
|
|
104 |
put:((unselectedColor averageColorIn:(0@0 corner:7@7)) lightened on:aView device).
|
|
105 |
|
|
106 |
style at:#unselectedColor put:unselectedColor.
|
|
107 |
style at:#selectedColor put:selectedColor.
|
|
108 |
style at:#labelColor put:(Color black).
|
|
109 |
|
|
110 |
style at:#vspace put:0. "/ vertical tab space
|
|
111 |
style at:#hspace put:0. "/ horizontal tab space
|
|
112 |
style at:#leftOverLap put:0. "/ right tab overlaps left tab n pixels
|
|
113 |
style at:#lableTopInset put:4. "/ additional top label inset
|
|
114 |
style at:#labelBottomInset put:4. "/ additional bottom inset
|
|
115 |
style at:#expandSelection put:0@0. "/ expand selection extent x y when raised
|
|
116 |
style at:#fixedLabelSize put:false. "/ true: label size derives from preferred extent
|
|
117 |
|
|
118 |
|
|
119 |
^ style
|
|
120 |
!
|
|
121 |
|
|
122 |
widgetClass:aWidget
|
|
123 |
|wdg nm|
|
|
124 |
|
|
125 |
nm := aWidget asString.
|
|
126 |
|
|
127 |
(wdg := Smalltalk classNamed:(self name asString, '::', nm)) notNil ifTrue:[
|
|
128 |
^ wdg
|
|
129 |
].
|
|
130 |
^ Smalltalk classNamed:nm
|
|
131 |
! !
|
|
132 |
|
|
133 |
!TabWidget class methodsFor:'constants'!
|
|
134 |
|
|
135 |
defaultExtent
|
|
136 |
^ 80 @ 25
|
|
137 |
|
|
138 |
|
|
139 |
!
|
|
140 |
|
|
141 |
labelLeftInset
|
|
142 |
^ 4
|
|
143 |
! !
|
|
144 |
|
|
145 |
!TabWidget methodsFor:'accessing'!
|
|
146 |
|
|
147 |
extent
|
|
148 |
"return the tab extent
|
|
149 |
"
|
|
150 |
^ extent
|
|
151 |
!
|
|
152 |
|
|
153 |
extent:anExtent
|
|
154 |
"change the tab extent; no redraw
|
|
155 |
"
|
|
156 |
extent := anExtent
|
|
157 |
!
|
|
158 |
|
|
159 |
inset
|
|
160 |
"returns the bottom inset starting from 1.0
|
|
161 |
"
|
|
162 |
^ inset
|
|
163 |
!
|
|
164 |
|
|
165 |
inset:anInset
|
|
166 |
"change the bottom inset starting from 1.0; no redraw
|
|
167 |
"
|
|
168 |
inset := anInset
|
|
169 |
!
|
|
170 |
|
|
171 |
labelOrigin
|
|
172 |
"returns origin of label
|
|
173 |
"
|
|
174 |
^ (self labelOriginWithinFrame)
|
|
175 |
+ ((tabView styleAt:#leftOverLap) @ (tabView styleAt:#lableTopInset))
|
|
176 |
!
|
|
177 |
|
|
178 |
origin
|
|
179 |
"returns the tab origin
|
|
180 |
"
|
|
181 |
^ origin
|
|
182 |
|
|
183 |
!
|
|
184 |
|
|
185 |
origin:anOrigin
|
|
186 |
"change the tab origin; no redraw
|
|
187 |
"
|
|
188 |
origin := anOrigin
|
|
189 |
|
|
190 |
!
|
|
191 |
|
|
192 |
origin:anOrigin extent:anExtent inset:anInset
|
|
193 |
"change origin, extent and bottom inset starting from 1.0; no redraw
|
|
194 |
"
|
|
195 |
origin := anOrigin.
|
|
196 |
extent := anExtent.
|
|
197 |
inset := anInset.
|
|
198 |
|
|
199 |
|
|
200 |
!
|
|
201 |
|
|
202 |
preferredExtent
|
|
203 |
"returns my preferred extent
|
|
204 |
"
|
|
205 |
|x y|
|
|
206 |
|
|
207 |
label isNil ifTrue:[
|
|
208 |
^ self class defaultExtent
|
|
209 |
].
|
|
210 |
x := 2 + (label widthOn:tabView).
|
|
211 |
y := (label heightOn:tabView)
|
|
212 |
+ (tabView styleAt:#labelBottomInset)
|
|
213 |
+ (tabView styleAt:#lableTopInset).
|
|
214 |
|
|
215 |
^ ((self labelOrigin) + (x@y))
|
|
216 |
! !
|
|
217 |
|
|
218 |
!TabWidget methodsFor:'drawing'!
|
|
219 |
|
|
220 |
redraw:isSelected
|
|
221 |
"full redraw
|
|
222 |
"
|
|
223 |
|p y|
|
|
224 |
|
|
225 |
self redrawSelected:isSelected.
|
|
226 |
tabView paintColor:#labelColor.
|
|
227 |
p := origin + self labelOrigin.
|
|
228 |
y := p y.
|
|
229 |
|
|
230 |
label isString ifTrue:[
|
|
231 |
y := y + tabView font ascent
|
|
232 |
].
|
|
233 |
label displayOn:tabView x:(p x) y:y.
|
|
234 |
! !
|
|
235 |
|
|
236 |
!TabWidget methodsFor:'initialization'!
|
|
237 |
|
|
238 |
label:aLabel for:aTabView
|
|
239 |
"initialize attributes
|
|
240 |
"
|
|
241 |
tabView := aTabView.
|
|
242 |
label := aLabel.
|
|
243 |
! !
|
|
244 |
|
|
245 |
!TabWidget methodsFor:'queries'!
|
|
246 |
|
|
247 |
containsPoint:aPoint
|
|
248 |
"return true, if the aPoint is contained in the tab
|
|
249 |
"
|
|
250 |
|x|
|
|
251 |
|
|
252 |
x := aPoint x.
|
|
253 |
|
|
254 |
(x > origin x and:[aPoint y > origin y]) ifTrue:[
|
|
255 |
^ x < (origin x + extent x)
|
|
256 |
].
|
|
257 |
^ false.
|
|
258 |
! !
|
|
259 |
|
|
260 |
!TabWidget methodsFor:'redefine'!
|
|
261 |
|
|
262 |
labelOriginWithinFrame
|
|
263 |
"returns the offset from origin to the origin of the label
|
|
264 |
"
|
|
265 |
^ (self class labelLeftInset) @ 0
|
|
266 |
|
|
267 |
!
|
|
268 |
|
|
269 |
redrawSelected:isSelected
|
|
270 |
"full redraw excluding the label
|
|
271 |
"
|
|
272 |
^ self subclassResponsibility
|
|
273 |
!
|
|
274 |
|
|
275 |
styleChanged:anIdentifier to:someThing
|
|
276 |
"any style changed; could be redifined in subclass
|
|
277 |
"
|
|
278 |
|dark light|
|
|
279 |
|
|
280 |
anIdentifier == #selectedColor ifTrue:[
|
|
281 |
dark := #shadowColorSelected.
|
|
282 |
light := #lightColorSelected.
|
|
283 |
] ifFalse:[
|
|
284 |
anIdentifier == #unselectedColor ifFalse:[
|
|
285 |
^ self
|
|
286 |
].
|
|
287 |
dark := #shadowColorUnselected.
|
|
288 |
light := #lightColorUnselected.
|
|
289 |
].
|
|
290 |
tabView styleAt:dark put:((someThing averageColorIn:(0@0 corner:7@7)) darkened on:tabView device).
|
|
291 |
tabView styleAt:light put:((someThing averageColorIn:(0@0 corner:7@7)) lightened on:tabView device).
|
|
292 |
|
|
293 |
! !
|
|
294 |
|
|
295 |
!TabWidget::Folder class methodsFor:'accessing'!
|
|
296 |
|
|
297 |
tabStyleOn:aView
|
|
298 |
|style|
|
|
299 |
|
|
300 |
style := super tabStyleOn:aView.
|
|
301 |
|
|
302 |
style at:#hspace put:2.
|
|
303 |
style at:#vspace put:2.
|
|
304 |
style at:#labelBottomInset put:10.
|
|
305 |
style at:#expandSelection put:4@8.
|
|
306 |
|
|
307 |
^ style
|
|
308 |
|
|
309 |
|
|
310 |
! !
|
|
311 |
|
|
312 |
!TabWidget::Folder class methodsFor:'constants'!
|
|
313 |
|
|
314 |
folderTabSize
|
|
315 |
^ 4@4
|
|
316 |
|
|
317 |
|
|
318 |
! !
|
|
319 |
|
|
320 |
!TabWidget::Folder methodsFor:'redefined'!
|
|
321 |
|
|
322 |
labelOriginWithinFrame
|
|
323 |
|org|
|
|
324 |
|
|
325 |
org := super labelOriginWithinFrame.
|
|
326 |
org y:(org y + self class folderTabSize y).
|
|
327 |
^ org
|
|
328 |
|
|
329 |
!
|
|
330 |
|
|
331 |
redrawSelected:isSelected
|
|
332 |
"full redraw; excluding the label
|
|
333 |
"
|
|
334 |
|lightColor shadowColor polygon fs x y y1 y2 x1 x2 x3 eX eY level|
|
|
335 |
|
|
336 |
polygon := Array new:8.
|
|
337 |
x := origin x.
|
|
338 |
y := origin y.
|
|
339 |
eX := x + extent x - 1.
|
|
340 |
eY := tabView extent y - inset.
|
|
341 |
fs := self class folderTabSize.
|
|
342 |
x1 := fs x.
|
|
343 |
y1 := fs y.
|
|
344 |
y2 := y + y1.
|
|
345 |
x3 := x + x1.
|
|
346 |
x2 := 10.
|
|
347 |
level := 2.
|
|
348 |
|
|
349 |
polygon at:1 put:(Point x:x y:eY).
|
|
350 |
polygon at:2 put:(Point x:x y:y2).
|
|
351 |
polygon at:3 put:(Point x:x3 y:y).
|
|
352 |
polygon at:4 put:(Point x:(x3+x2) y:y).
|
|
353 |
polygon at:5 put:(Point x:(x3+x2+x1) y:y2).
|
|
354 |
polygon at:6 put:(Point x:(eX-x1) y:y2).
|
|
355 |
polygon at:7 put:(Point x:(eX) y:(y2+y1)).
|
|
356 |
polygon at:8 put:(Point x:(eX) y:eY).
|
|
357 |
|
|
358 |
isSelected ifFalse:[
|
|
359 |
tabView paintColor:#unselectedColor.
|
|
360 |
lightColor := tabView styleAt:#lightColorUnselected.
|
|
361 |
shadowColor := tabView styleAt:#shadowColorUnselected.
|
|
362 |
] ifTrue:[
|
|
363 |
tabView paintColor:#selectedColor.
|
|
364 |
lightColor := tabView styleAt:#lightColorSelected.
|
|
365 |
shadowColor := tabView styleAt:#shadowColorSelected.
|
|
366 |
].
|
|
367 |
|
|
368 |
tabView fillPolygon:polygon.
|
|
369 |
tabView paint:lightColor.
|
|
370 |
|
|
371 |
0 to:level do:[:i|
|
|
372 |
tabView displayLineFromX:(x+i) y:(eY) toX:(x+i) y:(y2).
|
|
373 |
tabView displayLineFromX:(x+1) y:(y2+i-1) toX:(x3+1) y:(y+i-1).
|
|
374 |
tabView displayLineFromX:(x3+1) y:(y+i) toX:(x3+x2) y:(y+i).
|
|
375 |
tabView displayLineFromX:(x3+x2) y:(y+i) toX:(x3+x2+x1) y:(y2+i).
|
|
376 |
tabView displayLineFromX:(x3+x2+x1) y:(y2+i) toX:(eX-x1) y:(y2+i).
|
|
377 |
].
|
|
378 |
|
|
379 |
tabView paint:shadowColor.
|
|
380 |
0 to:level do:[:i|
|
|
381 |
tabView displayLineFromX:(eX-x1) y:(y2+i+1) toX:eX y:(y2+y1+i).
|
|
382 |
tabView displayLineFromX:(eX-i) y:(y2+y1) toX:(eX-i) y:(eY).
|
|
383 |
tabView displayPointX:eX-x1-i y:y2+level
|
|
384 |
].
|
|
385 |
|
|
386 |
|
|
387 |
! !
|
|
388 |
|
|
389 |
!TabWidget::Window class methodsFor:'accessing'!
|
|
390 |
|
|
391 |
tabStyleOn:aView
|
|
392 |
|style col|
|
|
393 |
|
|
394 |
style := super tabStyleOn:aView.
|
|
395 |
|
|
396 |
style at:#fixedLabelSize put:true.
|
|
397 |
style at:#tabLevel put:2.
|
|
398 |
style at:#roundedEdges put:true.
|
|
399 |
style at:#expandSelection put:4@4.
|
|
400 |
|
|
401 |
^ style
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
! !
|
|
406 |
|
|
407 |
!TabWidget::Window methodsFor:'redifined'!
|
|
408 |
|
|
409 |
labelOriginWithinFrame
|
|
410 |
|org|
|
|
411 |
|
|
412 |
org := super labelOriginWithinFrame.
|
|
413 |
^ org + (tabView styleAt:#tabLevel)
|
|
414 |
|
|
415 |
|
|
416 |
!
|
|
417 |
|
|
418 |
redrawSelected:isSelected
|
|
419 |
"redraw; set fill-color to aColor.
|
|
420 |
"
|
|
421 |
|polygon color y x ext xR yB tabLevel light roundedEdges shadowColor lightColor|
|
|
422 |
|
|
423 |
ext := (extent x) @ (tabView extent y - inset).
|
|
424 |
x := origin x.
|
|
425 |
y := origin y.
|
|
426 |
xR := x + ext x - 1.
|
|
427 |
yB := ext y - 1.
|
|
428 |
|
|
429 |
roundedEdges := tabView styleAt:#roundedEdges.
|
|
430 |
tabLevel := tabView styleAt:#tabLevel.
|
|
431 |
|
|
432 |
isSelected ifFalse:[
|
|
433 |
color := tabView styleAt:#unselectedColor.
|
|
434 |
shadowColor := tabView styleAt:#shadowColorUnselected.
|
|
435 |
lightColor := tabView styleAt:#lightColorUnselected.
|
|
436 |
] ifTrue:[
|
|
437 |
color := tabView styleAt:#selectedColor.
|
|
438 |
shadowColor := tabView styleAt:#shadowColorSelected.
|
|
439 |
lightColor := tabView styleAt:#lightColorSelected.
|
|
440 |
yB := yB + 1
|
|
441 |
].
|
|
442 |
|
|
443 |
|
|
444 |
tabView paint:color.
|
|
445 |
tabView fillRectangle:(Rectangle left:x top:y extent:ext).
|
|
446 |
|
|
447 |
roundedEdges ifTrue:[
|
|
448 |
tabView displayLineFromX:x y:y-1 toX:xR y:y-1.
|
|
449 |
tabView displayLineFromX:x+1 y:y-2 toX:xR-1 y:y-2.
|
|
450 |
tabView displayLineFromX:x+2 y:y-3 toX:xR-2 y:y-3.
|
|
451 |
|
|
452 |
tabView paint:lightColor.
|
|
453 |
|
|
454 |
0 to:tabLevel-1 do:[:i |
|
|
455 |
tabView displayPointX:x+i y:y-1.
|
|
456 |
tabView displayPointX:x+1+i y:y-1-1.
|
|
457 |
tabView displayLineFromX:x+2+i y:y-3-i toX:xR-1-i y:y-3-i. "/ top
|
|
458 |
].
|
|
459 |
|
|
460 |
tabView paint:shadowColor.
|
|
461 |
0 to:tabLevel-1 do:[:i |
|
|
462 |
tabView displayPointX:xR-i y:y.
|
|
463 |
tabView displayPointX:xR-i y:y-1.
|
|
464 |
tabView displayPointX:xR-1-i y:y-1-1.
|
|
465 |
].
|
|
466 |
tabView displayPointX:xR-2 y:y-1-1-1.
|
|
467 |
tabView displayPointX:xR-3 y:y-1-1-1.
|
|
468 |
].
|
|
469 |
|
|
470 |
tabView paint:lightColor.
|
|
471 |
0 to:tabLevel-1 do:[:i |
|
|
472 |
roundedEdges ifFalse:[
|
|
473 |
tabView displayLineFromX:x y:y+i toX:xR y:y+i. "/ upper edge
|
|
474 |
].
|
|
475 |
tabView displayLineFromX:x+i y:y toX:x+i y:yB. "/ left edge
|
|
476 |
].
|
|
477 |
tabView paint:shadowColor.
|
|
478 |
0 to:tabLevel-1 do:[:i |
|
|
479 |
tabView displayLineFromX:xR-i y:y+i toX:xR-i y:yB. "/ right edge
|
|
480 |
].
|
|
481 |
|
|
482 |
isSelected ifFalse:[
|
|
483 |
"/ bottom edge
|
|
484 |
tabView paint:lightColor.
|
|
485 |
tabView displayLineFromX:x-tabLevel-1 y:yB toX:xR+tabLevel+1 y:yB. "/ bottom edge
|
|
486 |
] ifTrue:[
|
|
487 |
"/ tabView paintColor:#labelColor.
|
|
488 |
"/ tabView lineStyle:#dashed.
|
|
489 |
"/ tabView displayRectangle:((origin extent:extent) insetBy:(3@4)).
|
|
490 |
"/ tabView lineStyle:#solid
|
|
491 |
]
|
|
492 |
|
|
493 |
|
|
494 |
! !
|
|
495 |
|
|
496 |
!TabWidget::Mac class methodsFor:'accessing'!
|
|
497 |
|
|
498 |
tabStyleOn:aView
|
|
499 |
|style col|
|
|
500 |
|
|
501 |
style := super tabStyleOn:aView.
|
|
502 |
|
|
503 |
style at:#fixedLabelSize put:true.
|
|
504 |
style at:#leftOverLap put:10.
|
|
505 |
^ style
|
|
506 |
|
|
507 |
|
|
508 |
! !
|
|
509 |
|
|
510 |
!TabWidget::Mac class methodsFor:'constants'!
|
|
511 |
|
|
512 |
rightInset
|
|
513 |
^ 25 "/ 23
|
|
514 |
! !
|
|
515 |
|
|
516 |
!TabWidget::Mac methodsFor:'redefine'!
|
|
517 |
|
|
518 |
preferredExtent
|
|
519 |
|
|
520 |
^ (super preferredExtent) + ((self class rightInset) @ 0).
|
|
521 |
!
|
|
522 |
|
|
523 |
redrawSelected:isSelected
|
|
524 |
"full redraw; excluding the label
|
|
525 |
"
|
|
526 |
|polygon x y x1 eX eY color shadowColor lightColor|
|
|
527 |
|
|
528 |
isSelected ifFalse:[
|
|
529 |
color := tabView styleAt:#unselectedColor.
|
|
530 |
shadowColor := tabView styleAt:#shadowColorUnselected.
|
|
531 |
lightColor := tabView styleAt:#lightColorUnselected.
|
|
532 |
] ifTrue:[
|
|
533 |
color := tabView styleAt:#selectedColor.
|
|
534 |
shadowColor := tabView styleAt:#shadowColorSelected.
|
|
535 |
lightColor := tabView styleAt:#lightColorSelected.
|
|
536 |
].
|
|
537 |
|
|
538 |
polygon := Array new:5.
|
|
539 |
x := origin x.
|
|
540 |
y := origin y.
|
|
541 |
eX := x + extent x - 1.
|
|
542 |
eY := tabView extent y - inset.
|
|
543 |
x1 := eX - self class rightInset.
|
|
544 |
|
|
545 |
polygon at:1 put:(Point x:x y:eY).
|
|
546 |
polygon at:2 put:(Point x:x y:y).
|
|
547 |
polygon at:3 put:(Point x:x1 y:y).
|
|
548 |
polygon at:4 put:(Point x:eX y:(y+extent y)).
|
|
549 |
polygon at:5 put:(Point x:eX y:eY).
|
|
550 |
|
|
551 |
tabView paint:color.
|
|
552 |
tabView fillPolygon:polygon.
|
|
553 |
|
|
554 |
tabView paint:lightColor.
|
|
555 |
tabView displayLineFromX:x+1 y:eY toX:x+1 y:y+1.
|
|
556 |
tabView displayLineFromX:x+1 y:y+1 toX:x1-1 y:y+1.
|
|
557 |
|
|
558 |
tabView paintColor:#labelColor.
|
|
559 |
tabView displayPolygon:polygon.
|
|
560 |
|
|
561 |
isSelected ifFalse:[
|
|
562 |
tabView paint:shadowColor.
|
|
563 |
tabView displayLineFromX:x y:eY-1 toX:eX y:eY-1.
|
|
564 |
]
|
|
565 |
|
|
566 |
|
|
567 |
! !
|
|
568 |
|
|
569 |
!TabWidget class methodsFor:'documentation'!
|
|
570 |
|
|
571 |
version
|
|
572 |
^ '$Header: /cvs/stx/stx/libwidg2/TabWidget.st,v 1.1 1997-04-03 17:35:04 ca Exp $'
|
|
573 |
! !
|