home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!mta!mitch
- From: mitch@mta.com (Mitch Trachtenberg)
- Subject: arrowhead-style Athena scrollbar
- Message-ID: <1992Nov23.154327.11727@mta.com>
- Organization: Mitch Trachtenberg & Associates
- Date: Mon, 23 Nov 92 15:43:27 GMT
- Lines: 42
-
- I've developed modifications for the Xaw scrollbar widget
- which implement the arrowhead style familiar to users of the
- Macintosh, Windows, Motif, etc. Donna Converse has been kind
- enough to place the modified scrollbar on export, in
-
- export.lcs.mit.edu:contrib/Xaw.Scrollbar.mta.Z
-
- The start of the README from the file on export follows:
-
- This directory contains a modified version of the Xaw scrollbar
- widget which implements the arrowhead style familiar to users of
- the Macintosh, Windows, Motif, etc... This version of the Scrollbar
- is a "drop in" replacement for the original; that is, once you rebuild
- your Xaw library with this modified code your applications will pick up
- the new scrollbar style without the application code noticing the switch.
-
- (Well, almost. You should apply the small patch to Xaw/Text.c noted
- at the top of the Scrollbar.c source file. This patch will not hurt things
- even if you revert to the original Scrollbar. It simply ensures that
- user clicks in the scrollbar channel scroll by a minimum of one line,
- which seems reasonable, unless your users like to click for the hell of it.)
-
- The behavior of this version is as follows:
-
- * button 1 clicks in the arrows move a "small increment"
- in the direction of the click; these autorepeat
- * button 1 clicks in the channel move a "large increment"
- in the direction of the click; these don't autorepeat
- * motion while button 1 is down has no effect until the
- pointer touches the slider, at which point it "picks
- the slider up"
- * button 2 presses cause the slider to jump to and track
- the pointer position (as in the original)
- * button 3 mimics button 1
-
-
-
- --
- Mitch Trachtenberg Mitch Trachtenberg & Associates (MTA)
- mitch@mta.com 5 Holyoke Street
- (617) 267-0440 Boston, MA 02116
-
-