!
! TWLOG RESOURCE FILE
!
! PROPERTIES
!

Twlog.x:                                              10
Twlog.y:                                              248

Twlog*fontList:     fixed
!Twlog*fontList:     variable
!Twlog*fontList:     -misc-ubuntu-bold-r-*-*-14-*-*-*-*-*-*-*

Twlog*XbaeMatrix.width:                               800
!Twlog*XbaeMatrix.width:                               1000

!
! TIME ZONE CHOICE
!
! Set the next line to the timezone you want to use
! Use 0 for local time or 1 for GMT.

!Twlog.tzone:      0
Twlog.tzone:      1

!
! BANDS DATA
!
! Set the next line to the bands or frequencies you use.  The
! value should be a comma seperated list of items you want to
! appear in the menu. For adif compatability, the band format
! needs the letter M. ex: 20 meters is 20M.

!!! TJW eqsl will convert freq to band

! For example:
!Twlog.bands:   3.5,3.8,7.0,7.2  
Twlog.bands:    80M,40M,30M,20M,15M,12M,10M

!
! DEFAULT BAND 
!
! Select the default band by setting the next line to
! the desired button number.  Button numbers start with 
! zero. If this value is 1, then the second item in the
! list above will be the button selected as the default.

!Twlog.default_band: 0
Twlog.default_band: 3

!
! MODES DATA
!
! Set the next line to the modes you use.  Same rules as BANDS
! DATA above.
! For example:  twlog.modes:     A1,A3,F2,F3

Twlog.modes:	CW,SSB,JT65,JT9,PSK31,FM

!
! DEFAULT MODE 
!
! Select default mode.  See DEFAULT MODE above.

!Twlog.default_mode:  0
Twlog.default_mode:  2

!
! POWER DATA
!
! Set the next line to the powers you use.  Same rules as BANDS
! DATA above.

Twlog.power:    50,100,600

!
! DEFAULT POWER 
!
! Select default power.  See DEFAULT BAND above.
!

Twlog.default_power:  0

! Adjust this one so everything fits nice in the text fields
! for the selected font. This one works good for fixed font
Twlog*XmTextField.columns:                            11
! and this works for variable
Twlog*XmTextField.columns:                             5

!
! EQSL
!
! Twlog can automatically send an eQSL. 
! Set this to 1 to enable the sendEQSL feature
! or 0 to disable it
Twlog.sendEQSL:                                        1

! Set the next value to 1 if you want the sendEQSL
! togglebutton set at startup. It will only set if
! sendEQSL is also a 1
Twlog*eqslTB.set:                                      1

! The next two are your eQSL username and password at eQSL
Twlog.username:                                        username
Twlog.password:                                        password

!
!TEXT CURSORS
! All textfields in main show cursor only when they have foces
Twlog*XmTextField.cursorPositionVisible:               False
! These we always want the cursor
Twlog*searchTF.cursorPositionVisible:                  True
Twlog*findPromptDiag*cursorPositionVisible:            True
Twlog*convDiag*cursorPositionVisible:                  True

!
! COLORS 
! not much you will want to edit below here unless you
! want a different color scheme
!
! MAIN WINDOW COLORS
!
Twlog*background:                                      #00768d
Twlog*menuBar*background:                              #e0e0e0
Twlog*XmPushButton.background:                         #e0e0e0
Twlog*XmTextField.background:                          #e0e0e0
Twlog*optionMenu.background:                           #00768d
Twlog*optionMenu*OptionButton.background:              #e0e0e0
Twlog*XmToggleButton.background:                       #e0e0e0
Twlog*Pulldown*background:                             #e0e0e0
Twlog*popup*background:                                #e0e0e0
!

Twlog*foreground:                                      black
Twlog*XmLabel.foreground:                              white
Twlog*XmToggleButton.foreground:                       black

Twlog*highlightColor:                                  white
Twlog*highlightThickness:                              2
Twlog*XmToggleButton.selectColor:                      red

!
! CONVERT DIALOG COLORS
Twlog*convDiag*background:                             #00768d
Twlog*convDiag*foreground:                             black
Twlog*convDiag*XmTextField.background:                 #e0e0e0
Twlog*convDiag*XmPushButton.background:                #e0e0e0
Twlog*convDiag*XmLabel.foreground:                     white

! CONVERT CONFIRM DIALOG
Twlog*convDiag*confDiag*foreground:                    white
Twlog*convDiag*confDiag*OK*foreground:                 black
Twlog*convDiag*confDiag*Cancel*foreground:             black

Twlog*convDiag*typeOptMenu*background:                 #00768d
Twlog*convDiag*typeOptMenu*OptionButton.background:    #e0e0e0
Twlog*convDiag*typeOptMenu*button_0.background:        #e0e0e0
Twlog*convDiag*typeOptMenu*button_1.background:        #e0e0e0

