ScrollByL.h revision 1abf7346
11abf7346Smrg/* $XConsortium: ScrollByL.h,v 1.7 94/04/17 20:43:48 dave Exp $ */
21abf7346Smrg/*
31abf7346Smrg
41abf7346SmrgCopyright (c) 1987, 1988  X Consortium
51abf7346Smrg
61abf7346SmrgPermission is hereby granted, free of charge, to any person obtaining
71abf7346Smrga copy of this software and associated documentation files (the
81abf7346Smrg"Software"), to deal in the Software without restriction, including
91abf7346Smrgwithout limitation the rights to use, copy, modify, merge, publish,
101abf7346Smrgdistribute, sublicense, and/or sell copies of the Software, and to
111abf7346Smrgpermit persons to whom the Software is furnished to do so, subject to
121abf7346Smrgthe following conditions:
131abf7346Smrg
141abf7346SmrgThe above copyright notice and this permission notice shall be included
151abf7346Smrgin all copies or substantial portions of the Software.
161abf7346Smrg
171abf7346SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
181abf7346SmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
191abf7346SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
201abf7346SmrgIN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
211abf7346SmrgOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
221abf7346SmrgARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
231abf7346SmrgOTHER DEALINGS IN THE SOFTWARE.
241abf7346Smrg
251abf7346SmrgExcept as contained in this notice, the name of the X Consortium shall
261abf7346Smrgnot be used in advertising or otherwise to promote the sale, use or
271abf7346Smrgother dealings in this Software without prior written authorization
281abf7346Smrgfrom the X Consortium.
291abf7346Smrg
301abf7346Smrg*/
311abf7346Smrg
321abf7346Smrg#ifndef _XtScrollByLine_h
331abf7346Smrg#define _XtScrollByLine_h
341abf7346Smrg
351abf7346Smrg/***********************************************************************
361abf7346Smrg *
371abf7346Smrg * ScrollByLine Widget (subclass of Simple)
381abf7346Smrg *
391abf7346Smrg ***********************************************************************/
401abf7346Smrg
411abf7346Smrg/*
421abf7346Smrg * The default fonts.
431abf7346Smrg */
441abf7346Smrg
451abf7346Smrg#ifdef ATHENA
461abf7346Smrg#define MANPAGE_NORMAL   "fixed"
471abf7346Smrg#define MANPAGE_BOLD     "helvetica-bold12"
481abf7346Smrg#define MANPAGE_ITALIC   "helvetica-boldoblique12"
491abf7346Smrg#define MANPAGE_SYMBOL   "symbol-medium12"
501abf7346Smrg#else
511abf7346Smrg#define MANPAGE_NORMAL   "*-new century schoolbook-medium-r-normal--*-120-*"
521abf7346Smrg#define MANPAGE_BOLD     "*-new century schoolbook-bold-r-normal--*-120-*"
531abf7346Smrg#define MANPAGE_ITALIC   "*-new century schoolbook-bold-i-normal--*-120-*"
541abf7346Smrg#define MANPAGE_SYMBOL   "*-symbol-medium-r-normal--*-120-*"
551abf7346Smrg#endif /* ATHENA */
561abf7346Smrg
571abf7346Smrg#define XtNindent           "indent"
581abf7346Smrg#define XtNforceVert        "forceVert"
591abf7346Smrg#define XtNmanualFontNormal "manualFontNormal"
601abf7346Smrg#define XtNmanualFontBold   "manualFontBold"
611abf7346Smrg#define XtNmanualFontItalic "manualFontItalic"
621abf7346Smrg#define XtNmanualFontSymbol "manualFontSymbol"
631abf7346Smrg#define XtNNumTotalLines    "numTotalLines"
641abf7346Smrg#define XtNNumVisibleLines  "numVisibleLines"
651abf7346Smrg
661abf7346Smrg#define XtCIndent           "Indent"
671abf7346Smrg#define XtCNumTotalLines    "NumTotalLines"
681abf7346Smrg#define XtCNumVisibleLines  "NumVisibleLines"
691abf7346Smrg
701abf7346Smrg/* Class record constants */
711abf7346Smrg
721abf7346Smrgextern WidgetClass scrollByLineWidgetClass;
731abf7346Smrg
741abf7346Smrgtypedef struct _ScrollByLineClassRec *ScrollByLineWidgetClass;
751abf7346Smrgtypedef struct _ScrollByLineRec      *ScrollByLineWidget;
761abf7346Smrg
771abf7346Smrg#endif /* _XtScrollByLine_h --- DON'T ADD STUFF AFTER THIS LINE */
78