!
!  ----------------------------------------------------------------
!               CANTATA APPLICATION DEFAULTS
!
!   These are the application defaults that are particular to the
!   cantata application.  These can be over-ridden by having a ~/app-defaults,
!   ~/.app-defaults, or ~/.khoros/app-defaults directory in your home
!   directory, with an app-defaults file named "cantata" there.
!
!  ----------------------------------------------------------------
!

!
! all strings used in cantata should have white foreground, 
! black background, variable font
!
cantata*workspace_back*LabelStr.foreground:                      white
cantata*workspace_back*LabelStr.fontpixel:                       yellow
cantata*workspace_back*LabelStr.background:                      black
cantata*workspace_back*LabelStr.font:                            variable
cantata*workspace_back*LabelStr.labelEmphasize:		         1

!cantata*LabelStr.foreground:                      white
!cantata*LabelStr.background:                      black

! trying this out
!cantata*LabelStr.font:                            variable
!cantata*LabelStr.labelEmphasize:		    0
!cantata*backgroundPixmap:  backgrounds:paper_gray
!cantata*LivePixmap*pixmap: $DESIGN/repos/bitmaps/live_pixmaps/lightning.xpm


!----------------------------------------------------------------------------
!--- miscellaneous resource settings: colors, fonts, pixmaps, etc         ---
!----------------------------------------------------------------------------

! 
! workspaces have black background, maroon foreground (on the grid)
! children of the glyph (ie, select markers) are yellow. background pixmap
! for the workspace is black marble.
!
cantata*Workspace.background:           gray61
cantata*Workspace.canvasPixel:          #4C4C71719E9E
cantata*Workspace.foreground:           gray71
!cantata*Workspace*child.background:     black
!cantata*Workspace*child.foreground:     yellow
!cantata*Workspace.backgroundPixmap:	        backgrounds:grid
!cantata*ProcedureWorkspace.backgroundPixmap:	backgrounds:hex_grid
cantata*workspace_back.borderWidth:		0

!----------------------------------------------------------------------------
!--------- attribute settings for the cantata workspace  --------------------
!----------------------------------------------------------------------------

!
! A background grid (which may be made visible or not visible) assists
! in the alignment of glyphs in the workspace.  Glyphs will "snap" to
! the upper left corner of the nearest grid whether or not the grid is visible.
! This attribute may be set to 1 or 0.
!
cantata*Workspace.canvasGrid:   1

!
! You may set default grid size (in number of pixels) as desired.
! A grid size of 1, with the "Set Background Grid To" attribute set to
! 'Not Visible', is effectively requesting "no grid".
!
cantata*Workspace.canvasGridsize: 20

!
! This refers to how the glyph connections are automatically adjusted whenever
! a glyph is moved.  Using the value, 'false', the connections will be redrawn
! AFTER the glyph is placed.  Alternately, with 'Rubberband Connections' set to
! 'true', the connection will be continuously updated WHILE the glyph
! is being moved.  (Note, this may take longer than updating AFTER placement.)
! This attribute may be set to true or false.
!
cantata*Workspace.canvasRubberband: true

!
! Procedures that are created from the top level workspace can have
! their own local attributes, or can inherit their attributes from the
! parent workspace.  This attribute is made inactive on the toplevel parent.
! This attribute may be set to true or false.
!
cantata*Workspace.workspaceInherit:         true

!
! When a workspace contains several independant networks, turning parallel
! execution to 'true' makes the workspace execute quicker, as each of the
! independant networks will execute simulataneously.
! This attribute may be set to true or false.
!
cantata*Workspace.workspaceParallel: true

!
! Variables and expressions can be local to a procedure or global to the entire
! workspace. Setting 'Use Global Variables' to 'false' will cause the
! variables to only be known within the local procedure or workspace; setting
! 'Use Global Variables' to 'true' will make them globally available to all
! workspaces. This attribute may be set to 1 (KWORKSPACE_VARIABLES_GLOBAL) or
! 2 (KWORKSPACE_VARIABLES_LOCAL)
!
cantata*Workspace.workspaceVariables:   1

!
! The clipboard is used to hold cut or copied items for later pasting.
! If you find the clipboard icon annoying, you can turn it off.
!
cantata*Workspace.workspaceShowClipboard:   true

!
! When a workspace is put into 'responsive' mode then the
| workspace schedules glyphs such that scheduling of a
| network is continually done.  When a workspace is running
| then the scheduler will continously monitor the network
| and run glyphs as they become modified.  If the workspace
| is not running then the scheduler is turned off.  By turning
| workspace responsive to FALSE the scheduler is always turned off.
!
cantata*Workspace*workspaceResponsive:   false

!----------------------------------------------------------------------------
!--------- attribute settings for the cantata glyphs     --------------------
!----------------------------------------------------------------------------

!
! When set to 'true', this attribute causes the processes to be executed to be
! echoed to the console log. This attribute may be set to true or false.
!
cantata*Workspace*glyphEcho: true

!
! When you create a glyph, it will be placed automatically if this attribute is
! set to 'false'.  If you wish to place glyphs manually using the mouse, set
! this attribute to 'true'. This attribute may be set to true or false.
!
cantata*Workspace*nodePlacement: true

!
! This option allows you to observe whether or not a glyph has been modified
! since it has last been run, ie, indicating that it needs to be re-executed
! in order to create valid data. This attribute may be set to true or false.
!
cantata*Workspace*nodeShowModified: true

!
! This option provides visual feedback as to whether or not data is available
! to a glyph connection.  A dot on the glyph next to an input connection
! indicates that data is available to that input; a dot on the glyph next to
! an output connection indicates that the glyph is providing data through that
! output. This attribute may be set to true or false.
!
cantata*Workspace*nodeShowDav: true

!
! This attribute determines whether or not the node should be unmapped when its
! menuform is opened.  By default, the node is always displayed, whether or not
! its menuform is opened. This attribute may be set to true or false.
!
cantata*Workspace*nodeLeave: true

!
! If you would like to take advantage of the distributed processing capability,
! you must change this attribute to 'true'.  When this attribute has a value of
! 'false', distributed processing is disabled. This attribute may be set to
! true or false.
!
cantata*Workspace*nodeRemoteEnable: false

!
! When you move your pointer over a glyph, a description of the different 
! components of the glyph appears in the status window of cantata.
! If you want the information to appear below the glyph rather than in the
! status window, change the attribute below to 1 (TRUE).
!
cantata*Glyph.Showstatus:  true


!----------------------------------------------------------------------------
!--------- attribute settings for the glyph connections  --------------------
!----------------------------------------------------------------------------

! This attribute allows you to control the type of connections that are used
! between glyphs.  By default, the Manhattan (right angle cornered) connection
! is used.  Also available are Direct Line (shortest route between two glyphs),
! Splines (curving connections), Hexagon (hexagon cornered), and
! Diamond (zigzag cornered) connections.  Set to Manhattan, Spline, Hexagon,
! DirectLine, or Diamond.
!
!cantata*Workspace*connectionType: Manhattan

!
! connections between regular glyphs are yellow w/ background
! connections between control glyphs are cyan w/ blue background
!
cantata*NodeConnection.background:              #DAA520
cantata*NodeConnection.foreground:              yellow
cantata*ControlConnection.background:           blue
cantata*ControlConnection.foreground:           cyan


