# $XConsortium: Form25.scr /main/4 1995/07/17 20:20:13 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
# A series of Forms should appear on your screen.
# Each Form should have four PushButton children.
WindowRaise Case_0
CompareVisual Case_0
WindowRaise Case_1
CompareVisual Case_1
WindowRaise Case_2
CompareVisual Case_2
WindowRaise Case_3
CompareVisual Case_3
WindowRaise Case_4
CompareVisual Case_4
Continue
# All of the children should be visible.
# D should have a top position which is 75% of the height of the Form,
# D should have a left position which is 60% of the width of the Form,
# C should have a top position which is 50% of the height of the Form,
# C should have a left position which is 40% of the width of the form,
# B should have a top position which is 25% of the height of the Form,
# B should have a left position which is 20% of the width of the Form,
# A should have its original position.
WindowRaise Case_0
CompareVisual Case_0
WindowRaise Case_1
CompareVisual Case_1
WindowRaise Case_2
CompareVisual Case_2
WindowRaise Case_3
CompareVisual Case_3
WindowRaise Case_4
CompareVisual Case_4
Continue
# A series of Forms should appear on your screen.
# Each Form should have four PushButton children.
WindowRaise Case_0
CompareVisual Case_0
WindowRaise Case_1
CompareVisual Case_1
WindowRaise Case_2
CompareVisual Case_2
WindowRaise Case_3
CompareVisual Case_3
WindowRaise Case_4
CompareVisual Case_4
Continue
# All of the children should be visible.
# D should have a top position which is 75% of the height of the Form,
# D should have a left position which is 60% of the width of the Form,
# C should have a top position which is 50% of the height of the Form,
# C should have a left position which is 40% of the width of the form,
# B should have a top position which is 25% of the height of the Form,
# B should have a left position which is 20% of the width of the Form,
# A should have its original position.
# ALL of the children should have a new width and height of 100.
WindowRaise Shell1
WindowRaise Case_0
CompareVisual Case_0
WindowRaise Case_1
CompareVisual Case_1
WindowRaise Case_2
CompareVisual Case_2
WindowRaise Case_3
CompareVisual Case_3
WindowRaise Case_4
CompareVisual Case_4
Exit