!
! Resource File for Twpsk
!

! The next line is the complete path to the directory where you want to
! keep the files associated with twpsk
! For example,
Twpsk.twpskDir:                        /home/me/twpskDir
!Twpsk.twpskDir:                        /home/ted/twpskDir

! The next line is a comma separated list of files in the twpskDir directory
! These filenames will appear as button names on the File pulldown menu.
! Add your own files.  For example,
Twpsk.buttonNames:                     ShortCQ,LongCQ,Brag


! Start up values for rx and tx Freq
Twpsk.rxFreq:                          1000.0
Twpsk.txFreq:                          1000.0

! Start up state for AFC and NET - 1=ON 0=OFF
Twpsk.afc:                             1 
Twpsk.net:                             1

! The squelch is gone for now.  
! Start up value for Squelch Scale - Valid range  0 -> 40 
!Twpsk*squelchScale.value:              5

! Set the next value to 1 if you do NOT want the mixer controls
! to be active.
Twpsk.noMixer:                         0

! Start up values for mixer controls
! valid values are 0 -> 100
Twpsk.mainVol:                         65
Twpsk.outVol:                          65
Twpsk.inVol:                           50

! Set the next value to your call for CW ID
Twpsk.call:                            N0CALL
!Twpsk.call:                            WA0EIR

! Set next value to 1 to display zeros with slashes
Twpsk.zero:                            1

! Set next value to 1 for PTT. Set the following
! line to the serial device used to key PTT
Twpsk.ptt:                             1
Twpsk.serDev:                          /dev/ttyS1

! Select the start up state for the display type
! Twpsk*saTB.set - selects the spectrum analyzer
! Twpsk*wfTB.set - selects the waterfall
! Uncomment only one of the following:
!Twpsk*saTB.set:                        1
Twpsk*wfTB.set:                        1

!Set one of the following to 1 and the other two
!to 0 for Wide, Medium or Narrow bandwidth display
Twpsk*B.set:                           0
Twpsk*M.set:                           1
Twpsk*N.set:                           0

! Your call on the next line for the label on top
! Use \330 for a zero with a slash
! For example:
Twpsk*label1.labelString:              TWPSK
!Twpsk*label1.labelString:              WA\330EIR
Twpsk*label1.fontList:                 -adobe-helvetica-*-o-*-*-25-*-*-*-*-*-*-*

! fftSpeed
! valid values are 0 -> 100
! the bigger, the faster the display
! 60 is a good one.
Twpsk*fftSpeedScale.value:             60

! brightness start up value
! valid values are 1 -> 100
Twpsk*brightScale.value:               50

! callBox
! set to 1 if you need the callbox
! and set the call box position
!Twpsk.callBox:                         0
Twpsk.callBox:                         1

Twpsk*callShell.x:                      50
Twpsk*callShell.y:                      50



! Translations for "Over", HisCall and
! user defined macros.
!
! Create your own macros using lines like these.
!
!                             Shift Alt <Key>m:     sendMacro(WA0EIR)\n\
!                             Shift Alt <Key>F1:    sendMacro(WA0EIR)\n\
!                             Shift Alt <Key>F2:    sendMacro(WA0EIR WA0EIR)\n\
!                             Shift Alt <Key>s:     sendMacro(SK)\n\
!
! Enter your macros after the line - 
!   Twpsk*txText.translations:   #override\n\
! The last two lines should NOT be modified.
!
! I suggest you use the form:
!   Shift Alt <Key> "some_key": sendMacro(your text)\n\
!
! Others like Ctrl <Key> "some_key": may already be used by other programs.
!
Twpsk*txText.translations:   #override\n\
                             Shift Alt <Key>o:     sendOver()\n\
                             Shift Alt <Key>h:     sendHisCall()


! The window does not fit on a 640x480 or 
! 800x600 display.  For those resolutions,
! try setting the number of lines in the
! text windows to something less than the
! default values. Some example values and
! window sizes are given below.   
! 2 and 4  -> 404x479
! 5 and 5  -> 404x539
! 5 and 10 -> 404x614
Twpsk*txText.rows:                     5
Twpsk*rxText.rows:                     10
!Twpsk*rxText.columns:                  70
!Twpsk*txText.columns:                  70


! X-Y position of upper left corner of the window
Twpsk.x:                               210
Twpsk.y:                               10

!
! Geometry things
!
Twpsk*highlightThickness:              0
Twpsk*displayDiag*.highlightThickness: 3
Twpsk*audioDiag*.highlightThickness:   3
Twpsk*displayRB.spacing:               20
Twpsk*bwRB.spacing:                    15
Twpsk*trRB.spacing:                    17
Twpsk*controlsRC.spacing:              10
Twpsk*modesRC.spacing:                 10

!
! Color stuff
!

Twpsk*background:                      tan
Twpsk*XmForm.background:               #00768d
Twpsk*XmRowColumn.background:          tan
Twpsk*menuBar.background:              tan
Twpsk*controlsRC.background:           #00768d
Twpsk*modesRC.background:              #00768d
Twpsk*trRB.background:                 #00768d
Twpsk*scopeDA.background:              #00768d
Twpsk*XmLabel.foreground:              antiquewhite
Twpsk*XmLabel.background:              #00768d
Twpsk*XmScale.borderColor:             antiquewhite
Twpsk*XmScale.borderWidth:             3
Twpsk*modeRB.background:               #00768d
Twpsk*displayRB.background:            #00768d
Twpsk*bwRB.background:                 #00768d
Twpsk*IMD.background:                  tan
Twpsk*IMD.foreground:                  black

Twpsk*XmToggleButton.selectColor:      red

Twpsk*aboutDiag.background:            #00768d
Twpsk*aboutDiag.foreground:            antiquewhite

Twpsk*helpDiag*background:             #00768d
Twpsk*helpDiag*foreground:             antiquewhite
Twpsk*helpDiag*XmText*foreground:      black
Twpsk*helpDiag*XmText*background:      tan

Twpsk*callDiag*background:             tan
Twpsk*callDiag*foreground:             black

Twpsk*callBox.background:              #00768d
Twpsk*callBox.foreground:              antiquewhite

! Fonts and Label Strings
Twpsk*fontList:                        variable
Twpsk*XmText.fontList:                 9x15bold
Twpsk*XmTextField.fontList:            9x15bold

Twpsk*xmitTB.labelString:              Xmit
Twpsk*rcvTB.labelString:               Recv
Twpsk*tuneTB.labelString:              Tune

! resource file found?
!Twpsk.noTwpskMessBox.messageString  - MUST be the string OK
!Change it and you will break the start up logic
!You've been warned!
Twpsk.noTwpskMessBox.messageString:             OK

! Key Bindings
Twpsk*defaultVirtualBindings: osfBackSpace:     <Key>BackSpace\n\
                              osfDelete:        <Key>Delete\n\
                              osfLeft:          <Key>Left\n\
                              osfRight:         <Key>Right\n\
                              osfUp:            <Key>Up\n\
                              osfDown:          <Key>Down\n\
                              osfMenu:          <Key>F10
