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