VerticalRuler.st
author Claus Gittinger <cg@exept.de>
Mon, 27 May 2019 17:06:52 +0200
changeset 6055 ecbbd4e84b0f
parent 3150 e3a55f15ef7e
child 4770 6634b540fea2
permissions -rw-r--r--
#BUGFIX by cg class: MenuPanel stupid scrollActivity created hundreds/thousands of icons and recursionLocks. Code still a mess, but less memory hungry added: #scrollActivityIsActive #scrollActivityOrNil #stopScrollActivity comment/format in: #keyPress:x:y: #scrollActivity changed: #accept:isUserAction: #buttonMotion:x:y: #buttonPress:x:y: #buttonRelease:x:y: #drawScrollerAt:bounds: #pointerLeave: class: MenuPanel::Item changed: #activeHelpText class: MenuPanel::ScrollActivity class definition changed: #iconAt:on: #stop class: MenuPanel::ScrollActivity class added: #iconAt:on:

"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"

"{ Package: 'stx:libwidg2' }"

Ruler subclass:#VerticalRuler
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Views-Misc'
!

!VerticalRuler class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
!

documentation
"
    like a Ruler, but vertical.
    see documentation in Ruler
"
! !

!VerticalRuler methodsFor:'initialization'!

initialize
    orientation := #vertical.

    super initialize.
    self width:(font widthOf:'inch').

    "
     VerticalRuler new open
    "
! !

!VerticalRuler class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libwidg2/VerticalRuler.st,v 1.11 2006-11-13 16:11:31 cg Exp $'
! !