source: trunk/athena/bin/xmore/ScrollByLine.h @ 3319

Revision 3319, 2.0 KB checked in by probe, 34 years ago (diff)
changes.71#1024 - ANSI compliance - #endif comments should be in /* */
Line 
1/*
2 * xman - X window system manual page display program.
3 *
4 * $XConsortium: ScrollByL.h,v 1.2 88/09/06 17:47:28 jim Exp $
5 * $Athena: ScrollByL.h,v 4.0 88/08/31 22:11:16 kit Exp $
6 *
7 * Copyright 1987, 1988 Massachusetts Institute of Technology
8 *
9 * Permission to use, copy, modify, and distribute this software and its
10 * documentation for any purpose and without fee is hereby granted, provided
11 * that the above copyright notice appear in all copies and that both that
12 * copyright notice and this permission notice appear in supporting
13 * documentation, and that the name of M.I.T. not be used in advertising or
14 * publicity pertaining to distribution of the software without specific,
15 * written prior permission.  M.I.T. makes no representations about the
16 * suitability of this software for any purpose.  It is provided "as is"
17 * without express or implied warranty.
18 *
19 * Author:    Chris D. Peterson, MIT Project Athena
20 * Created:   December 5, 1987
21 */
22
23#ifndef _XtScrollByLine_h
24#define _XtScrollByLine_h
25
26#define XtNlines "lines"
27#define XtCLine  "line_class"
28#define XtNfontHeight "font_height"
29#define XtNformOnInner "form_on_inner"
30
31/***********************************************************************
32 *
33 * ScrollByLine Widget (subclass of CompositeClass)
34 *
35 ***********************************************************************/
36
37/* Class record constants */
38
39extern WidgetClass scrollByLineWidgetClass;
40
41typedef struct _ScrollByLineClassRec *ScrollByLineWidgetClass;
42typedef struct _ScrollByLineRec      *ScrollByLineWidget;
43
44typedef struct _ScrollByLineStruct {
45  int location;                 /* The location so start writing text in the
46                                   child window widget. */
47  int start_line;               /* The line to start printing text. */
48  int num_lines;                /* The number of lines to print. */
49} ScrollByLineStruct;
50
51/* public routines */
52
53extern Widget XtScrollByLineWidget(); /* the ScrollByLine Widget. */
54/* Widget w; */
55
56extern void XtResetScrollByLine();
57/* Widget w; */
58
59#endif /* _XtScrollByLine_h */
60/* DON'T ADD STUFF AFTER THIS #endif */
Note: See TracBrowser for help on using the repository browser.