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

Revision 3319, 1.8 KB checked in by probe, 34 years ago (diff)
changes.71#1024 - ANSI compliance - #endif comments should be in /* */
Line 
1/*      This is the file defs.h for the Xmore, a file browsing utility
2 *      built upon Xlib and the XToolkit.
3 *      It Contains: Many usefile definitions.
4 *     
5 *      Created:        October 23 1987
6 *      By:             Chris D. Peterson
7 *
8 *      $Source: /afs/dev.mit.edu/source/repository/athena/bin/xmore/defs.h,v $
9 *      $Author: probe $
10 *      $Header: /afs/dev.mit.edu/source/repository/athena/bin/xmore/defs.h,v 1.2 1990-07-17 13:35:34 probe Exp $
11 *     
12 *      Copyright 1987, 1988 by the Massachusetts Institute of Technology.
13 *
14 *      For further information on copyright and distribution
15 *      see the file mit-copyright.h
16 */
17
18#include "mit-copyright.h"
19
20/*
21 * This is the helpfile and is site specific, make sure you change this.
22 */
23
24#ifndef HELPFILE
25#define HELPFILE "/usr/lib/X11/xmore.help" /* The default helpfile */
26#endif
27
28/* text page fonts. */
29#ifdef ATHENA
30#define NORMALFONT "fixed"
31#define ITALICFONT "helvetica-bold12"
32#define BOLDFONT   "helvetica-boldoblique12"
33#else
34#define NORMALFONT "8x13"
35#define ITALICFONT "8x13bold"
36#define BOLDFONT   "8x13bold"
37#endif /* ATHENA */
38
39#define MAIN_CURSOR "left_ptr"  /* The default topcursor. */
40#define HELP_CURSOR "left_ptr"  /* The default Help cursor. */
41#define BACKSPACE 010           /* I doubt you would want to change this. */
42#define INDENT 15
43
44#define TYP20STR "MMMMMMMMMMMMMMMMMMMM"
45
46/* The default size of the window. */
47
48#define TOO_SMALL 100
49#define DEFAULT_WIDTH 550
50#define DEFAULT_HEIGHT 800
51
52/*
53 * function defintions
54 */
55
56/* Standard library function definitions. */
57
58/* fonts.c */
59
60void OpenFonts();
61void AddCursor();
62
63/* help.c */
64
65Boolean CreateHelp();
66void PopdownHelp(),PopupHelp();
67
68/* main.c */
69
70void main(),Quit(),TextExit(),PrintWarning(),PrintError();
71Widget CreateScroll(),CreatePane();
72
73/* pages.c */
74
75void InitPage();
76void PrintPage();
77
Note: See TracBrowser for help on using the repository browser.