#
#
# Copyright 1999 Sun Microsystems, Inc.,
# 901 San Antonio Road, Palo Alto, CA 94303, U.S.A.
# All Rights Reserved. 
# 
# The contents of this file contain proprietary material of
# Sun Microsystems, Inc., and are subject to the current version
# of the Sun Community Source License for Sun HPC ClusterTools (TM)
# ("the License").  You may not use this file except in compliance
# with the License.  You may obtain a copy of the License on the
# World Wide Web from http://www.sun.com/software/communitysource/.
# See the License for the rights, obligations, and limitations
# governing use of the contents of this file.
#
# Sun, Sun Microsystems, the Sun logo, Sun HPC ClusterTools, Sun
# PFS, Sun C++, Sun MPI, Prism, Sun Prism, and all Sun-based
# trademarks and logos, are trademarks or registered trademarks of
# Sun Microsystems, Inc. in the United States and other countries.
#
#
#  @(#)Prism.release  1.16  99/07/20 SMI
#

#
# Uncomment color and font specifications to use the default values, 
# otherwise values are inherited from the window manager.
#

######## Font definitions
#

### note to localizers: choose a 12-point fixed-space font
#
# Prism.textFont:    -*-medium-r-*--12-*-*-*-m-*

### note to localizers: choose a 14-point proportionally-spaced font
#
# Prism.masterFont:  -adobe-helvetica-bold-r-normal-*-14-140-*-*-*-*-iso8859-1


######## Color definitions
# The colors within each group should be distiguishable from each other 
# since they are mapped close together.  Comment them out to set up 
# default colors.

### Main prism color (buttons, frames, etc.)
#
# Prism.mainColor:                   light sea green
# Prism.dialogColor:                 Thistle
# Prism.textMasterColor:             black

### Colors for text windows
#
# Prism.textBgColor:                 snow2
# Prism.textFgColor:                 black

### Colors for graphs
#
Prism.graphBgColor:                light gray
Prism.graphFillColor:              gray
Prism.graphTextColor:              black

### Miscellaneous
#
# Prism*command_text.highlightColor: gray40


######## Default window dimensions

Prism.ui_form.ui_main_panedWindow.ui_source_form.height:  534
Prism.ui_form.ui_main_panedWindow.ui_commands_form.height:  133
Prism.ui_form.ui_main_panedWindow.ui_tearoff_form.height:  39
Prism.ui_form.height:  744
Prism.ui_form.width:  628

#The 'where' window ...
Prism.ui_where_form.height:  400
Prism.ui_where_form.width:  600

#The 'use' window:
*.ui_use_form.height:    300

#The 'func' selection box:
*.ui_func_selectionBox.width:  700

#the 'file' selection box:
*.ui_file_selectionBox.width:  500

#the event table:
#*.eventWidget.event_scroll.event_text.width  1000
#*.eventWidget.event_scroll.event_text.height  500
"Event Table".height: 600

######## Application defined resources

Prism.errorWin:    command
#Prism.vizColormap:  map1
#Prism.editor:    /usr/ucb/vi
#Prism.editor:    /usr/local/bin/gmacs
Prism.prismDir:    /opt/SUNWhpc
Prism.commonSourceDir:  /opt/SUNWhpc/doc/prism/doc
Prism.errorBell:  false
Prism.useXterm:    true
Prism.editGeometry:  80x24
#Prism.tearoff: Load...,Run,Print...,Continue,Step,Next,Interrupt,Up,Down,Collection
Prism.tearoff: Load...,Run,Print...,Continue,Step,Next,Interrupt,Up,Down
Prism.bugrelDocDir:     /opt/SUNWhpc/doc
Prism.cppPath:          /usr/ccs/lib

######## Help System resources

Prism.helpUseExisting:  false
Prism.helpBrowser:  netscape
Prism.helpData:    /opt/SUNWhpc/doc/prism

######## Miscellaneous

*XmList.highlightThickness:  0
*XmScrollBar.shadowThickness:  2
*topic_list.listMarginWidth:  30
#*XmPanedWindow.traversalOn:  false # unfortunately, this causes problems
*deleteResponse: do_nothing
*enableThinThickness:   True

# fix for 4097748.  "False" is consistent with the CDE default of 
#  "button2_transfer but does not have the side effect of modifying 
#  our Text widget translations.
Prism*enableBtn1Transfer:    False

# fix for 4080387.  Tab to change focus was getting caught in these widgets
# also fixes 4179036 - command widget loses focus
*ui_source_form.traversalOn: false
*history_text.traversalOn: false

######## Text widget translations

Prism.textManyFieldTranslations: \
  <Key>osfDelete:      delete-previous-character() \n\
  <Key>osfBackSpace:   delete-previous-character() \n\
  <Key>Return:         next-tab-group() \n\
  <Key>KP_Enter:       next-tab-group() \n\
  Ctrl<Key>u:          erase_to_beginning() \n\
  Ctrl<Key>k:          erase_to_end() \n\
  Ctrl<Key>d:          delete_char_at_cursor_position() \n\
  Ctrl<Key>f:          move_cursor_to_next_char() \n\
  Ctrl<Key>h:          move_cursor_to_prev_char() \n\
  Ctrl<Key>b:          move_cursor_to_prev_char() \n\
  Ctrl<Key>a:          move_cursor_to_beginning_of_text() \n\
  Ctrl<Key>e:          move_cursor_to_end_of_text()

