Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:24

0001 /*
0002  *
0003 Copyright 1989, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024  *
0025  * Author:  Jim Fulton, MIT X Consortium
0026  */
0027 
0028 #ifndef _XawRepeater_h
0029 #define _XawRepeater_h
0030 
0031 #include <X11/Xaw/Command.h>
0032 
0033 /*****************************************************************************
0034  *
0035  * Repeater Widget (subclass of Command)
0036  *
0037  * This widget is a push button that repeatedly fires when held down
0038  *
0039  * Parameters:
0040  *
0041  *  Name        Class       Type        Default
0042  *  ----        -----       ----        -------
0043  *
0044  *  decay       Decay       int     5 milliseconds
0045  *  flash       Boolean     Boolean     FALSE
0046  *  initialDelay    Delay       int     200 milliseconds
0047  *  minimumDelay    MinimumDelay    int     10 milliseconds
0048  *  repeatDelay     Delay       int     50 milliseconds
0049  *  startCallback   StartCallback   XtCallbackList  NULL
0050  *  stopCallback    StopCallback    XtCallbackList  NULL
0051  *
0052  *****************************************************************************/
0053 
0054 #define XtNdecay "decay"
0055 #define XtCDecay "Decay"
0056 #define XtNinitialDelay "initialDelay"
0057 #define XtCDelay "Delay"
0058 #define XtNminimumDelay "minimumDelay"
0059 #define XtCMinimumDelay "MinimumDelay"
0060 #define XtNrepeatDelay "repeatDelay"
0061 #define XtNflash "flash"
0062 #define XtNstartCallback "startCallback"
0063 #define XtCStartCallback "StartCallback"
0064 #define XtNstopCallback "stopCallback"
0065 #define XtCStopCallback "StopCallback"
0066 
0067 
0068 extern WidgetClass repeaterWidgetClass;
0069 
0070 typedef struct _RepeaterClassRec *RepeaterWidgetClass;
0071 typedef struct _RepeaterRec      *RepeaterWidget;
0072 
0073 #endif /* _XawRepeater_h */