! These take care of the convDiag and fsb1 buttons
Twlog*convDiag*OK.background:                          #e0e0e0
Twlog*convDiag*Cancel.background:                      #e0e0e0
Twlog*convDiag*Apply.background:                       #e0e0e0
!
! FSB COLORS
Twlog*convDiag*fsb1*foreground:                        white
Twlog*convDiag*fsb1*DirList.background:                #e0e0e0
Twlog*convDiag*fsb1*DirList.foreground:                black
Twlog*convDiag*fsb1*ItemsList.background:              #e0e0e0
Twlog*convDiag*fsb1*ItemsList.foreground:              black
Twlog*convDiag*fsb1*XmTextField.foreground:            black
Twlog*convDiag*fsb1*OK.foreground:                     black
Twlog*convDiag*fsb1*Cancel.foreground:                 black
Twlog*convDiag*fsb1*Apply.foreground:                  black
 
!
! HELP DIALOGS COLORS
Twlog*helpDiag*XmScrolledWindow*foreground:            black
Twlog*helpDiag*XmScrolledWindow*background:            #e0e0e0
Twlog*helpDiag*XmPushButton*foreground:                black
Twlog*helpDiag*XmPushButton*background:                #e0e0e0

!
! ERROR DIALOG COLORS
Twlog*convDiag*errDiag*foreground:                     white
Twlog*convDiag*errDiag*background:                     #00768d
Twlog*convDiag*errDiag*OK*foreground:                  black
Twlog*convDiag*errDiag*OK*background:                  #e0e0e0
Twlog*convDiag*errDiag*Cancel*foreground:              black
Twlog*errDiag*foreground:                              white
Twlog*errDiag*OK*foreground:                           black
Twlog*errDiag*OK*background:                           #e0e0e0

!
! HELP SEARCH COLORS
Twlog*findPromptDiag*foreground:                       white
Twlog*findPromptDiag*background:                       #00768d
Twlog*findPromptDiag*XmTextField*foreground:           black
Twlog*findPromptDiag*XmTextField*background:           #e0e0e0
Twlog*findPromptDiag*OK*foreground:                    black
Twlog*findPromptDiag*OK*background:                    #e0e0e0
Twlog*findPromptDiag*Cancel*foreground:                black
Twlog*findPromptDiag*Cancel*background:                #e0e0e0
Twlog*findPromptDiag*Apply*foreground:                 black
Twlog*findPromptDiag*Apply*background:                 #e0e0e0


!
! ABOUT DIALOG COLORS
Twlog*aboutDiag*foreground:                            white
Twlog*aboutDiag*OK*foreground:                         black


!
! CREATE LOGFILE COLORS
Twlog*initDiag*foreground:                             white
Twlog*initDiag*background:                             #00768d
Twlog*initDiag*OK.foreground:                          black
Twlog*initDiag*OK.background:                          #e0e0e0
Twlog*initDiag*Cancel.foreground:                      black
Twlog*initDiag*Cancel.background:                      #e0e0e0

!
! LOG EDITOR COLORS
Twlog*XbaeMatrix*background:                           #e0e0e0
Twlog*XbaeMatrix*buttonLabelBackground:                #00768d
Twlog*XbaeMatrix*textBackground:                       #e0e0e0
Twlog*XbaeMatrix*columnLabelColor:                     white
 
!
! RESOURCES FOR THE Xbae MATRIX WIDGETS
Twlog*XbaeMatrix.width:                                1000
Twlog*XbaeMatrix*horizontalScrollBarDisplayPolicy:     XmDISPLAY_STATIC
Twlog*XbaeMatrix*verticalScrollBarDisplayPolicy:       XmDISPLAY_STATIC
Twlog*XbaeMatrix.visibleRows:                          10
Twlog*XbaeMatrix*columns:                              11

Twlog*XbaeMatrix*columnLabels:                         Num, Date, Start,\n\
                                                       Call, Band, Mode,\n\
                                                       Power, His RST,\n\
                                                       My RST, End, Notes

Twlog*XbaeMatrix*buttonLabels:                             True

!
!FOR VARIABLE FONT
Twlog*XbaeMatrix*columnWidths:          5, 11, 9, 10, 10, 8, 8, 8, 8, 9, 80

Twlog*XbaeMatrix*columnLabelAlignments: \
                                    XmALIGNMENT_END, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_BEGINNING

Twlog*XbaeMatrix*columnAlignments: \
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_CENTER, XmALIGNMENT_CENTER,\n\
                                    XmALIGNMENT_BEGINNING

!
! FOR WHEEL MOUSE ON A HELP/TEXT WIDGET
Twlog*XbaeMatrix*textTranslations: #augment\n\
    <Btn4Down>: scroll-one-line-down()\n\
    <Btn5Down>: scroll-one-line-up()

!
!BINDINGS AND TRANSLATIONS
Twlog*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\
                              osfBeginLine: <Key>Home\n\
                              osfEndLine:   <Key>End

