# $XConsortium: RIArrowBtn3.scr /main/4 1995/07/17 20:34:49 drk $ # @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 # A client with arrow button pointing upwards should appear. # Two messages should be printed in term window. The first says that # the unitType is inches (1000TH_INCHES) and the size is set at 2000x1000. # The next line prints out the width and height. These # values are returned by XtGetValues. The width and height should be # approximately, but not exactly, the same as the values in the first line. # This is because there is a rounding difference when converting # 1000TH_INCHES to pixels. CompareVisual arrow Continue # The arrow button should change size 10 times. # Each time, the Expected and the Returned sizes should be printed in the # term window. The Expected values are those used in XtSetValues # and the Returned values are those retured by XtGetValues. The Returned # values should be approximately equal to the Expected values. This is # because there is a rounding difference when converting 1000TH_INCHES # to pixels. CompareVisual arrow Continue # A message should be printed in the term window saying that unit type # is being set to millimeters (100TH_MILLIMETERS). # The arrow button should change size 10 times. # Each time, the Expected and the Returned sizes should be printed in # the term window. The Expected values are those used in XtSetValues # and the Returned values are those returned by XtGetValues. The Returned # values should be approximately equal to the Expected values. This is # because there is a rounding difference when # converting 100TH_MILLIMETERS to pixels. CompareVisual arrow Continue # A arrow button should change size to 2000 x 1000. # Two messages should be printed in term window. The first says that # the size is set at 2000x1000. The next line is again the width and # height printed out. These values are returned by XtGetValues. The # width and height should be approximately 2000 by 1000. # This is because there is a rounding difference when # converting 100TH_MILLIMETERS to pixels. CompareVisual arrow Exit