Repeater.h revision 749
943N/A/*
830N/A * $XConsortium: Repeater.h,v 1.4 94/04/17 20:12:38 jim Exp $
830N/A *
919N/ACopyright (c) 1989 X Consortium
919N/A
919N/APermission is hereby granted, free of charge, to any person obtaining a copy
919N/Aof this software and associated documentation files (the "Software"), to deal
919N/Ain the Software without restriction, including without limitation the rights
830N/Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell
919N/Acopies of the Software, and to permit persons to whom the Software is
919N/Afurnished to do so, subject to the following conditions:
919N/A
830N/AThe above copyright notice and this permission notice shall be included in
919N/Aall copies or substantial portions of the Software.
919N/A
919N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
919N/AX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
919N/AAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
830N/ACONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
830N/A
830N/AExcept as contained in this notice, the name of the X Consortium shall not be
830N/Aused in advertising or otherwise to promote the sale, use or other dealings
830N/Ain this Software without prior written authorization from the X Consortium.
830N/A *
830N/A * Author: Jim Fulton, MIT X Consortium
830N/A */
830N/A
830N/A#ifndef _XawRepeater_h
830N/A#define _XawRepeater_h
830N/A
830N/A#include <X11/Xaw/Command.h>
830N/A
830N/A/*****************************************************************************
830N/A *
830N/A * Repeater Widget (subclass of Command)
830N/A *
830N/A * This widget is a push button that repeatedly fires when held down.
830N/A *
830N/A * Parameters:
830N/A *
830N/A * Name Class Type Default
830N/A * ---- ----- ---- -------
830N/A *
830N/A * decay Decay int 5 milliseconds
830N/A * flash Boolean Boolean FALSE
830N/A * initialDelay Delay int 200 milliseconds
* minimumDelay MinimumDelay int 10 milliseconds
* repeatDelay Delay int 50 milliseconds
* startCallback StartCallback XtCallbackList NULL
* stopCallback StopCallback XtCallbackList NULL
*
*****************************************************************************/
/* new instance and class names */
#define XtNdecay "decay"
#define XtCDecay "Decay"
#define XtNinitialDelay "initialDelay"
#define XtCDelay "Delay"
#define XtNminimumDelay "minimumDelay"
#define XtCMinimumDelay "MinimumDelay"
#define XtNrepeatDelay "repeatDelay"
#define XtNflash "flash"
#define XtNstartCallback "startCallback"
#define XtCStartCallback "StartCallback"
#define XtNstopCallback "stopCallback"
#define XtCStopCallback "StopCallback"
/* external declarations */
extern WidgetClass repeaterWidgetClass;
typedef struct _RepeaterClassRec *RepeaterWidgetClass;
typedef struct _RepeaterRec *RepeaterWidget;
#endif /* _XawRepeater_h */