[M3commit] CVS Update: cm3

Randy Coleburn rcoleburn at elego.de
Fri Aug 22 16:32:47 CEST 2008

CVSROOT:	/usr/cvs
Changes by:	rcoleburn at birch.	08/08/22 16:32:47

Modified files:
	cm3/m3-ui/vbtkit/src/lego/WIN32/: ScrollerVBTClass.m3 

Log message:
	The following changes greatly improve appearance and functionality of scroll bars on Windows platforms.  Internally, deal with all sizes in pixels, vs. millimeters.  Provide conversions between millimeters and pixels as needed.   Since FormsVBT scales pixmaps by default, scale the slider and trough to match the size of the button pixmaps.  Change scroll behavior to more closely resemble user expectation in Windows.  Formerly, scrolling was proportional to distance between mouse click and thumb.  Now, clicking up/down buttons scrolls backward/forward by one line, and clicking in the slider trough above/below the thumb scrolls backward/forward by one window at a time.  Unfortunately, the interface comments still reference the proportional behavior, but that behavior is still done in the POSIX implementation, so the interface comments are correct for POSIX.  Perhaps we should add a comment about the Windows implementation; after all, the interface does say the implementation is free to change the behavior.---Randy Coleburn

More information about the M3commit mailing list