Prism.textOneFieldTranslations: \
  <Key>osfDelete:      delete-previous-character() \n\
  <Key>osfBackSpace:   delete-previous-character() \n\
  Ctrl<Key>u:          erase_to_beginning() \n\
  Ctrl<Key>k:          erase_to_end() \n\
  Ctrl<Key>d:          delete_char_at_cursor_position() \n\
  Ctrl<Key>f:          move_cursor_to_next_char() \n\
  Ctrl<Key>h:          move_cursor_to_prev_char() \n\
  Ctrl<Key>b:          move_cursor_to_prev_char() \n\
  Ctrl<Key>a:          move_cursor_to_beginning_of_text() \n\
  Ctrl<Key>e:          move_cursor_to_end_of_text()


cmviz*nav_draw.translations: \
  <Btn1Down>:          nav_set_pan() \n\
  <Btn1Motion>:        nav_pan()

cmviz*viz_draw.translations: \
  ~Shift<Btn1Down>:    viz_set_pan() \n\
  ~Shift<Btn1Motion>:  viz_pan()\n\
  Shift<Btn1Motion>:   viz_query_pan()\n\
  Shift<Btn1Down>:     viz_query_up()\n\
  <Btn1Up>:            viz_query_down()

Prism*source_form.source_text.translations: \
  Button1<Btn2Down>,<Btn2Up>:         navigate_backward() \n\
  Button1<Btn3Down>,<Btn3Up>:         navigate_forward() \n\
  <Btn1Down>:          grab-focus() \n\
  Button1<PtrMoved>:   extend-adjust() \n\
  Shift<Btn1Up>:       extend-end() add_to_cut_buffer() src_eval_exp() \n\
  <Btn1Up>:            extend-end() add_to_cut_buffer()  \n\
  ~Shift<Btn1Up>:      extend-end() \n\
  <Btn2Down>:          paste_cut_buffer() \n\

Prism*XmText.translations: #override\
  Shift<Btn1Down>:     grab-focus() \n\
  <Btn2Down>:          paste_cut_buffer() \n\
  <Btn1Up>:            extend-end() add_to_cut_buffer() 

Prism*history_text.translations: #override\
  <Btn2Down>:          paste_cut_buffer() \n\
  Shift<Btn1Down>:     grab-focus() \n\
  <Btn1Up>:            extend-end() add_to_cut_buffer() 

Prism*command_text.translations: #override\
  <Btn2Down>:          copy-primary() execute_cut_buffer()

######## accelerators

cmviz*nav_form.accelerators: \
  <Key>osfHelp:         Help()
cmviz*quit.accelerators: \
  <Key>osfCancel:       ArmAndActivate()

#
# logfile.
#
Prism.userLog: /dev/null

#  <Key>osfUp: where_up() \n\
#  <Key>osfDown: where_down() \n\
#  <Key>osfRight: where_right() \n\
#  <Key>osfLeft: where_left() \n\
#        Shift<Btn1Motion>:      where_query_pan()\n\
#  <Key>w: where_up() \n\
#  <Key>x: where_down() \n\
#  <Key>d: where_right() \n\
#  <Key>a: where_left() \n\
#  <Key>Return: where_set() \n\
#  ~Shift<Btn1Down>(2):   where_set() \n\

where_graph*where_draw.translations: #override\
  <Key>osfHelp:           Help() \n\
  ~Shift<Btn1Motion>:     where_pan()\n\
  ~Shift<Btn1Down>:       where_set_pan() where_select() \n\
  <Btn2Down>:             where_iconify()\n\
  Shift<Btn1Down>:        where_query_up()\n\
  <Key>space :            where_set() \n\
  <Btn1Up>:               where_query_down()
where_graph*nav_draw.translations: \
  <Key>osfHelp:           Help() \n\
  <Btn1Down>:             nav_set_pan() \n\
  <Btn1Motion>:           nav_pan()

mimd_widget*mimd_draw.translations: \
  <Key>osfHelp:           Help() \n\
  ~Shift<Btn1Motion>:     mimd_pan()\n\
  ~Shift<Btn1Down>:       mimd_set_pan() mimd_set_pn() mimd_select() \n\
  Shift<Btn1Down>:        mimd_query_up()\n\
  <Btn1Up>:               mimd_query_down()\n\
  Shift<Btn2Down>:        mimd_process_query_up()\n\
  <Btn2Up>:               mimd_process_query_down()

mimd_widget*nav_draw.translations: \
  <Key>osfHelp:           Help() \n\
  <Btn1Down>:             nav_set_pan() \n\
  <Btn1Motion>:           nav_pan()

struct_browser*struct_draw.translations: \
  <Key>osfHelp:           Help() \n\
  ~Shift ~Ctrl<Btn1Motion>: struct_pan()\n\
  ~Shift ~Ctrl<Btn1Down>: self_focus() struct_select() struct_set_pan() \
                          struct_button() struct_expand_off() \n\
  <Btn2Down>:             struct_delete()\n\
  Shift<Btn1Down>:        struct_select() struct_query_up()\n\
  Ctrl<Btn1Down>:         struct_select() struct_expand() \n\
  <Btn1Up>:               struct_query_down()

struct_browser*nav_draw.translations: \
  <Key>osfHelp:           Help() \n\
  <Btn1Down>:             nav_set_pan() \n\
  <Btn1Motion>:           nav_pan()


