Blob Blame History Raw
/* 
 * 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
*/ 
/*
static char rcsid[] = "$XConsortium: Scrollbar7.dat /main/6 1995/07/13 19:15:50 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. 
#) 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
C)
#) 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
C)
#) The scrollbar is now insensitive.  It should appear grayed out and
   should not be accessible with the mouse or keyboard. 
C)
/* 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).
C)
#) The processing direction is set to
MAX_ON_TOP.  The slider should have shifted all the way to the bottom.
C)
#) 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).
C)
#) The processing direction is set to MAX_ON_RIGHT.  The slider should
have shifted to the far left end.
/* end of test case for PIR 1987 */
E)