

! ------ SETTINGS SHARED BY DEV. ENVT. AND ALL PLP APPLICATIONS, MAC AND PC ------

! THC 1.7.2006 
! Format:
!
!	* Comment
!	Line-comment is started by the ! (exclamation mark)
!
!	* Default
!	<class>.<class-variable>: <value>
!
!	* Values
!	Values are in standard term-representation.  Chains may be written
!	as a Prolog list.  Values spanning multiple lines use \<NL> to continue
!	on the next line. Resist temptation to end with a period!
!
! Last revisions: 
! 29.12.06 -- change to image.path
! 12.3.07  -- addition of web search prefix and suffixes
! 28.2.08  -- renamed file (was shared_defaults.txt) and create PC and Mac versions
! 13.6.08  -- added scroll bars auto-hide and 'look'

! ---------------------------------------------------------------------------------


! 4.3.08 -- this entry makes it easier to set the version number compared to
!           (re)compiling *_application.pl

intermodeller_application.version: '4.5.1'
conception_application.version: '3.1.2'


! 20.6.08 -- For Conception windows, set default save format to one of {binary,xml}
! Note that e.g. a 'Phrase box' is not of class conception_window so will be
! saved using document_window methods (which use only binary format).

conception_window.default_save_format: xml


! 13.6.08 -- If the scroll bar is to be hidden automatically when the entire window is on view,
! set this to @on (but @off provides a more consistent look).

scroll_bar.auto_hide: @off
 

! 13.6.08 -- Specify the 'look-and-feel' of scroll bars.
! XPCE default is gtk. Options are {x,open_look,motif,win,gtk} -- try open_look as an alternative.

scroll_bar.look: gtk


! Keyboard accelerators use Windows protocols.

key_binding.style:	cua

! Conception and InterModeller should identify most image files
! using absolute file names, making image.path (the default search path
! for XPCE images) irrelevant. But there may (ought not!) to be
! exceptions, eg use of some standard (?) X11 cursors, and I found that on OSX
! not all OSX X11 installations found these files unless /usr/X11R6/include/X11/bitmaps
! was added to the value which XPCE gives to image.path, which in (Mac & PC) XPCE v6.6.17 was  
!        '.:bitmaps:~/lib/bitmaps:$PCEHOME/bitmaps:/usr/include/X11/bitmaps
! ie the XPCE native default is all but the path I've added.
! Change 29.12.06 -- until now was _just_ image.path: '/usr/include/X11/bitmaps:/usr/X11R6/include/X11/bitmaps'
!                    but in the development envt, gxref/2 could not locate doc.xpm (it's in $PCEHOME/bitmaps)
!                    so in the following line, I've restored all the XPCE default paths to my setting.
! Change 25.07.07 -- anticipate Apple's X11 will switch soon to X.org version, this to be installed
!                    in /usr/X11 not /usr/X11R6, by adding that filepath.
!                    Former setting was:
!                    image.path: '.:bitmaps:~/lib/bitmaps:$PCEHOME/bitmaps:/usr/include/X11/bitmaps:/usr/X11R6/include/X11/bitmaps'
! Change 21.04.08 -- Removed ref to X11R6; Leopard X11 installs in /usr/X11. Former setting was:
!                    '.:bitmaps:~/lib/bitmaps:$PCEHOME/bitmaps:/usr/include/X11/bitmaps:/usr/X11R6/include/X11/bitmaps:/usr/X11/include/X11/bitmaps'

image.path: '.:bitmaps:~/lib/bitmaps:$PCEHOME/bitmaps:/usr/X11/include/X11/bitmaps'


! Disable auto-copying on selection, it's not the Mac/Windows style
! and prevents pasting-over a selection. Full editors and line editors too.

editor.auto_copy: @off

text_item.auto_copy: @off

! Background colour of dialogs.
! The integers below form a 16-bit RGB triple. DigitalColor Meter.app was useful
! to identify 58596, 58596, 58596 as the Aqua normal colour.
! Or use XPCE Demo Program HSV colours. 
! Or specify an X11 named color by colour(X) eg  colour(yellow) where X could be
! any named colour in {yellow,gold,brown,salmon,white,black,red1,gray9,cyan4....}
! See  Demo Program Colours.

control_window.background: colour(@default,58596, 58596, 58596)

! Colour of tool highlighter in graphical windows.
! Same comments as above apply.

tooled_graphics_window.tool_highlight_colour: colour(darkgreen)


! Default radius of PLP buttons. 0 = square corners.
! On X11, setting a radius other than 0 gave odd shadow effects. Leave it at 0. July 2005.

button_item.radius: 0


! Set font to a scale that looks ok on the Mac

font.scale: 1.4


! Font for text window editors (text & rule windows, PCEmacs etc) - cf XPCE native class 'editor'.
! May override this in .xpce/defaults for the development environment.

editor.font: fixed2


! Font for the edit field fo labels in graphical windows - cf PLP class edit_field in Graphicals.

edit_field.value_font: normal


! Assign fonts to the PLP control_window_item classes.
! Specify either a logical name from display.system_fonts or a font/3 term.
! Any dialog item that is not explicitly set to a particular font (i.e. most PLP dialog items) will take 
! its font setting from here.
! 28.4.08: Changed most items to small (were normal).

textline_item.font: small
button_item.label_font: small
editfield_item.value_font: small
scrolltext_item.font: fixed2
radio_box_item.value_font: small
popup_menu_item.value_font: small
check_box_item.value_font: small
scroll_menu_item.font: small
slider_item.value_font: small


! Assign a font for PLP application pull-down (ie main window) menus.
! The first is for menu names and the second for menu contents.
! Specify either a logical name from display.system_fonts or a font/3 term.

plp_menu_bar.label_font: normal
plp_popup.value_font: normal


! Conceptin's Commands/Web_search tries to open a URL concatenated by
! web_search_prefix+user_term+web_search_suffix
! where user_term just substitutes '+' for spaces in the Web_search edit field.
! The values below give a search for English pages, displaying 10 results at
! a time in Google using its 'Safesearch' mode.
! By editing the prefix and suffix attributes, different search engines
! and search conditions can be specified.

conception_window.web_search_prefix: 'http://www.google.com/search?as_q='
conception_window.web_search_suffix: '&hl=en&num=10&safe=active'



! Font defaults for IM graphical objects
! File/New uses these for table and tree windows.
! Permitted values are those that appear in the font declarations of
! shared_defaults_mac.txt or shared_defaults_pc.txt
! (To set rule windows, use editor.font in shared_defaults_portable.txt).
! Added 11.6.08

im_table_node.initial_font_name: times
im_table_node.initial_font_style: roman
im_table_node.initial_font_size: 12

im_dtree_node.initial_font_name: helvetica
im_dtree_node.initial_font_style: roman
im_dtree_node.initial_font_size: 12

im_ctree_node.initial_font_name: helvetica
im_ctree_node.initial_font_style: roman
im_ctree_node.initial_font_size: 10




