home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Source: /mit/sipbsrc/uus/src/xscreensaver/RCS/resources.h,v $
- * $Author: jik $
- * $Header: resources.h,v 1.5 89/02/28 06:55:15 jik Exp $
- *
- * This file is part of xscreensaver. It contains the array of X
- * resource strings used by the program.
- *
- * Author: Jonathan Kamens, MIT Project Athena and
- * MIT Student Information Processing Board
- *
- * Copyright (c) 1989 by Jonathan Kamens. This code may be
- * distributed freely as long as this notice is kept intact in its
- * entirety and every effort is made to send all corrections and
- * improvements to the code back to the author. Also, don't try to
- * make any money off of it or pretend that you wrote it.
- */
-
- static XtResource app_resources[] = {
- {"useBackground", "UseBackground", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, use_background), XtRString, "false"},
- {"velocity", "Velocity", XtRInt, sizeof(int),
- XtOffset(Defaults *, velocity), XtRString, CMPERMINUTE},
- {"autoLock", "AutoLock", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, auto_lock), XtRString, "false"},
- {"displayTime", "DisplayTimes", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, d_time), XtRString, "true"},
- {"displayElapsed", "DisplayTimes", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, d_elapsed), XtRString, "true"},
- {"displayTimeout", "DisplayTimes", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, d_timeout), XtRString, "true"},
- {"timeout", "Timeout", XtRInt, sizeof(int),
- XtOffset(Defaults *, timeout), XtRString, TIMEOUT},
- {"key", "Key", XtRString, sizeof(String),
- XtOffset(Defaults *, key), XtRString, ""},
- {"encryptedKey", "EncryptedKey", XtRString, sizeof(String),
- XtOffset(Defaults *, ekey), XtRString, ""},
- {"usePasswd", "UsePasswd", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, use_passwd), XtRString, "true"},
- {"lockCommand", "LockCommand", XtRString, sizeof(String),
- XtOffset(Defaults *, lock_command), XtRString, ""},
- {"unlockCommand", "UnlockCommand", XtRString, sizeof(String),
- XtOffset(Defaults *, unlock_command), XtRString, ""},
- {"noFork", "NoFork", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, no_fork), XtRString, "false"},
- {"menuButton", "MenuButton", XtRInt, sizeof(int),
- XtOffset(Defaults *, menu_button), XtRString, MENUBUTTON},
- {"leaveClose", "LeaveClose", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, leave_close), XtRString, "false"},
- {"startLocked", "StartLocked", XtRBoolean, sizeof(Boolean),
- XtOffset(Defaults *, start_locked), XtRString, "false"},
- {"lockMessage", "LockMessage", XtRString, sizeof(String),
- XtOffset(Defaults *, lock_message), XtRString, ""}
- };
-