home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / xsaver / part03 / resources.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-03-10  |  2.6 KB  |  55 lines

  1. /*
  2.  * $Source: /mit/sipbsrc/uus/src/xscreensaver/RCS/resources.h,v $
  3.  * $Author: jik $
  4.  * $Header: resources.h,v 1.5 89/02/28 06:55:15 jik Exp $
  5.  *
  6.  * This file is part of xscreensaver.  It contains the array of X
  7.  * resource strings used by the program.
  8.  *
  9.  * Author: Jonathan Kamens, MIT Project Athena and
  10.  *                          MIT Student Information Processing Board
  11.  *
  12.  * Copyright (c) 1989 by Jonathan Kamens.  This code may be
  13.  * distributed freely as long as this notice is kept intact in its
  14.  * entirety and every effort is made to send all corrections and
  15.  * improvements to the code back to the author.  Also, don't try to
  16.  * make any money off of it or pretend that you wrote it.
  17.  */
  18.  
  19. static XtResource app_resources[] = {
  20. {"useBackground", "UseBackground", XtRBoolean, sizeof(Boolean),
  21.  XtOffset(Defaults *, use_background), XtRString, "false"},
  22. {"velocity", "Velocity", XtRInt, sizeof(int), 
  23.  XtOffset(Defaults *, velocity), XtRString, CMPERMINUTE},
  24. {"autoLock", "AutoLock", XtRBoolean, sizeof(Boolean),
  25.  XtOffset(Defaults *, auto_lock), XtRString, "false"},
  26. {"displayTime", "DisplayTimes", XtRBoolean, sizeof(Boolean),
  27.  XtOffset(Defaults *, d_time), XtRString, "true"},
  28. {"displayElapsed", "DisplayTimes", XtRBoolean, sizeof(Boolean),
  29.  XtOffset(Defaults *, d_elapsed), XtRString, "true"},
  30. {"displayTimeout", "DisplayTimes", XtRBoolean, sizeof(Boolean),
  31.  XtOffset(Defaults *, d_timeout), XtRString, "true"},
  32. {"timeout", "Timeout", XtRInt, sizeof(int),
  33.  XtOffset(Defaults *, timeout), XtRString, TIMEOUT},
  34. {"key", "Key", XtRString, sizeof(String),
  35.  XtOffset(Defaults *, key), XtRString, ""},
  36. {"encryptedKey", "EncryptedKey", XtRString, sizeof(String),
  37.  XtOffset(Defaults *, ekey), XtRString, ""},
  38. {"usePasswd", "UsePasswd", XtRBoolean, sizeof(Boolean),
  39.  XtOffset(Defaults *, use_passwd), XtRString, "true"},
  40. {"lockCommand", "LockCommand", XtRString, sizeof(String),
  41.  XtOffset(Defaults *, lock_command), XtRString, ""},
  42. {"unlockCommand", "UnlockCommand", XtRString, sizeof(String),
  43.  XtOffset(Defaults *, unlock_command), XtRString, ""},
  44. {"noFork", "NoFork", XtRBoolean, sizeof(Boolean),
  45.  XtOffset(Defaults *, no_fork), XtRString, "false"},
  46. {"menuButton", "MenuButton", XtRInt, sizeof(int),
  47.  XtOffset(Defaults *, menu_button), XtRString, MENUBUTTON},
  48. {"leaveClose", "LeaveClose", XtRBoolean, sizeof(Boolean),
  49.  XtOffset(Defaults *, leave_close), XtRString, "false"},
  50. {"startLocked", "StartLocked", XtRBoolean, sizeof(Boolean),
  51.  XtOffset(Defaults *, start_locked), XtRString, "false"},
  52. {"lockMessage", "LockMessage", XtRString, sizeof(String),
  53.  XtOffset(Defaults *, lock_message), XtRString, ""}
  54. };
  55.