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

Revision 12350, 1.6 KB checked in by ghudson, 26 years ago (diff)
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
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 *      $Id: defs.h,v 1.3 1999-01-22 23:15:42 ghudson Exp $
9 *     
10 *      Copyright 1987, 1988 by the Massachusetts Institute of Technology.
11 *
12 *      For further information on copyright and distribution
13 *      see the file mit-copyright.h
14 */
15
16#include "mit-copyright.h"
17
18/*
19 * This is the helpfile and is site specific, make sure you change this.
20 */
21
22#ifndef HELPFILE
23#define HELPFILE "/usr/lib/X11/xmore.help" /* The default helpfile */
24#endif
25
26/* text page fonts. */
27#ifdef ATHENA
28#define NORMALFONT "fixed"
29#define ITALICFONT "helvetica-bold12"
30#define BOLDFONT   "helvetica-boldoblique12"
31#else
32#define NORMALFONT "8x13"
33#define ITALICFONT "8x13bold"
34#define BOLDFONT   "8x13bold"
35#endif /* ATHENA */
36
37#define MAIN_CURSOR "left_ptr"  /* The default topcursor. */
38#define HELP_CURSOR "left_ptr"  /* The default Help cursor. */
39#define BACKSPACE 010           /* I doubt you would want to change this. */
40#define INDENT 15
41
42#define TYP20STR "MMMMMMMMMMMMMMMMMMMM"
43
44/* The default size of the window. */
45
46#define TOO_SMALL 100
47#define DEFAULT_WIDTH 550
48#define DEFAULT_HEIGHT 800
49
50/*
51 * function defintions
52 */
53
54/* Standard library function definitions. */
55
56/* fonts.c */
57
58void OpenFonts();
59void AddCursor();
60
61/* help.c */
62
63Boolean CreateHelp();
64void PopdownHelp(),PopupHelp();
65
66/* main.c */
67
68void main(),Quit(),TextExit(),PrintWarning(),PrintError();
69Widget CreateScroll(),CreatePane();
70
71/* pages.c */
72
73void InitPage();
74void PrintPage();
75
Note: See TracBrowser for help on using the repository browser.