# $XConsortium: PanedWin9.scr /main/4 1995/07/17 20:33:34 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 # Note: seemingly random resizings (that don't reflect the instructions) # are an attempt to return the panes to reasonable sizes after # resizings that obey the instructions. # A client with a Paned Window with three pushbuttons will appear. # The panes should be 100 pixels wide and 50 pixels high. # No constraints have been set, so all possible resizings should # be allowed. # Return the panes to reasonable sizes and continue for more testing. CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 50 CompareVisual PW CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Down 100 CompareVisual PW Continue # The maximum size of the first pane has been set to 100 pixels. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 150 CompareVisual PW Continue # The maximum size of the first pane has been reset to the default # while the maximum of the second has been set to 100 pixels. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Down 150 CompareVisual PW Continue # The maximum size of the second pane has been reset to the default # while the maximum of the third has been set to 100 pixels. # Verify this by resizing the panes. LocatePointer PW RSash 1 DragXYRelative Down 150 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 50 CompareVisual PW Continue # The maximum size of the third pane has been reset to the default. # The minimum value of the first pane has been reset to 100 pixels. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Up 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW Continue # The minimum size of the first pane has been reset to the default # while the minimum of the second has been set to 100 pixels. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Up 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 100 CompareVisual PW Continue # The maximum size of the second pane has been reset to the default # while the maximum of the third has been set to 100 pixels. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Up 100 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 100 LocatePointer PW RSash 1 DragXYRelative Up 50 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Down 50 Continue # The minimum size of the third pane has been reset to the default. # An attempt was made to set the minimum of the first pane to a # value less than zero. An error message should have been displayed # on the xterm window and the minimum set to the default value. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Up 100 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 100 LocatePointer PW RSash 1 DragXYRelative Up 50 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Down 50 Continue # An attempt was made to set the minimum of the second pane to a # value less than zero. An error message should have been displayed # on the xterm window and the minimum set to the default value. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Up 100 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 50 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Down 50 CompareVisual PW Continue # An attempt was made to set the minimum of the third pane to a # value less than zero. An error message should have been displayed # on the xterm window and the minimum set to the default value. # Verify this by resizing the panes. LocatePointer PW RSash 1 DragXYRelative Down 100 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 50 Continue # The maximum and minimum for the first pane were set to 200 pixels # and 100 pixels respectively. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 200 CompareVisual PW Continue # The maximum and minimum for the first pane were reset to their # default values. # The maximum and minimum for the second pane were set to 200 pixels # and 100 pixels respectively. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 200 CompareVisual PW Continue # The maximum and minimum for the second pane were reset to their # default values. # The maximum and minimum for the third pane were set to 200 pixels # and 100 pixels respectively. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 200 CompareVisual PW Continue # The maximum and minimum for the third pane were reset to their # default values. # An attempt was made to set the maximum and minimum of the first # pane to 100 pixels and 200 pixels respectively. An error message # should have been displayed on the xterm window and the maximum # and minimum set to their default values. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 200 CompareVisual PW Continue # An attempt was made to set the maximum and minimum of the second # pane to 100 pixels and 200 pixels respectively. An error message # should have been displayed on the xterm window and the maximum # and minimum set to their default values. # Verify this by resizing the panes. LocatePointer PW RSash 0 DragXYRelative Down 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 200 CompareVisual PW Continue # An attempt was made to set the maximum and minimum of the third # pane to 100 pixels and 200 pixels respectively. An error message # should have been displayed on the xterm window and the maximum # and minimum set to their default values. # Verify this by resizing the panes. LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 300 CompareVisual PW Continue # The maximum and minimum for the first pane were both set to 100 # pixels. There should be no sash on the seperator at the bottom of # this pane. # Verify that this pane cannot be resized. CompareVisual PW Continue # The maximum and minimum for the first pane were reset to their # default values. # The maximum and minimum for the second pane were both set to 100 # pixels. There should be no sash on the seperator at the bottom of # this pane. # Verify that this pane cannot be resized. CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 0 DragXYRelative Down 300 CompareVisual PW Continue # The maximum and minimum for the second pane were reset to their # default values. # The maximum and minimum for the third pane were both set to 100 # pixels. # Verify that this pane cannot be resized. CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Up 150 CompareVisual PW LocatePointer PW RSash 1 DragXYRelative Down 300 CompareVisual PW Continue # The maximum and minimum for all the panes have been set to 100 # pixels. There should be no sash on any of the seperators. # Verify that no panes can be resized. CompareVisual PW Exit