Back to index

tetex-bin  3.0
sfinternal.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 1989 Software Research Associates, Inc., Tokyo, Japan
00003  *
00004  * Permission to use, copy, modify, and distribute this software and its
00005  * documentation for any purpose and without fee is hereby granted, provided
00006  * that the above copyright notice appear in all copies and that both that
00007  * copyright notice and this permission notice appear in supporting
00008  * documentation, and that the name of Software Research Associates not be used
00009  * in advertising or publicity pertaining to distribution of the software
00010  * without specific, written prior permission.  Software Research Associates
00011  * makes no representations about the suitability of this software for any
00012  * purpose.  It is provided "as is" without express or implied warranty.
00013  *
00014  * SOFTWARE RESEARCH ASSOCIATES DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
00015  * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
00016  * IN NO EVENT SHALL SOFTWARE RESEARCH ASSOCIATES BE LIABLE FOR ANY SPECIAL,
00017  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
00018  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
00019  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
00020  * PERFORMANCE OF THIS SOFTWARE.
00021  *
00022  * Author: Erik M. van der Poel
00023  *         Software Research Associates, Inc., Tokyo, Japan
00024  *         erik@sra.co.jp
00025  */
00026 
00027 #include <X11/Intrinsic.h>
00028 #include <X11/StringDefs.h>
00029 #include <X11/Xos.h>
00030 #include <X11/Xaw/Text.h>
00031 #include <X11/Xaw/AsciiText.h>
00032 #undef wchar_t
00033 
00034 #define SEL_FILE_CANCEL            -1
00035 #define SEL_FILE_OK         0
00036 #define SEL_FILE_NULL              1
00037 #define SEL_FILE_TEXT              2
00038 
00039 #define SF_DO_SCROLL        1
00040 #define SF_DO_NOT_SCROLL    0
00041 
00042 
00043 extern void
00044        SFenterList(),
00045        SFleaveList(),
00046        SFmotionList(),
00047        SFbuttonPressList(),
00048        SFbuttonReleaseList();
00049 
00050 extern void
00051        SFvSliderMovedCallback(),
00052        SFvFloatSliderMovedCallback(),
00053        SFhSliderMovedCallback(),
00054        SFpathSliderMovedCallback(),
00055        SFvAreaSelectedCallback(),
00056        SFhAreaSelectedCallback(),
00057        SFpathAreaSelectedCallback();
00058 
00059