# $XConsortium: ArrowBtn1.scr /main/6 1995/07/17 20:06:02 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 # # The button contains an arrow pointing up. # Move the pointer into the arrow button's window and use # mouse button 1 to click on the arrow button. It should appear # to be pressed in, then popped out. # Use the MINIMIZE button on the window frame to iconify the window. # Then normalize the window. LocatePointer ArrowButton1 PressMB Btn1 CompareVisual ArrowButton1 ReleaseMB Btn1 CompareVisual ArrowButton1 WindowIconify Shell1 WindowDeiconify Shell1 Continue # Arrow is now pointing down. Pull one of the resize handles on # the bottom of the window way down. The arrow should grow. Resize # the window to the left. The arrow should grow again. # Resize the right edge of the window toward the left and the arrow # should grow smaller. Move the window using the mouse. WindowMove Shell1 40 40 CompareVisual ArrowButton1 WindowResize Shell1 South 400 CompareVisual ArrowButton1 WindowResize Shell1 West 430 CompareVisual ArrowButton1 WindowResize Shell1 East 350 CompareVisual ArrowButton1 WindowMove Shell1 200 200 CompareVisual ArrowButton1 Continue # Arrow is now pointing left. Size the window as small as possible, # then resize back to 300 by 300. CompareVisual ArrowButton1 WindowResize Shell1 SouthEast 10 10 CompareVisual ArrowButton1 WindowResize Shell1 SouthEast 300 300 CompareVisual ArrowButton1 Continue # Arrow is now pointing right. Resize the window as small as possible # horizontally. # Then resize the window to 200 by 200. CompareVisual ArrowButton1 WindowResize Shell1 East 1 CompareVisual ArrowButton1 WindowResize Shell1 SouthEast 200 200 Continue # Arrow is now pointing up. CompareVisual ArrowButton1 Continue # An error message appears in the xterm window. Continue # Arrow is now pointing down. CompareVisual ArrowButton1 Continue # An error message appears in the xterm window. Continue # Click on the arrow button. # ACTIVATED should appear in the xterm window. LocatePointer ArrowButton1 ClickMB Btn1 Continue # Click mouse button one down on arrow button and hold. # ARMED should appear in xterm window. # Then release mouse button one. # ACTIVATED should appear in the xterm window. LocatePointer ArrowButton1 PressMB Btn1 ReleaseMB Btn1 Continue # Press mouse button one down on the arrow button and hold. # ARMED should appear in the xterm window. # Release mouse button one. # ACTIVATED and DISARMED should appear in xterm window. # Press mouse button one down on the arrow button and hold. # ARMED should appear in the xterm window. # Move sprite out of window and release mouse button 1. # DISARMED should appear in xterm window. LocatePointer ArrowButton1 PressMB Btn1 ReleaseMB Btn1 LocatePointer ArrowButton1 PressMB Btn1 LocatePointer Shell1 Off ReleaseMB Btn1 Continue # Press Exit to end the test. # Goodbye. Exit