Blame tests/Toolkit/Windows/ScrollWin2.h

Packit b099d7
/* 
Packit b099d7
 * Motif
Packit b099d7
 *
Packit b099d7
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are free software; you can
Packit b099d7
 * redistribute them and/or modify them under the terms of the GNU
Packit b099d7
 * Lesser General Public License as published by the Free Software
Packit b099d7
 * Foundation; either version 2 of the License, or (at your option)
Packit b099d7
 * any later version.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are distributed in the hope that
Packit b099d7
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
 * PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
 * details.
Packit b099d7
 *
Packit b099d7
 * You should have received a copy of the GNU Lesser General Public
Packit b099d7
 * License along with these librararies and programs; if not, write
Packit b099d7
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
 * Floor, Boston, MA 02110-1301 USA
Packit b099d7
*/ 
Packit b099d7
/* 
Packit b099d7
 * HISTORY
Packit b099d7
*/ 
Packit b099d7
/*   $XConsortium: ScrollWin2.h /main/7 1995/07/13 19:48:50 drk $ */
Packit b099d7
/*
Packit b099d7
*  (c) Copyright 1987, 1988, 1989 HEWLETT-PACKARD COMPANY */
Packit b099d7
Boolean   wait;
Packit b099d7
Widget    ContinuePopup = NULL;
Packit b099d7
Packit b099d7
/*  Private Functions  */
Packit b099d7
static void            Pause();
Packit b099d7
static void            FlushEvents();
Packit b099d7
static Widget          CreateContinuePopup();
Packit b099d7
static XtCallbackProc  ContinueCB();
Packit b099d7
static XtCallbackProc  QuitCB();
Packit b099d7
Packit b099d7
static char *Pause_events[] = 
Packit b099d7
      {
Packit b099d7
	"1) A client with a scrolled window should appear. Ten and\n   a half pushbutton gadgets and pushbuttons should be visible.\n   A vertical scrollbar should appear at the left side of the client.\n2) Continue for more testing.\n",
Packit b099d7
	"1) Move the client to the top of the screen. Resize\n   the bottom of the client window down to the bottom of the screen.\n   Most or all of the following should be visible:\n      PushButtonGadget1 - PushButtonGadget6 (black foregrounds)\n      PushButton1 - PushButton8 (green foregrounds)\n      five ArrowButtonGadgets (red foregrounds)\n      five ArrowButtons (black foregrounds)\n   If all are visible, scrollbars should disappear.\n2) Continue for more testing.\n",
Packit b099d7
	"1) Resize the right edge of the client window left so that\n   widgets and gadgets are only partially visible. The\n   horizontal scrollbar should appear at the top of the client.\n2) Press and hold MB1 on the horizontal slider. Drag the slider to\n   the far right. The pushbutton gadget numbers should be visible.\n3) Resize the bottom of the client up so that some widgets and\n   gadgets are clipped. The vertical scrollbar should reappear\n   at on the left of the client.\n4) Continue for more testing.\n",
Packit b099d7
	"1) Press and hold MB1 on the vertical slider. Drag the slider \n   to the bottom. Release MB1.\n2) Press and hold MB1 on the horizontal slider. Drag the slider\n   to the middle. Release MB1. Depending on how small you resized the window,\n   some number of the green and red arrow buttons should be visible.\n3) Iconify the client. Normalize the client.\n4) Test Finished -- Exit Please"
Packit b099d7
      };
Packit b099d7
	
Packit b099d7
int Pause_cnt = 0;
Packit b099d7
XtAppContext  app_context;