!----------------------------------------------------------------------------
!  Name:     XDiary.ad.Templ
!  Project:  Xdiary
!
!  Description:
!    Template resource file for the application Xdiary. Any of these
!    resources can be overwritten in the local .Xdefaults file.
!    In the local .Xdefault files, prefix resources with XDiary.
!
!    This resource file is customized for !os!.
!
!    You can use environment variables in the filenames below,
!    for example $HOME.
!
!  Filename:         XDiary.ad
!
!  Authors:          Roger Larsson, Ulrika Bornetun
!  Creation date:    1990-12-20
!
!
!  (C) Copyright Ulrika Bornetun, Roger Larsson (1995)
!      All rights reserved
!
!  Permission to use, copy, modify, and distribute this software and its
!  documentation for any purpose and without fee is hereby granted,
!  provided that the above copyright notice appear in all copies. Ulrika
!  Bornetun and Roger Larsson make no representations about the usability
!  of this software for any purpose. It is provided "as is" without express
!  or implied warranty.
!----------------------------------------------------------------------------
!
! SCCSID = @(#) Module: XDiary.ad, Version: 1.5, Date: 95/07/27 23:22:53


!-- Resources that may be changed.
!---------------------------------

!-- Title for the main calendar window.
*.title:  XDiary

!-- Always create a new day view when clicking on a date in the calendar?
*.clickDateNewView:  False

!-- Display the calendar as a notebook or as a plain calendar.
*.fancyCalendar:  True

!-- Display the action buttons in the help window.
*.useActionButtons:  False

!-- Get the correct colors under CDE and HP-VUE.
*.useColorObj:  False

!-- Display icons on buttons.
*.useButtonIcons:  True

!-- Use file locking (necessary if XDiary is used as a group calendar)?
*.useFileLock:  True

!-- We have a valid resource file.
*.validResourceFile:  True

!-- The X-Server has the "wrap bug"?
*.wrapBug:  False

!-- Do widget caching (very slow without).
*.widgetCaching:  True

!-- Default alarm offsets.
*.alarm1Valid:   True
*.alarm1Offset:  -10
*.alarm2Valid:   True
*.alarm2Offset:  0
*.alarm3Valid:   False
*.alarm3Offset:  0
*.alarm4Valid:   False
*.alarm4Offset:  0
*.alarm5Valid:   False
*.alarm5Offset:  0

!-- Values for the pull-down menu in a time field.
!-- (comma (,) separated time fields (HH:MM) in 24-hour format)
*.timeSelValues: 8:00,9:00,10:00,11:00,12:00,13:00,14:00,15:00,16:00,17:00

!-- system:administrators rights for your calendars in AFS.
*.systemAdminAcl:

!-- The shell script/program to start the XDacl process.
*.aclScript:  xdacl

!-- The shell script/program to start the XDiary alarm process.
*.alarmScript:  xdalarm

!-- The shell script/program to start the XDcustom process.
*.customScript:  xdcustom

!-- The shell script/program to locate calendars.
*.findLocationScript:  xdlocation

!-- The shell script/program to print appointments.
*.printScript:  xdprint

!-- The shell script/program to upload and download external calendars.
*.remoteScript:  xdremote

!-- Directory with diary database descriptions.
*.dbSelectionDir:  $XDHOME

!-- Directory with holidays database.
*.holidaysDbDir:  $XDHOME

!-- Files with system and user printer definitions.
*.systemPrinterFile:  $XDHOME/XDiary.syspr
*.userPrinterFile:    $HOME/XDiary.userpr

!-- User editor to use (%s is replaced by the file name).
*userEditor:  xterm -e vi %s

!-- File to save customization data. If empty, the file is HOME/XDiary.custom.
*.customFile:

!-- Tune player to use (empty - use internal speaker).
*.tunePlayer:
*.tunePlayerParam:

!-- Relative volume for the alarms (-99 - 99) where 0 is base volume.
*.alarmVolume:  0

!-- Delta (in ms) to use for tunes (this parameter is X-server dependent).
*.tuneDurationDelta:  150

!-- Tune files to use.
*.tune1File:  $XDHOME/mediumChirp.tune
*.tune2File:  $XDHOME/swedish.tune
*.tune3File:  $XDHOME/helan.tune
*.tune4File:  $XDHOME/auldLang.tune
*.tune5File:  $XDHOME/forElise.tune

!-- Default printer and printer type.
*.defaultPrinter:         
*.defaultPrinterType:  PS

!-- Valid printer types.
*.printerTypes:  PS Ascii

!-- Default filter for entry tags. The tag(s) should be separated by a space.
*.entryTagsFilter:

!-- Entry tags, menu selection (max 4 characters each, separated by space).
*.entryTagsMenu: Busy Conf Crap Free Meet Out Phne Pres Wste

!-- Default tag for new entries.
*.defaultEntryTag:

!-- Default text for new entries.
*.defaultEntryText:

!-- Position for text marker (appointment window). 0 is no marker.
*.textMarkerPos:  0

!-- Display entries with these tags in the day list.
*.filterDlTags:

!-- Give alarm for entries with these tags.
*.filterAlarmTags:

!-- Call (by default) this shell script when launching an alarm action.
*.launchDefScript:

!-- Use this shell when launching shell scripts.
*.launchUseShell:  /bin/sh

!-- Type of text to display in the calendar icon (Note: case sensitive):
!--   none  : No text displayed.
!--   time  : Display date, short month and time.
*.calIconText:  time

!-- Style for day buttons in the calendar when entries are defined:
!--   1  : Highlight the foreground of the date button.
!--   2  : Make a frame around the date button.
!--   3  : Use the Motif shadow.
*.calDayButtonStyle:  2

!-- Positions for windows:
!--   AccessTl       : The access control window.
!--   AlarmTl        : The alarm window.
!--   ApEditorTl     : The appointment editor.
!--   CalTl          : The main calendar window (No size).
!--   CustomTl       : The customize window.
!--   MsgSelTl       : The receive message selection window.
!--   MsgSendTl      : The send message window.
!--   NotifyTl       : The 'notify database changes' window.
!--   PrintTl        : The print window.
!--   PlanTl         : The planner window.
!--   RemindTl       : The reminder window.
!--   RemindAlarmTl  : The reminder alarm window.
!--   SchedTl        : The day view (schedule) window (No size).
!--   StickyMsgTl    : The XDiary sticky messages window.
!--   ShowTl         : The summary window.
!--   SysMsgWinTl    : The system/error message window.
!--   TopicView      : The help window (Size mandatory).

!*.AccessTl.geometry:
!*.AlarmTl.geometry:
!*.ApEditorTl.geometry:
!*.CalTl.geometry:  
!*.NotifyTl.geometry:
!*.RemindAlarmTl.geometry:
!*.StickyMsgTl.geometry:
!*.SchedTl.geometry:
!*.SysMsgWinTl.geometry:
*.InfoTl.geometry:     680x650-0+15
*.MsgSelTl.geometry:   +15+15
*.MsgSendTl.geometry:  +35+45
*.PrintTl.geometry:    +35+45
*.RemindTl.geometry:   +35+45
*.ShowTl.geometry:     +45+75
*.PlanTl.geometry:     640x570+25-25


!-- Color DB.
*.colorBgList:  $colorBgList
*.colorFgList:  $colorFgList

!-- Colors for included calendars.
*.dbColorBgList:  $dbColorBgList

!-- Colors for tags. The entries are separated by a space and the format
!-- for each entry is 'tag(fgColor,bgColor)'.
*.entryTagsColors:


!-- Colors for calendars etc.
*.dateMarkBg:    $color3
*.entryExistFg:  $color9
*.holidayFg:     $color5
*.todayBg:       $color4
*.weekNumberFg:  $color7

*.mondayFg:      $color1
*.tuesdayFg:     $color1
*.wednesdayFg:   $color1
*.thursdayFg:    $color1
*.fridayFg:      $color1
*.saturdayFg:    $color1
*.sundayFg:      $color5


!-- Colors for the entries in the day list.
*.entryNormalFg:     $color1
*.entryImportantFg:  $color5
*.entryNoteFg:       $color1
*.entryIncludeBg:    $color10
*.entrySelectBg:     $color2
*.entryUnselectBg:   $color3

!-- Shadow thickness for defined appointments in the day view.
*.entryShadow:  0

!-- ASCII values for markers (depends on the fonts selected).
*.actionAlarmMarker:  161
*.alarmMarker:        182
*.archiveMarker:      97
*.includeMarker:      187
*.importantMarker:    33
*.noteDoneMarker:     172
*.noteNotDoneMarker:  32
*.privateMarker:      112
*.standingMarker:     164


!-- Font definitions.
!--------------------
*buttonFontList:  $systemFont
*fontList:        $systemFont
*labelFontList:   $systemFont

*XmText.fontList:                              $userFont
*XmList.fontList:                              $userFont
*ShowTlBase*TextSw*fontList:                   $userFont
*SchedTl*SchedPa*Pane2Fo*TimeDispSw*fontList:  $userFont
*PlanTl*TimeDispSw*fontList:                   $userFont
*InfoTl*HelpTx*fontList:                       $userFont

*.CalTlFo.HiddenLa.fontList:  $iconFont


!-- Resources controlling the appearance of the windows.
!-------------------------------------------------------


!-- Main calenadr.
!-----------------
*.CalTlFo.MenuBr*background:                         $color2
*.CalTlFo.MenuBr*foreground:                         $color1
*.CalTlFo.MenuBr.spacing:                            0
*.CalTlFo.MenuBr.XmCascadeButton.marginWidth:        8
*.CalTlFo.background:                                $color3
*.CalTlFo.foreground:                                $color1
*.CalTlFo*Calendar*background:                       $color3
*.CalTlFo*Calendar*foreground:                       $color1
*.CalTlFo*Calendar*TodayDateBu*foreground:           $color6
*.CalTlFo*Calendar*MessageBu*shadowThickness:        0
*.CalTlFo*Calendar.XmPushButton.background:          $color3
*.CalTlFo*Calendar.XmPushButton.foreground:          $color1
*.CalTlFo*Calendar.XmPushButton.highlightThickness:  1
*.CalTlFo*Calendar.marginHeight:                     1
*.CalTlFo*Calendar.marginWidth:                      1
*.CalTlFo*Calendar.frontPageBackground:              $color3
*.CalTlFo*Calendar.coveredPageBackground:            $color4
*.CalTlFo*Calendar.bookSideExtent:                   16
*.CalTlFo*Calendar.scrollOffsetRight:                5
*.CalTlFo*Calendar*CalMd*XmPushButton.marginHeight:  0
*.CalTlFo*Calendar*CalMd*XmPushButton.marginWidth:   1
*.CalTlFo*Calendar*CalMd*XmLabel.marginHeight:       0
*.CalTlFo*Calendar*CalMd*XmLabel.marginWidth:        1


!-- Day view window (Schedule).
!------------------------------
*.SchedTlBase*background:                               $color3
*.SchedTlBase*foreground:                               $color1
*.SchedTl*MenuBr*background:                            $color2
*.SchedTl*MenuBr.spacing:                               0
*.SchedTl*MenuBr.XmCascadeButton.marginWidth:           8
*.SchedTl*FromTb*XmText*background:                     $color8
*.SchedTl*ZoomFsTx*shadowThickness:                     1
*.SchedTl*SchedPa.sashHeight:                           15
*.SchedTl*SchedPa.sashWidth:                            15
*.SchedTl*SchedPa*NoteSw*AnimatePb.background:          $color3
*.SchedTl*SchedPa*EntrySw*AnimatePb.background:         $color3
*.SchedTl*SchedPa*TimeDispSw*AnimatePb.background:      $color4
*.SchedTl*SchedPa*NoteSw*background:                    $color4
*.SchedTl*SchedPa*EntrySw*background:                   $color4
*.SchedTl*SchedPa*NoteBb*highlightThickness:            0
*.SchedTl*SchedPa*EntryBb*highlightThickness:           0
*.SchedTl*SchedPa*NoteSw*XmSeparator.separatorType:     SHADOW_ETCHED_OUT
*.SchedTl*SchedPa*NoteSw*XitRwPixButton.marginHeight:   0
*.SchedTl*SchedPa*EntrySw*XmSeparator.separatorType:    SHADOW_ETCHED_OUT
*.SchedTl*SchedPa*EntrySw*XitRwPixButton.marginHeight:  0
*.SchedTl*SchedPa*TimeIndicatorAr.width:                13
*.SchedTl*SchedPa*TimeIndicatorAr.height:               13
*.SchedTl*alArrowPlacement:                             ARROWS_LEFT


!-- Day view window (Upload and download calendars).
!---------------------------------------------------
*.SchedTl*RemoteFd*background:               $color3
*.SchedTl*RemoteFd*foreground:               $color1
*.SchedTl*RemoteFd*XmText*background:        $color8
*.SchedTl*RemoteFd*PwdFd*background:         $color3
*.SchedTl*RemoteFd*PwdFd*foreground:         $color1
*.SchedTl*RemoteFd*PwdFd*XmText*background:  $color8


!-- Day view window (Select scale value).
!----------------------------------------
*.SchedTl*ScaleValFd*background:  $color3
*.SchedTl*ScaleValFd*foreground:  $color1


!-- Appointment entry window.
!----------------------------
*.ApEditorTlBase*background:                          $color3
*.ApEditorTlBase*foreground:                          $color1
*.ApEditorTlBase*MenuBr*background:                   $color2
*.ApEditorTlBase*MenuBr.spacing:                      0
*.ApEditorTlBase*MenuBr.XmCascadeButton.marginWidth:  8
*.ApEditorTlBase*DataEntFo*background:                $color4
*.ApEditorTlBase*DataEntFo*XmText.background:         $color8
*.ApEditorTlBase*SelFo*background:                    $color4
*.ApEditorTlBase*ValFo*background:                    $color4
*.ApEditorTlBase*ActionRc*XmPushButton*background:    $color4
*.ApEditorTlBase*EntryMaRc*XmText.background:         $color8
*.ApEditorTlBase*EntryTagTx.background:               $color8
*.ApEditorTlBase*TagSelectPu*background:              $color8
*.ApEditorTlBase*EntryTagFsTx.background:             $color8
*.ApEditorTlBase*DatabaseFsTx*shadowThickness:        1
*.ApEditorTlBase*TextEntTx.background:                $color8
*.ApEditorTlBase*TextEntTx.columns:                   60
*.ApEditorTlBase*TextEntTx.rows:                      8


!-- Appointment entry window (file select).
!------------------------------------------
*.ApEditorTl*FileSelect*background:         $color3
*.ApEditorTl*FileSelect*foreground:         $color1
*.ApEditorTl*FileSelect*XmList.background:  $color4
*.ApEditorTl*FileSelect*XmText.background:  $color8


!-- Appointment entry window (alarm).
!------------------------------------
*.ApEditorTl*AlarmFd*background:                 $color3
*.ApEditorTl*AlarmFd*foreground:                 $color1
*.ApEditorTl*AlarmFd*AlarmRc*background:         $color4
*.ApEditorTl*AlarmFd*AlarmRc*XmText*background:  $color8
*.ApEditorTl*AlarmFd*TuneRc*background:          $color4
*.ApEditorTl*AlarmFd*TuneRc*PTestPb*background:  $color3
*.ApEditorTl*AlarmFd*ActionRc*background:        $color4


!-- Appointment entry window (preferences).
!------------------------------------------
*.ApEditorTl*PrefFd*background:                   $color3
*.ApEditorTl*PrefFd*foreground:                   $color1
*.ApEditorTl*PrefFd*LinesFr*background:           $color4
*.ApEditorTl*PrefFd*LinesFr*XmText*background:    $color8
*.ApEditorTl*PrefFd*HideFr*background:            $color4
*.ApEditorTl*PrefFd*FlagsFr*background:           $color4
*.ApEditorTl*PrefFd*ColorFr*background:           $color4
*.ApEditorTl*PrefFd*ColorBgCsTx.shadowThickness:  1
*.ApEditorTl*PrefFd*ColorFgCsTx.shadowThickness:  1


!-- Appointment entry window (standing entry information).
!---------------------------------------------------------
*.ApEditorTl*StandFd*background:                       $color3
*.ApEditorTl*StandFd*foreground:                       $color1
*.ApEditorTl*StandFd*TimeRc*XmText*background:         $color8
*.ApEditorTl*StandFd*ValRc*background:                 $color4
*.ApEditorTl*StandFd*DayInMonthFsTx.shadowThickness:   1
*.ApEditorTl*StandFd*DayInMonthFsTx.background:        $color4
*.ApEditorTl*StandFd*EveryTx*background:               $color8
*.ApEditorTl*StandFd*ValIntEveryFsTx.shadowThickness:  1
*.ApEditorTl*StandFd*ValIntEveryFsTx.background:       $color4
*.ApEditorTl*StandFd*NoWorkFsTx.shadowThickness:       1
*.ApEditorTl*StandFd*NoWorkFsTx.background:            $color4
*.ApEditorTl*StandFd*ValIntEveryTx*background:         $color8
*.ApEditorTl*StandFd*SkipWeekPb*background:            $color4


!-- Appointment entry window (skip weeks information).
!-----------------------------------------------------
*.ApEditorTl*StandFd*SkipFd*background:         $color3
*.ApEditorTl*StandFd*SkipFd*foreground:         $color1
*.ApEditorTl*StandFd*SkipFd*SkipSw.height:      250
*.ApEditorTl*StandFd*SkipFd*SkipSw.width:       230
*.ApEditorTl*StandFd*SkipFd*SkipSw*background:  $color4


!-- Planner window.
!------------------
*.PlanTlBase*background:                      $color3
*.PlanTlBase*foreground:                      $color1
*.PlanTl*MenuBr*background:                   $color2
*.PlanTl*MenuBr.spacing:                      0
*.PlanTl*MenuBr.XmCascadeButton.marginWidth:  8
*.PlanTl*DateTb*XmText*background:            $color8
*.PlanTl*ZoomFsTx*shadowThickness:            1
*.PlanTl*PlanSw.*background:                  $color4
*.PlanTl*PlanSw*XmPushButton*background:      $color2
*.PlanTl*PlanSw*highlightThickness:           0
*.PlanTl*PlanSw*XmSeparator.separatorType:    SHADOW_ETCHED_OUT
*.PlanTl*PlanWhatFo.width:                    150
*.PlanTl*CalSelSw*background:                 $color4
*.PlanTl*GrpSelSw*background:                 $color4
*.PlanTl*alArrowPlacement:                    ARROWS_LEFT


!-- Send message window (recipients).
!------------------------------------
*.MsgSendTlBase*background:                          $color3
*.MsgSendTlBase*foreground:                          $color1
*.MsgSendTlBase*XmText.background:                   $color8
*.MsgSendTlBase*MenuBr*background:                   $color2
*.MsgSendTlBase*MenuBr.spacing:                      0
*.MsgSendTlBase*MenuBr.XmCascadeButton.marginWidth:  8
*.MsgSendTlBase*ToLi*background:                     $color4
*.MsgSendTlBase*ToLi.visibleItemCount:               8
*.MsgSendTlBase*DbLi*background:                     $color4
*.MsgSendTlBase*DbLi.visibleItemCount:               4
*.MsgSendTlBase*GroupLi*background:                  $color4
*.MsgSendTlBase*GroupLi.visibleItemCount:            4
*.MsgSendTlBase*ToFieldTx.columns:                   25


!-- Send message window (message).
!---------------------------------
*.MsgSendTl*MsgFd*background:                             $color3
*.MsgSendTl*MsgFd*foreground:                             $color1
*.MsgSendTl*MsgFd*MsgMenuBr*background:                   $color2
*.MsgSendTl*MsgFd*MsgMenuBr.spacing:                      0
*.MsgSendTl*MsgFd*MsgMenuBr.XmCascadeButton.marginWidth:  8
*.MsgSendTl*MsgFd*XmText.background:                      $color8
*.MsgSendTl*MsgFd*MsgTx.rows:                             2
*.MsgSendTl*MsgFd*MsgTx.columns:                          60
*.MsgSendTl*MsgFd*TextTx.rows:                            8
*.MsgSendTl*MsgFd*TextTx.columns:                         60
*.MsgSendTl*MsgFd*FileSelect*background:                  $color3
*.MsgSendTl*MsgFd*FileSelect*foreground:                  $color1
*.MsgSendTl*MsgFd*FileSelect*XmList.background:           $color4
*.MsgSendTl*MsgFd*FileSelect*XmText.background:           $color8


!-- Answer message window.
!-------------------------
*.MsgAnswFd*background:         $color3
*.MsgAnswFd*foreground:         $color1
*.MsgAnswFd*XmText.background:  $color8
*.MsgAnswFd*AnswTx.rows:        5
*.MsgAnswFd*AnswTx.columns:     60


!-- Select message window.
!-------------------------
*.MsgSelTlBase*background:                          $color3
*.MsgSelTlBase*foreground:                          $color1
*.MsgSelTlBase*MenuBr*background:                   $color2
*.MsgSelTlBase*MenuBr.spacing:                      0
*.MsgSelTlBase*MenuBr.XmCascadeButton.marginWidth:  8
*.MsgSelTlBase*MsgLi*background:                    $color4
*.MsgSelTlBase*MsgLi.visibleItemCount:              5


!-- Read message window.
!-----------------------
*.MsgReadFd*background:         $color3
*.MsgReadFd*foreground:         $color1
*.MsgReadFd*XmText.background:  $color8
*.MsgReadFd*MsgTx.rows:         20
*.MsgReadFd*MsgTx.columns:      40


!-- Print window.
!----------------
*.PrintTlBase*background:                          $color3
*.PrintTlBase*foreground:                          $color1
*.PrintTlBase*MenuBr*background:                   $color2
*.PrintTlBase*MenuBr.spacing:                      0
*.PrintTlBase*MenuBr.XmCascadeButton.marginWidth:  8
*.PrintTlBase*PrinterLi*background:                $color4
*.PrintTlBase*PrinterLi.visibleItemCount:          10
*.PrintTlBase*PrSelectRc*XmText.background:        $color8
*.PrintTlBase*PrDayRc*XmText.background:           $color8
*.PrintTlBase*ShLineRc*XmText.background:          $color8
*.PrintTlBase*PrProfileFr*background:              $color4
*.PrintTlBase*PrProfileFr*XmText.background:       $color3
*.PrintTlBase*PrProfileFr*XmText*shadowThickness:  1
*.PrintTlBase*PrParamFr*background:                $color4
*.PrintTlBase*PrParamFr*XmText.background:         $color3
*.PrintTlBase*PrParamFr*XmText*shadowThickness:    1


!-- Summary window.
!------------------
*.ShowTlBase*background:                          $color3
*.ShowTlBase*foreground:                          $color1
*.ShowTlBase*MenuBr*background:                   $color2
*.ShowTlBase*MenuBr.spacing:                      0
*.ShowTlBase*MenuBr.XmCascadeButton.marginWidth:  8
*.ShowTlBase*XmText.background:                   $color8
*.ShowTlBase*TextSw*background:                   $color4
*.ShowTlBase*TextSw.height:                       350
*.ShowTlBase*TextSw.width:                        450
*.ShowTlBase*CalFsTx.background:                  $color3
*.ShowTlBase*CalFsTx.shadowThickness:             1


!-- Appointment move/copy window.
!--------------------------------
*.CopyMoveFd*background:                    $color3
*.CopyMoveFd*foreground:                    $color1
*.CopyMoveFd*ToTimeTb*XmText*background:    $color8
*.CopyMoveFd*DatabaseFsTx*shadowThickness:  1


!-- Appintment duplicate window.
!-------------------------------
*.DuplFd*background:                    $color3
*.DuplFd*foreground:                    $color1
*.DuplFd*DateSelRc*XmText.background:   $color8
*.DuplFd*ValRc*background:              $color4
*.DuplFd*DatabaseFsTx*shadowThickness:  1


!-- Freeze appintment window.
!----------------------------
*.FreezeFd*background:                  $color3
*.FreezeFd*foreground:                  $color1
*.FreezeFd*ToTimeTb*XmText.background:  $color8


!-- Sticky message window.
!-------------------------
*.StickyMsgTl*background:  $color3
*.StickyMsgTl*foreground:  $color1


!-- Include database window.
!---------------------------
*.IncFd*background:        $color3
*.IncFd*foreground:        $color1
*.IncFd*IncSw.height:      300
*.IncFd*IncSw*background:  $color4


!-- Entry tag window.
!--------------------
*.TagFd*background:          $color3
*.TagFd*foreground:          $color1
*.TagFd*TagFsTx*background:  $color8


!-- Select date window.
!----------------------
*.FastPathFd*background:                  $color3
*.FastPathFd*foreground:                  $color1
*.FastPathFd*FpMonthLi*background:        $color4
*.FastPathFd*FpMonthLi.visibleItemCount:  15


!-- Filter window.
!-----------------
*.FiltFd*background:         $color3
*.FiltFd*foreground:         $color1
*.FiltFd*XmText*background:  $color8


!-- Select hidden entries window.
!--------------------------------
*.SelHidFd*background:                $color3
*.SelHidFd*foreground:                $color1
*.SelHidFd*EntryLi*background:        $color4
*.SelHidFd*EntryLi.visibleItemCount:  15
*.SelHidFd*XmText*background:         $color8


!-- Open database window.
!------------------------
*.OpenFd*foreground:                           $color1
*.OpenFd*background:                           $color3
*.OpenFd*XmList*background:                    $color4
*.OpenFd*XmText*background:                    $color8
*.OpenFd*DbLocLi.visibleItemCount:             10
*.OpenFd*CalActionRc*XmPushButton*background:  $color4


!-- Customize window.
!--------------------
*.CustomTlBase*background:                          $color3
*.CustomTlBase*foreground:                          $color1
*.CustomTlBase*MenuBr*background:                   $color2
*.CustomTlBase*MenuBr*foreground:                   $color1
*.CustomTlBase*MenuBr.spacing:                      0
*.CustomTlBase*MenuBr.XmCascadeButton.marginWidth:  8
*.CustomTlBase*CustRc*XmPushButton*background:      $color4


!-- Customize window (calendars).
!--------------------------------
*.CustomTl*CalFd*background:              $color3
*.CustomTl*CalFd*foreground:              $color1
*.CustomTl*CalFd*XmText*background:       $color8
*.CustomTl*CalFd*XmList*background:       $color4
*.CustomTl*CalFd*AddPb*background:        $color4
*.CustomTl*CalFd*DeletePb*background:     $color4
*.CustomTl*CalFd*CalLi.visibleItemCount:  10


!-- Customize window (groups).
!-----------------------------
*.CustomTl*GroupFd*background:              $color3
*.CustomTl*GroupFd*foreground:              $color1
*.CustomTl*GroupFd*XmText*background:       $color8
*.CustomTl*GroupFd*XmList*background:       $color4
*.CustomTl*GroupFd*AddPb*background:        $color4
*.CustomTl*GroupFd*DeletePb*background:     $color4
*.CustomTl*GroupFd*GrpLi.visibleItemCount:  10
*.CustomTl*GroupFd*GrpMemTx.rows:           5
*.CustomTl*GroupFd*GrpMemTx.columns:        30


!-- Customize window (archives).
!-------------------------------
*.CustomTl*ArchiveFd*background:               $color3
*.CustomTl*ArchiveFd*foreground:               $color1
*.CustomTl*ArchiveFd*ArchLi*background:        $color4
*.CustomTl*ArchiveFd*ArchLi.visibleItemCount:  10
*.CustomTl*ArchiveFd*XmText*background:        $color8
*.CustomTl*ArchiveFd*AddPb*background:         $color4
*.CustomTl*ArchiveFd*DeletePb*background:      $color4


!-- Customize window (included).
!-------------------------------
*.CustomTl*CuInclFd*background:             $color3
*.CustomTl*CuInclFd*foreground:             $color1
*.CustomTl*CuInclFd*DbLi*background:        $color4
*.CustomTl*CuInclFd*DbLi.width:             200
*.CustomTl*CuInclFd*DbLi.visibleItemCount:  10
*.CustomTl*CuInclFd*InclLi*background:      $color4
*.CustomTl*CuInclFd*IncLi.width:            200
*.CustomTl*CuInclFd*IncLi.visibleItemCount: 10


!-- Customize window (Import).
!-------------------------------
*.CustomTl*ImpFd*background:              $color3
*.CustomTl*ImpFd*foreground:              $color1
*.CustomTl*ImpFd*CalLi*background:        $color4
*.CustomTl*ImpFd*CalLi.width:             200
*.CustomTl*ImpFd*CalLi.visibleItemCount:  10


!-- Pick calendar.
!-----------------
*.PickFd*background:               $color3
*.PickFd*foreground:               $color1
*.PickFd*FileLi.visibleItemCount:  10
*.PickFd*XmList*background:        $color4
*.PickFd*XmText*background:        $color8


!-- Access control window.
!-------------------------
*.AclTl*background:                    $color3
*.AclTl*foreground:                    $color1
*.AclTl*DbLocLi*background:            $color4
*.AclTl*DbLocLi.visibleItemCount:      10
*.AclTl*EditAclPb*background:          $color4
*.AclTl*AclFd*background:              $color3
*.AclTl*AclFd*foreground:              $color1
*.AclTl*AclFd*AclLi*background:        $color4
*.AclTl*AclFd*AclLi.visibleItemCount:  10
*.AclTl*AclFd*XmText*background:       $color8
*.AclTl*AclFd*AddPb*background:        $color4
*.AclTl*AclFd*DeletePb*background:     $color4


!-- Alarm process control window.
!--------------------------------
*.AlmProcFd*background:                   $color3
*.AlmProcFd*foreground:                   $color1
*.AlmProcFd*DbStatusLi*background:        $color4
*.AlmProcFd*DbStatusLi.width:             290
*.AlmProcFd*DbStatusLi.visibleItemCount:  10


!-- Reminder window
!------------------
*.RemindTl*background:                          $color3
*.RemindTl*foreground:                          $color1
*.RemindTl*MenuBr*background:                   $color2
*.RemindTl*MenuBr.spacing:                      0
*.RemindTl*MenuBr.XmCascadeButton.marginWidth:  8
*.RemindTl*AlarmTs.XmText.background:           $color8
*.RemindTl*AlarmTx.background:                  $color8
*.RemindTl*AlarmTx.columns:                     40
*.RemindTl*AlarmTx.rows:                        5
*.RemindAlarmTl*background:                     $color3
*.RemindAlarmTl*foreground:                     $color1


!-- Archive window.
!------------------
*.ArchFd*background:               $color3
*.ArchFd*foreground:               $color1
*.ArchFd*ArchLi*background:        $color4
*.ArchFd*ArchLi.visibleItemCount:  10
*.ArchFd*FileTx*background:        $color8

!-- Alarm window.
!----------------
*.AlarmTl*background:                    $color2
*.AlarmTl*foreground:                    $color1
*.AlarmTl*SnoozeFd*background:           $color2
*.AlarmTl*SnoozeFd*foreground:           $color1
*.AlarmTl*SnoozeFd*SnoozeSc.width:       300
*.AlarmTl*ViewTextFd*background:         $color3
*.AlarmTl*ViewTextFd*foreground:         $color1
*.AlarmTl*ViewTextFd*ViewTx*background:  $color4
*.AlarmTl*ViewTextFd*ViewTx.columns:     60
*.AlarmTl*ViewTextFd*ViewTx.rows:        10


!-- Error message window.
!------------------------
*.SysMsgWinTl*background:           $color3
*.SysMsgWinTl*foreground:           $color1
*.SysMsgWinTl*MsgWinTx*background:  $color4
*.SysMsgWinTl*MsgWinTx.rows:        20
*.SysMsgWinTl*MsgWinTx.columns:     40


!-- Release notes window.
!------------------------
*.RelTl*background:  $color3
*.RelTl*foreground:  $color1


!-- Parameter window.
!--------------------
*.ParSetFd*background:                  $color3
*.ParSetFd*foreground:                  $color1
*.ParSetFd*XmText*background:           $color8
*.ParSetFd*ParListLi*background:        $color4
*.ParSetFd*ParListLi.width:             150
*.ParSetFd*ParListLi.visibleItemCount:  25
*.ParSetFd*DescTx*background:           $color4
*.ParSetFd*DescTx.columns:              40
*.ParSetFd*DescTx.rows:                 10
*.ParSetFd*ColorFsTx.shadowThickness:   1


!-- Database changed notify window.
!----------------------------------
*.NotifyTl*background:         $color3
*.NotifyTl*foreground:         $color1
*.NotifyTl*XmText*background:  $color4
*.NotifyTl*TextTx.columns:     40
*.NotifyTl*TextTx.rows:        20


!-- Select a date.
!-----------------
*XmUbMonthDisplay*background:                  $color3
*XmUbMonthDisplay*foreground:                  $color1
*XmUbMonthDisplay*mdiOtherMonthForeground:     $color7
*XmUbMonthDisplay*mdiSaturdayForeground:       $color1
*XmUbMonthDisplay*mdiSundayForeground:         $color5
*XmUbMonthDisplay*mdiWeekdayForeground:        $color1
*XmUbMonthDisplay*mdiTodayForeground:          $color1
*XmUbMonthDisplay*mdiWeekNumberForeground:     $color7
*XmUbMonthDisplay*XmPushButton.marginHeight:   0
*XmUbMonthDisplay*XmPushButton.marginWidth:    1
*XmUbMonthDisplay*XmLabel.marginHeight:        0
*XmUbMonthDisplay*XmLabel.marginWidth:         1
*XmUbMonthDisplay*XmUbArrowLabel.marginWidth:  5
*XmUbMonthDisplay*alArrowPlacement:            ARROWS_LEFT


!-- Select a time.
!-----------------
*XmUbTimeSlider*background:  $color3
*XmUbTimeSlider*foreground:  $color1


!-- Info window.
!---------------
*.InfoTl*background:                               $color3
*.InfoTl*foreground:                               $color1
*.InfoTl*MenuBr*background:                        $color2
*.InfoTl*MenuBr.spacing:                           0
*.InfoTl*MenuBr.XmCascadeButton.marginWidth:       8
*.InfoTl*InfoPa.sashHeight:                        15
*.InfoTl*InfoPa.sashWidth:                         15
*.InfoTl*HelpTxSW*background:                      $color4
*.InfoTl*ActionFr.shadowType:                      SHADOW_ETCHED_OUT
*.InfoTl*ActionRc.height:                          40
*.InfoTl*ActionRc*XmPushButton*background:         $color8
*.InfoTl*CommandRc.marginHeight:                   0
*.InfoTl*CommandRc*XitRwPixButton.pixmapPosition:  LEFT
*.InfoTl*SectionLi*background:                     $color4
*.InfoTl*Pane1Fo.paneMinimum:                      300

!-- Info window (print).
!-----------------------
*.InfoTl*PrintFd*background:                  $color3
*.InfoTl*PrintFd*foreground:                  $color1
*.InfoTl*PrintFd*XmText.background:           $color8
*.InfoTl*PrintFd*PrinterLi*background:        $color4
*.InfoTl*PrintFd*PrinterLi.visibleItemCount:  10

!-- Info window (search).
!------------------------
*.InfoTl*SearchFd*background:                 $color3
*.InfoTl*SearchFd*foreground:                 $color1
*.InfoTl*SearchFd*XmText.background:          $color8
*.InfoTl*SearchFd*SearchInFr*background:      $color4
*.InfoTl*SearchFd*ResultLi*background:        $color4
*.InfoTl*SearchFd*ResultLi.visibleItemCount:  10

!-- Info window (toc).
!---------------------
*.InfoTl*TocFd*background:              $color3
*.InfoTl*TocFd*foreground:              $color1
*.InfoTl*TocFd*TocLi*background:        $color4
*.InfoTl*TocFd*TocLi.visibleItemCount:  15

!-- Info window (books).
!-----------------------
*.InfoTl*BookFd*background:               $color3
*.InfoTl*BookFd*foreground:               $color1
*.InfoTl*BookFd*BookLi*background:        $color4
*.InfoTl*BookFd*BookLi.visibleItemCount:  10



!-- Question and message dialogs.
!--------------------------------
*.AboutDialog*background:        $color3
*.AboutDialog*foreground:        $color1

*.ErrorDialog*background:        $color2
*.ErrorDialog*foreground:        $color1

*.InformationDialog*background:  $color2
*.InformationDialog*foreground:  $color1

*.QuestionDialog*background:     $color2
*.QuestionDialog*foreground:     $color1

*.WorkingDialog*background:      $color2
*.WorkingDialog*foreground:      $color1

*.TempTl*background:             $color3
*.TempTl*foreground:             $color1


!-- If you change this, make sure you know what you are doing!
!-------------------------------------------------------------

!-- Master book.
*.masterBook: Library:top

!-- Books defined by the user.
*.userBooks:

!-- Books defined by the system.
*.systemBooks: \
        Install#XDiary installation#top#$XDHOME/Install.db\n\
        Library#XDiary library#top#$XDHOME/Library.db\n\
        Manual#XDiary manual#top#$XDHOME/Manual.db\n\
        News#XDiary news#top#$XDHOME/News.db\n\
        Windows#XDiary windows#top#$XDHOME/Windows.db

!-- Identifier for AFS files (according to /etc/vfs).
*.afsVfsId:		4

!-- Accelerators for the pulldown menus.
*.CalTl*MenuBr*ApEditBu.accelerator:           Ctrl<Key>e
*.CalTl*MenuBr*ApEditBu.acceleratorText:       Ctrl+E
*.CalTl*MenuBr*MonthExtBu.accelerator:         Ctrl<Key>x
*.CalTl*MenuBr*MonthExtBu.acceleratorText:     Ctrl+X
*.CalTl*MenuBr*RemindBu.accelerator:           Ctrl<Key>r
*.CalTl*MenuBr*RemindBu.acceleratorText:       Ctrl+R
*.CalTl*MenuBr*RedisplayBu.accelerator:        Ctrl<Key>w
*.CalTl*MenuBr*RedisplayBu.acceleratorText:    Ctrl+W

*.SchedTl*MenuBr*ApEditBu.accelerator:         Ctrl<Key>e
*.SchedTl*MenuBr*ApEditBu.acceleratorText:     Ctrl+E
*.SchedTl*MenuBr*CalendarBu.accelerator:       Ctrl<Key>n
*.SchedTl*MenuBr*CalendarBu.acceleratorText:   Ctrl+N
*.SchedTl*MenuBr*ConfirmBu.accelerator:        Ctrl<Key>f
*.SchedTl*MenuBr*ConfirmBu.acceleratorText:    Ctrl+F
*.SchedTl*MenuBr*CopyBu.accelerator:           Ctrl<Key>c
*.SchedTl*MenuBr*CopyBu.acceleratorText:       Ctrl+C
*.SchedTl*MenuBr*CopyBufBu.accelerator:        Ctrl<Key>b
*.SchedTl*MenuBr*CopyBufBu.acceleratorText:    Ctrl+B
*.SchedTl*MenuBr*DeleteBu.accelerator:         Ctrl<Key>d
*.SchedTl*MenuBr*DeleteBu.acceleratorText:     Ctrl+D
*.SchedTl*MenuBr*DispDaysBu.accelerator:       Ctrl<Key>i
*.SchedTl*MenuBr*DispDaysBu.acceleratorText:   Ctrl+I
*.SchedTl*MenuBr*EditBu.accelerator:           Ctrl<Key>e
*.SchedTl*MenuBr*EditBu.acceleratorText:       Ctrl+E
*.SchedTl*MenuBr*ListLayBu.accelerator:        Ctrl<Key>l
*.SchedTl*MenuBr*ListLayBu.acceleratorText:    Ctrl+L
*.SchedTl*MenuBr*MoveBu.accelerator:           Ctrl<Key>m
*.SchedTl*MenuBr*MoveBu.acceleratorText:       Ctrl+M
*.SchedTl*MenuBr*PasteBufBu.accelerator:       Ctrl<Key>p
*.SchedTl*MenuBr*PasteBufBu.acceleratorText:   Ctrl+P
*.SchedTl*MenuBr*RedisplayBu.accelerator:      Ctrl<Key>w
*.SchedTl*MenuBr*RedisplayBu.acceleratorText:  Ctrl+W
*.SchedTl*MenuBr*UseGridBu.accelerator:        Ctrl<Key>g
*.SchedTl*MenuBr*UseGridBu.acceleratorText:    Ctrl+G

*.SchedTl*SchedPa*NoteSw*XitRwPixButton.translations:  #override \n\
  <Btn2Down>:  Arm() \n\
  <Btn2Up>:    Activate() Disarm()

*.SchedTl*SchedPa*EntrySw*XitRwPixButton.translations: #override \n\
  <Btn2Down>:  Arm() \n\
  <Btn2Up>:    Activate() Disarm()

*.XmText.translations:    #override \n\
  <Key>End:        end-of-line() \n\
  <Key>Home:       beginning-of-line() \n\
  <Key>osfDelete:  delete-next-character() \n\
  Ctrl<Key>a:      beginning-of-line() \n\
  Ctrl<Key>d:      delete-next-character() \n\
  Ctrl<Key>e:      end-of-line() \n\
  Ctrl<Key>k:      kill-to-end-of-line() \n\
  Alt<Key>b:       backward-word() \n\
  Alt<Key>f:       forward-word() \n\
  <Btn2Up>:        copy-to()

! Inline replacement of resources.
*.substringResources: colorBgList colorFgList dbColorBgList
*.substringDelimiters: \040


!-- Allow for local resource customization
!-----------------------------------------

#include "XDiary.local"

