home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3063 / app-resources.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-15  |  2.9 KB  |  66 lines

  1. /*
  2.  *    app-resources.h : External definitions for access to the application
  3.  *              resources.
  4.  *
  5.  *    George Ferguson, ferguson@cs.rochester.edu,  27 Oct 1990.
  6.  *    Version 1.1 - 27 Feb 1991.
  7.  *
  8.  *    $Id: app-resources.h,v 2.2 91/03/13 13:31:02 ferguson Exp $
  9.  *
  10.  */
  11. #ifndef APP_RESOURCES_H
  12. #define APP_RESOURCES_H
  13.  
  14. #include <X11/Intrinsic.h>
  15.  
  16. typedef struct {
  17.     String systemAppoints;        /* file for non-editable appoints */
  18.     String personalAppoints;        /* file for editable appoints */
  19.     String backupExtension;        /* suffix for backup appoints file */
  20.     String outputFormat;        /* how to write out appoints */
  21.     Boolean daySlashMonth;        /* dd/mm rather than mm/dd */
  22.     String date;            /* override "current" date */
  23.     int numMonths;            /* display 1, 3, or 12 months */
  24.     Boolean bothShown;            /* put day and month in same frame */
  25.     Boolean useTitlebar;        /* put date on titlebar */
  26.     Boolean listOnly;            /* non-graphic mode */
  27.     Boolean silent;            /* no output (just return value) */
  28.     Boolean exitUsesLevels;        /* return level sum or number */
  29.     Boolean version;            /* print version number and quit */
  30.     Boolean opaqueDates;        /* draw dates opaquely on calendar */
  31.     int checkpointInterval;        /* seconds between automatic updates */
  32.     Boolean dowLabels;            /* put dow at top of columns */
  33.     String longDowStrings;        /* full names of dows */
  34.     String shortDowStrings;        /* abbreviated names of dows */
  35.     String longMonthStrings;        /* full names of months */
  36.     String shortMonthStrings;        /* abbreviated names of months */
  37.     int dowOffset;            /* offset to first dow (0=Sun, 1=Mon) */
  38.     String appsStartTime;        /* time of first appointment slot */
  39.     String appsEndTime;            /* time of last appointment slot */
  40.     String appsIncrement;        /* time between them */
  41.     Boolean appsUseAmPm;        /* display using am/pm or 24hr */
  42.     int numNotes;            /* how many notes slots */
  43.     String notesLabel;            /* and the labels for them */
  44.     String noonStr;            /* name of 12:00 */
  45.     String midnightStr;            /* name of 0:00 */
  46.     Boolean rearrangeSilently;        /* don't say when appoints moved */
  47.     String levelDelim;            /* chars to delimit level in file */
  48.     int maxLevel;            /* number of levels for appoints */
  49.     int defaultLevel;            /* default level for new appoints */
  50.     /* fonts for date in calendar */
  51.     Font dateFont1,dateFont2,dateFont3,dateFont12;
  52.     /* offset in square */
  53.     String datePosition1,datePosition2,datePosition3,datePosition12;
  54.     /* width of square */
  55.     int dateWidth1,dateWidth2,dateWidth3,dateWidth12;
  56.     /* height of square */
  57.     int dateHeight1,dateHeight2,dateHeight3,dateHeight12;
  58.     String noDayShade;            /* pattern for non-days */
  59.     String shades;            /* patterns for days w/ appoints */
  60.     String colors;            /* colors for days w/ appoints */
  61.     String revision;            /* version of app-defaults */
  62. } AppResources;
  63. extern AppResources appResources;
  64.  
  65. #endif /* APP_RESOURCES_H */
  66.