Scrolling Preferences

Norton, Chris chrisn at Kronos.com
Tue Apr 27 20:21:23 UTC 1999


>  
> 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





More information about the Squeak-dev mailing list