!
!  ----------------------------------------------------------------
!               THRESHOLD OBJECT APPLICATION DEFAULTS
!
!   These are the application defaults that are particular to the
!   threshold object. These can be over-ridden by having a $HOME/app-defaults/
!   directory, with an app-defaults file named "Threshold" there.
!
!   Note that most of the settings here are commented out. In most cases,
!   we don't *really* want to specify the resource, but rather just want
!   to show how it would be specified *if we did*.  In fact, many of the
!   resource values specified are the default values, so nothing would change
!   in appearance even if you un-commented the lines.  On one hand, we are
!   trying to provide a nice app-defaults file for you to use as a
!   model when specifying resources for the Threshold object; on the other hand,
!   we don't *actually* want to set resources un-necessarily (it is very
!   expensive to set resources, not something you do unless it is important).
!
!  ----------------------------------------------------------------
!
!   INHERITANCE: manager -> graphics -> color -> threshold
!
!   CLASS-SPECIFIC RESOURCES:   thresholdShowPalette
!                               thresholdPolicy
!                               thresholdClipPixelVal
!                               thresholdClipAccept
!                               thresholdThresPixelVal
!                               thresholdThresInvert
!
!   SUB-PARTS: The sub-parts of the Threshold object include:
!
!   *Threshold.palette   /* palette object, 
!                        displays color palette for threshold object         */
!   *Threshold.lower     /* integer object, 
!                        allows user to specify lower range value            */
!   *Threshold.upper     /* integer object, 
!                        allows user to specify upper range value            */
!   *Threshold.range     /* integer object, 
!                        allows user to change upper & lower values together */
!
!   You may specify resources for sub-parts of the threshold object as desired.
!

!
! Corresponding attribute: XVW_THRESHOLD_SHOW_PALETTE
! Show the palette?
!
!*Threshold.thresholdShowPalette: true

!
! Corresponding attribute: XVW_PALETTE_TYPE
!                          (Setting resource on *Threshold.palette sub-part)
! Specify palette type as one of:
! KPALETTE_TYPE_COLORBAR   1
! KPALETTE_TYPE_COLORCELL  2
! KPALETTE_TYPE_COLORWHEEL 3
!                     
!*Threshold.palette.paletteType: 1
!

!
! Corresponding attribute: XVW_THRESHOLD_POLICY
! See manual for explanation; values include:
!        KTHRESHOLD_POLICY_CLIP   1
!        KTHRESHOLD_POLICY_THRESH 2
!
!*Threshold.thresholdPolicy: 1

!
! Corresponding attribute: XVW_THRESHOLD_CLIP_PIXELVAL
!
!*Threshold.thresholdClipPixelVal: 0

!
! Corresponding attribute: XVW_THRESHOLD_CLIP_ACCEPT
!
!*Threshold.thresholdClipAccept: true

!
! Corresponding attribute: XVW_THRESHOLD_THRESH_PIXELVAL
!
!*Threshold.thresholdThreshPixelVal: 255

!
! Corresponding attribute: XVW_THRESHOLD_THRES_INVERT
!
!*Threshold.thresholdThresInvert: false

!
! Corresponding attribute: XVW_BACKGROUND
!                          (setting inherited resources on sub-sub-parts)
! Want the scrollbars of the red, green, and blue integer object sub-parts
! to appear in red, green, and blue
!
*Threshold.red.scrollbar.background:   red
*Threshold.green.scrollbar.background: green
*Threshold.blue.scrollbar.background:  blue
