Blob Blame History Raw
# $XConsortium: Scale3.scr /main/4 1995/07/17 20:36:23 drk $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
# 
# HISTORY

#  #) A client window with three scales will appear. 
#  C)
Continue

#  #) Resize the client window. 
WindowResize Shell1 SouthEast 300 300
CompareVisual Shell1

#  #) Press and hold MB1 on each scale slider. Drag each
#     slider up and down the scale. Number to the left of each scale
#     should change from -1.00 at bottom to 1.00 at top. Release MB1
#     so each slider is at a different position. 
LocatePointer Scale1 RScaleSlider
DragSliderValue Up Max
CompareVisual Scale1
DragSliderValue Down Min
CompareVisual Scale1
DragSliderValue Up .65
CompareVisual Scale1
DragSliderValue Down -.30
CompareVisual Scale1

LocatePointer Scale2 RScaleSlider
DragSliderValue Up Max
CompareVisual Scale2
DragSliderValue Down Min
CompareVisual Scale2
DragSliderValue Up .82
CompareVisual Scale2
DragSliderValue Down .57
CompareVisual Scale2

LocatePointer Scale3 RScaleSlider
DragSliderValue Up Max
CompareVisual Scale3
DragSliderValue Down Min
CompareVisual Scale3
DragSliderValue Up .31
CompareVisual Scale3
DragSliderValue Down -.15
CompareVisual Scale3

#  #) Resize bottom of the client window down. 
WindowResize Shell1 South 400
CompareVisual Shell1

#  E)
Exit