On Tue, 27 Apr 1999, Hans-Martin Mosner wrote:
I would also like the scrolling framework to be more modularized.
I agree with you Hans & Bert.
Here's how Scrolling is represented in my VisualSmalltalk Enterprise hierarchy. Of course, we don't have a generic native Window class (yet) in Squeak, but you get the general idea. There are a number of generic uses for objects that have a list (with a minimum and maximum) that can be traversed in the way that the traditional scroll bar does. Objects like progress indicators, spin boxes and scroll bars are very similar in nature.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Object Window (handle rectangle children parent owner style graphicsTool properties) SubPane (handlers topCorner framingBlock curFont menu popup id) ControlPane (value label) RangeControl (min max lineIncrement) PagedRangeControl (pageIncrement) ScrollBar WBHorizontalScrollBar WBVerticalScrollBar TrackBar (ticks) ProgressBar UpDown (buddy) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheers!
---==> Chris
----- Original Message ----- From: Norton, Chris chrisn@Kronos.com To: squeak@cs.uiuc.edu Sent: Tuesday, April 27, 1999 3:21 PM Subject: RE: Scrolling Preferences
On Tue, 27 Apr 1999, Hans-Martin Mosner wrote:
I would also like the scrolling framework to be more modularized.
I agree with you Hans & Bert.
Likewise, I agree with Hans, Bert, and Chris.
Cheers.
squeak-dev@lists.squeakfoundation.org