Search
How Section
All Sections
Symbolic Sound
TWiki Links
(((pt x > bnds topLeft) & (pt x < bnds extent)) | ((pt y > topCenter) & (pt y < bottomCenter))) ifTrue: [#ActiveState]
| bnds pt | bnds := ActiveArea bounds. pt := ActiveArea controller sensor cursorPoint. "Update values only when mouse in active area." bnds containsPoint: pt
| bnds pt | bnds := ActiveArea bounds. pt := ActiveArea controller sensor cursorPoint. "Update values only when mouse in active area." (ActiveArea controller sensor anyButtonPressed) and: [bnds containsPoint: pt]