# # @OPENGROUP_COPYRIGHT@ # COPYRIGHT NOTICE # Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. # Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group # ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for # the full copyright text. # # This software is subject to an open license. It may only be # used on, with or for operating systems which are themselves open # source systems. You must contact The Open Group for a license # allowing distribution and sublicensing of this software on, with, # or for operating systems which are not Open Source programs. # # See http://www.opengroup.org/openmotif/license for full # details of the license agreement. Any use, reproduction, or # distribution of the program constitutes recipient's acceptance of # this agreement. # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS # PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY # WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY # OR FITNESS FOR A PARTICULAR PURPOSE # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT # NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE # EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGES. # # # HISTORY # # $XConsortium: Scrollbar7.scr /main/4 1995/07/13 19:15:55 drk $ # A client with a horizontal scrollbar contained in a frame should # appear. The processing direction is reversed and the slider # is located 20 percent from the left. CompareVisual scrollbar # The following messages should be printed in the term window: #!) # Setting the value to 20. # GetValues value = 20 # Reversing the processing direction to max on right. # GetValues value = 20 Continue # A client with a vertical scrollbar contained in a frame should # appear. The processing direction is reversed and the slider # is located 20 percent from the bottom. # The following messages should be printed in the term window: #!) # Setting the value to 20. # GetValues value = 20 # Reversing the processing direction to max # on bottom. # Changing the value to 80. # GetValues value = 80 CompareVisual scrollbar Continue # The scrollbar is now insensitive. It should appear grayed out and # should not be accessible with the mouse or keyboard. CompareVisual scrollbar Continue #/* test case for PIR 1987 */ # A new scrollbar is created with orientation set to VERTICAL. The slider # should be in its default position at the top (value=0, # processingDirection=MAX_ON_BOTTOM). CompareVisual scrollbar Continue # The processing direction is set to # MAX_ON_TOP. The slider should have shifted all the way to the bottom. CompareVisual scrollbar Continue # The orientation is set to HORIZONTAL. The slider should be in its # shifted position at the right (value=0, processingDirection=MAX_ON_LEFT - # which corresponds to MAX_ON_TOP). CompareVisual scrollbar Continue # The processing direction is set to MAX_ON_RIGHT. The slider should # have shifted to the far left end. CompareVisual scrollbar #/* end of test case for PIR 1987 */ Exit