[GOODIE] TwoWayScrollPane
Mark Guzdial
guzdial at cc.gatech.edu
Mon Nov 22 18:36:58 UTC 1999
--============_-1268824255==_============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Eddie Cottongim built this to scroll the score in his music editor
project, and gave me permission to post it here.
>X-Sender: gte809e at pop.prism.gatech.edu
>Date: Sat, 20 Nov 1999 16:16:43 -0500
>To: squeakers at cc.gatech.edu
>From: Eddie Cottongim <gte809e at prism.gatech.edu>
>Subject: [squeakers] [GOODIE] TwoWayScrollPane
>Sender: owner-squeakers at cc.gatech.edu
>Reply-To: squeakers at cc.gatech.edu
>
>Here is version of ScrollPane that works both vertically and
>horizontally(new).
>Bugs, comments, suggestions, etc are welcome.
>
>Eddie
>
>Notes:
>-ScrollPane doesn't let its submorphs see mouseDown. I added something so
>this can be done. Use "NameOfMyScrollPane useOldMouseDown: false." The
>default is the old behavior.
>-ScrollPane doesn't always adjust its scrollbar appearance when you resize
>stuff, and neither does my version of it. I haven't figured out why yet.
>-Its tempting to use this instead of ScrollPane. Trouble is, old instances
>of ScrollPane don't have all the instance vars they need for the new code.
>This could be worked around, but I think I'll just leave the old ones alone
>for now.
>-You'll probably want to change the category name.
>
>
>
--============_-1268824255==_============
Content-Type: text/plain; name="TwoWayScrollPaneNov20.zip"
; x-mac-type="705A4950"
; x-mac-creator="705A4950"
Content-Disposition: attachment; filename="TwoWayScrollPaneNov20.zip"
Content-Transfer-Encoding: imap_stub
0,1542,2,5528,0,
--============_-1268824255==_============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
(404) 894-5618 : Fax (404) 894-0673 : guzdial at cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
--============_-1268824255==_============--
More information about the Squeak-dev
mailing list
|