564 anything else to draw scrollBars handleForm. |
564 anything else to draw scrollBars handleForm. |
565 Normally, this is defined via styleSheet files, but this entry allows |
565 Normally, this is defined via styleSheet files, but this entry allows |
566 individual views to be manipulated." |
566 individual views to be manipulated." |
567 |
567 |
568 (styleSymbol ~~ handleStyle) ifTrue:[ |
568 (styleSymbol ~~ handleStyle) ifTrue:[ |
569 handleStyle := styleSymbol. |
569 handleStyle := styleSymbol. |
570 handleStyle == #next ifTrue:[ |
570 handleStyle == #next ifTrue:[ |
571 shadowForm := self class shadowFormOn:device. |
571 shadowForm := self class shadowFormOn:device. |
572 lightForm := self class lightFormOn:device. |
572 lightForm := self class lightFormOn:device. |
573 ] ifFalse:[ |
573 ] ifFalse:[ |
574 shadowForm := lightForm := nil |
574 shadowForm := lightForm := nil |
575 ]. |
575 ]. |
576 |
576 |
577 shadowForm notNil ifTrue:[ |
577 shadowForm notNil ifTrue:[ |
578 (self is3D and:[handleStyle ~~ #motif]) ifTrue:[ |
578 (self is3D and:[handleStyle ~~ #motif]) ifTrue:[ |
579 self barHeight:(shadowForm height + 2). |
579 self barHeight:(shadowForm height + 2). |
580 barWidth := shadowForm width |
580 barWidth := shadowForm width |
581 ] |
581 ] |
582 ]. |
582 ]. |
583 shown ifTrue:[ |
583 shown ifTrue:[ |
584 self resizeSubviews. |
584 self resizeSubviews. |
585 self redraw |
585 self invalidate |
586 ] |
586 ] |
587 ] |
587 ] |
588 |
588 |
589 "Created: 24.2.1996 / 19:04:07 / cg" |
589 "Created: 24.2.1996 / 19:04:07 / cg" |
|
590 "Modified: 29.5.1996 / 16:22:24 / cg" |
590 ! |
591 ! |
591 |
592 |
592 style:styleSymbol |
593 style:styleSymbol |
593 "define the style of the handle; |
594 "define the style of the handle; |
594 styleSymbol may be #motif to draw a little knob or |
595 styleSymbol may be #motif to draw a little knob or |