Line | |
---|
1 | /* |
---|
2 | * $Header: /afs/dev.mit.edu/source/repository/athena/bin/xmore/ScrollByLine.h,v 1.1 1989-10-15 04:32:30 probe Exp $ |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * ScrollByLine.h - Public definitions for ScrollByLine widget. |
---|
7 | * |
---|
8 | * Author: Chris Peterson |
---|
9 | * M. I. T. Project Athena. |
---|
10 | * Cambridge, Mass. |
---|
11 | * Date: 12/5/87 |
---|
12 | * |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef _XtScrollByLine_h |
---|
16 | #define _XtScrollByLine_h |
---|
17 | |
---|
18 | #define XtNlines "lines" |
---|
19 | #define XtCLine "line_class" |
---|
20 | #define XtNfontHeight "font_height" |
---|
21 | #define XtNformOnInner "form_on_inner" |
---|
22 | |
---|
23 | /*********************************************************************** |
---|
24 | * |
---|
25 | * ScrollByLine Widget (subclass of CompositeClass) |
---|
26 | * |
---|
27 | ***********************************************************************/ |
---|
28 | |
---|
29 | /* Class record constants */ |
---|
30 | |
---|
31 | extern WidgetClass scrollByLineWidgetClass; |
---|
32 | |
---|
33 | typedef struct _ScrollByLineClassRec *ScrollByLineWidgetClass; |
---|
34 | typedef struct _ScrollByLineRec *ScrollByLineWidget; |
---|
35 | |
---|
36 | typedef struct _ScrollByLineStruct { |
---|
37 | int location; /* The location so start writing text in the |
---|
38 | child window widget. */ |
---|
39 | int start_line; /* The line to start printing text. */ |
---|
40 | int num_lines; /* The number of lines to print. */ |
---|
41 | } ScrollByLineStruct; |
---|
42 | |
---|
43 | /* public routines */ |
---|
44 | |
---|
45 | extern Widget XtScrollByLineWidget(); /* the ScrollByLine Widget. */ |
---|
46 | /* Widget w; */ |
---|
47 | |
---|
48 | extern void XtResetScrollByLine(); |
---|
49 | /* Widget w; */ |
---|
50 | |
---|
51 | #endif _XtScrollByLine_h |
---|
52 | /* DON'T ADD STUFF AFTER THIS #endif */ |
---|
Note: See
TracBrowser
for help on using the repository browser.