Hi,
does anybody knows how to implement a soft sliding of subcomponents
being top/left components of a ResizingSplitterView? Or is there already
an implementation of such an contemporary feature?
I've tried it by the following implementation but it doesn't fulfill the
simplest requirements. Only in case that one component is a graphical
view it moves softly, but with some ugly stripes during the movement. In
nearly all other cases (DataSet, normal Canvas...) it immediately
swashes after waiting half a second:
ResizingSplitterView>>moveSoftlyBy: aPoint
self cursorWaitWhile:
[| thePfraction |
thePfraction := aPoint x = 0
ifTrue: "vertically move"
[0@ ((aPoint y) /50)]
ifFalse: "horizontally move"
[((aPoint x) /50)@0].
50 timesRepeat:
[self moveBy: thePfraction.
10 milliseconds wait]].
Any ideas or hints?
Regards, Ulli
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc