!-----------------------------------------------------------------------------
! MATLAB/SIMULINK app-defaults file
! Copyright (c) 1984-93 by The MathWorks, Inc.
! $Revision: 1.30 $  $Date: 1993/09/27 13:04:12 $
!=============================================================================
! The top of this file contains items that you might want to override. The rest
! of the file contains items that should not be changed. You can override the 
! defaults set in this file in your own personal ~/.Xdefaults file.

! General appearance
*BorderWidth:			0
*shadowThickness:		1
*XmSeparator.ShadowThickness:	2
*XmSeparatorGadget.ShadowThickness:	2
*XmFrame.ShadowThickness:	2
*XmForm.ShadowThickness:	0
*saveBack:			On
*workWindow*resizePolicy:	RESIZE_NONE
*XmPushButton*width:		60
*XmPushButtonGadget*width:	60
simulink.doubleClickTime:	500

!
! ...................FONT SPECIFICATIONS:
!
! .........................DEFAULT:
*fontList:			-*-helvetica-medium-r-normal--12-*-*-*-*-*-*-*
! ...................Figure window text font:
figure*fontList:		-*-helvetica-medium-r-normal--14-*-*-*-*-*-*-*
! ...................Figure window exponent text font
figure*expfontList:		-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*

!	HERE ARE EXAMPLES OF FINER FONT CONTROL AVAILABE TO USERS.
!       COPY THESE TO YOUR .XDEFAULTS FILE AND UN-COMMENT THEM.
! ................Simulink window text font:
!model*fontList:			6x13bold
! ........................menus:
!model*XmRowColumn*fontList:	-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*
! ........................scope:
!scope*fontList:		lucidasanstypewriter-bold-12
! ..................Simulink dialog boxes:
!model*Parameters*fontList:	7x14
! .......................uicontrols:
!figure*XmPushButton*fontList:	-*-helvetica-medium-r-normal--14-*-*-*-*-*-*-*


!!!!!!!!!!!!!!!! Colors that work ok on color and monochrome:
!
! unfortunately, on HP its not good enough to just have *foreground,
! *background, and *XmText*background specified, because the vue
! window manager overrides foreground and background, but not XmText
! background, and that often causes our Xmtext background to match the
! foreground, because we specify both but vuewm only overrides one.
! therefore we have to specify our colors with a tighter binding than
! just *fg and *bg, because vuewms colors are in the xrdb database,
! which overrides app-defaults.  So unless you want vuewm to specify
! matlabs colors, leave the tight bindings below:

!
model*foreground:				black
model*background:				gray70
model*XmText.background:			white

SigGen*foreground:				black
SigGen*background:				gray70
SigGen*XmText.background:			white

! these will automatically get mapped to contrasting colors
! on monochrome, even if the system maps them to identical colors:
SigGen*SigGenWaves.foreground:			Yellow
SigGen*XmToggleButtonGadget.selectColor:	MediumSeaGreen

scope*foreground:				black
scope*background:				gray70
scope*XmText.background:			white

! these will automatically get mapped to contrasting colors
! on monochrome, even if the system maps them to identical colors:
scope*scopeTube.foreground:			Yellow
scope*scopeTube.background:			MediumSeaGreen

*select file*foreground:			black
*select file*background:			gray70
*select file.foreground:			black
*select file.background:			gray70
*select file*XmText.background:			white

error*XmMessageBox.foreground:			red

*selectColor:					black
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! Scrolling:
*XmScrollBar*marginWidth:			0
*XmScrollBar*increment:				1
*XmScrollBar*initialDelay:			250
*XmScrollBar*repeatDelay:			50
*XmScrollBar*showArrows:			True
*XmScrollBar*sliderSize:			8
*XmScrolledWindow*scrollBarDisplayPolicy:	STATIC
*XmScrolledWindow*scrollBarPlacement:		BOTTOM_RIGHT
*XmScrolledWindow*spacing:			0

! Here are some examples of how you can override settings for windows
! models, or blocks with specific names (like "Frenchy").

!*Simulation Control*background:	green
!*Help Dialog*background: 		red
!*Parameters*background: 		blue
!scope.Frenchy*scopeTube*foreground:	White
!scope.Frenchy*scopeTube*background:	Blue
!scope.Frenchy*closeButton.labelString:	Finit!

! Default key bindings. These bindings eliminate warnings on some platforms.
*defaultVirtualBindings: \
osfCancel     :               <Key>Escape     \n\
osfLeft       :               <Key>Left       \n\
osfUp         :               <Key>Up         \n\
osfRight      :               <Key>Right      \n\
osfDown       :               <Key>Down       \n\
osfEndLine    :               <Key>R13        \n\
osfBeginLine  :               <Key>F27        \n\
osfPageUp     :               <Key>F29        \n\
osfPageDown   :               <Key>F35        \n\
osfBackSpace  :               <Key>BackSpace  \n\
osfDelete     :               <Key>Delete     \n\
osfInsert     :               <Key>Insert     \n\
osfAddMode    :Shift          <Key>F8         \n\
osfHelp       :               <Key>Help       \n\
osfMenu       :               <Key>F4         \n\
osfMenuBar    :               <Key>F10        \n\
osfCopy       :               <Key>F16        \n\
osfCut        :               <Key>F20        \n\
osfPaste      :               <Key>F18        \n\
osfUndo       :               <Key>F14

! XmTEXT Translation overrides. These overrides allow <delete> and <backspace>
! keys to both work the *right* way -- killing one character to the LEFT.  This
! is also where the tab key is set to tab around to the next group rather than
! inserting a weird character in the text.

*XmText.Translations: #override \
<Key>osfDelete	:	delete-previous-character() \n\
<Key>Tab 	:	next-tab-group()

*XmDrawnButton.Translations: #override \
<Btn2Down>	:	Arm() \n\
<Btn3Down>	:	Arm()

!=============================================================================
! app-default entries from this point on in the file should NOT be changed or
! overridden in your .Xdefaults file.

! APP-DEFAULTS VERSION
! Do not change the version number below.  If MATLAB gives a warning
! concerning the version number, the correct app-defaults file must
! be installed.  Merely changing the number below will not fix the
! problem, it will only supress the warning message.

matlab.App-Defaults Version:	4.0

! Label Strings -- could be changed for appropriate languages.
*save file*cancelLabelString:				No
*save file*helpLabelString:				Cancel
*save file*okLabelString:				Yes
*select file*applyLabelString:                          Filter
*select file*cancelLabelString:                         Cancel
*select file*okLabelString:                             Done
*closeButton.labelString:				Done
*Help Dialog*cancelLabelString:				Done
*helpButton.labelString:				Help
*cancelButton.labelString:				Revert
*scopeVerticalScale.titleString:			Vertical Range
*scopeHorizontalScale.titleString:			Horizontal Range
*SigGenFreqScale.titleString:				Freq. (Rad/sec)
*SigGenPeakScale.titleString:				Peak
*Simulation Control*parameterName0*labelString:		Start Time
*Simulation Control*parameterName1*labelString:		Stop Time
*Simulation Control*parameterName2*labelString:		Min Step Size
*Simulation Control*parameterName3*labelString:		Max Step Size
*Simulation Control*parameterName4*labelString:		Tolerance
*Simulation Control*parameterName5*labelString:		Return Variables
*Simulation Control*button0*labelString:		Euler
*Simulation Control*button1*labelString:		Runge-Kutta 3 
*Simulation Control*button2*labelString:		Runge-Kutta 5 
*Simulation Control*button3*labelString:		Adams
*Simulation Control*button4*labelString:		Gear
*Simulation Control*button5*labelString:		Adams/Gear
*Simulation Control*button6*labelString:		Linsim

!=============================================================================
! Menus:
! File Menu
*menuBar.File.mnemonic:				F
*menuBar*New.accelerator:			Ctrl<Key>n:
*menuBar*New.acceleratorText:				^n
*menuBar*Open.accelerator:			Ctrl<Key>o:
*menuBar*Open.acceleratorText:				^o
*menuBar*Close.accelerator:			Ctrl<Key>w:
*menuBar*Close.acceleratorText:				^w
*menuBar*Save.accelerator:			Ctrl<Key>s:
*menuBar*Save.acceleratorText:				^s

! Edit Menu
*menuBar.Edit.mnemonic:				E
*menuBar*Cut.accelerator:			Ctrl<Key>x:
*menuBar*Cut.acceleratorText:				^x
*menuBar*Copy.accelerator:			Ctrl<Key>c:
*menuBar*Copy.acceleratorText:				^c
*menuBar*Paste.accelerator:			Ctrl<Key>v:
*menuBar*Paste.acceleratorText:				^v
*menuBar*Select All.accelerator:		Ctrl<Key>a:
*menuBar*Select All.acceleratorText:			^a

! Options Menu
*menuBar.Options.mnemonic:			O
*menuBar*Group.accelerator:			Ctrl<Key>g:
*menuBar*Group.acceleratorText:				^g
*menuBar*Ungroup.accelerator:			Ctrl<Key>u:
*menuBar*Ungroup.acceleratorText:			^u
*menuBar*Meta.accelerator:			Ctrl<Key>m:
*menuBar*Meta.acceleratorText:				^m
*menuBar*Unmeta.accelerator:			Ctrl<Key>e:
*menuBar*Unmeta.acceleratorText:			^e
*menuBar*Flip Horizontal.accelerator:		Ctrl<Key>f:
*menuBar*Flip Horizontal.acceleratorText:		^f
*menuBar*Rotate.accelerator:			Ctrl<Key>r:
*menuBar*Rotate.acceleratorText:			^r
*menuBar*Reroute Lines.accelerator:		Ctrl<Key>l:
*menuBar*Reroute Lines.acceleratorText:			^l

! Simulation Menu
*menuBar.Simulation.mnemonic:			S
*menuBar*Start.accelerator:			Ctrl<Key>t:
*menuBar*Start.acceleratorText:				^t
!*menuBar*Stop.accelerator:			Ctrl<Key>t:
!*menuBar*Stop.acceleratorText:				^t

! Style menu
*menuBar.Style.mnemonic:			t
*menuBar*Update Diagram.accelerator:			Ctrl<Key>d:
*menuBar*Update Diagram.acceleratorText:				^d

! Cascaded menus
*menuBar*Orientation.mnemonic:			r
*menuBar*Title.mnemonic:			i
*menuBar*Foreground Color.mnemonic:		g
*menuBar*Background Color.mnemonic:		B
*menuBar*Screen Color.mnemonic:			c

!Alerts & Dialogs:
!*save file*font:				6x13bold
!*error*fontList:				6x13bold

! Scope:
! Geometry:
!scope*BorderWidth:				0
scope*closeButton.topOffset:			3
scope*closeButton.leftOffset:			3
scope*closeButton.rightOffset:			3

! Picture tube defaults:
scope*scopeTubeFrame.marginHeight:		2
scope*scopeTubeFrame.marginWidth:		2
scope*scopeVerticalFrame.marginHeight:		2
scope*scopeVerticalFrame.marginWidth:		2	
scope*scopeHorizontalFrame.marginHeight:	2
scope*scopeHorizontalFrame.marginWidth:		2

! Slider and Text defaults:	
scope*XmScale.scaleHeight:			15
scope*XmText.marginHeight:			0
scope*scopeHorizontalText.topOffset:		17
scope*scopeVerticalText.topOffset:		17

! Signal Generator:
! Geometry:
*SigGenWaves*orientation:			HORIZONTAL
*SigGenWaveFrame*XmRowColumn.marginHeight:	7
*SigGenWaveFrame*XmRowColumn.marginWidth:	7
*SigGenWaveFrame*Spacing:			7
*SigGenFreqText.topOffset:			25
*SigGenPeakText.topOffset:			25
*SigGenFreqFrame.marginHeight:			7
*SigGenFreqFrame.marginWidth:			7
*SigGenPeakFrame.marginHeight:			7
*SigGenPeakFrame.marginWidth:			7
*SigGenButtonFrame.marginHeight:		15
*SigGenButtonFrame.marginWidth:			7

!=============================================================================
! Parameter Sheets:

*Parameters*minWidth:				320
*Parameters*minHeight:				320
*Parameters.noResize:				False
*Parameters*ButtonFrame.topAttachment:		ATTACH_FORM
*Parameters*ButtonFrame.rightAttachment:	ATTACH_FORM
*Parameters.LabelFrame.topAttachment:		ATTACH_FORM
*Parameters*LabelFrame.leftAttachment:		ATTACH_FORM
*Parameters*InfoFrame.leftAttachment:		ATTACH_FORM
*Parameters*ParamFrame.leftAttachment:		ATTACH_FORM
*Parameters*ParamFrame.rightAttachment:		ATTACH_FORM
*Parameters*ButtonFrame.marginHeight:		10
*Parameters*ButtonFrame.marginWidth:		10
*Parameters*Help.recomputeSize:			False
*Parameters*BlockName*topAttachment:		ATTACH_FORM
*Parameters*BlockName*leftAttachment:		ATTACH_FORM
*Parameters*BlockType*leftAttachment:		ATTACH_FORM
*Parameters*Information*alignment:		ALIGNMENT_BEGINNING
*Parameters*ParamForm*rightOffset:		5
*Parameters*ParamForm*bottomOffset:		10
*Parameters*ParamForm*XmText*leftOffset:	22
*Parameters*ParamForm*XmText*rightOffset:	10
*Parameters*ParamForm*XmText*leftAttachment:	ATTACH_FORM
*Parameters*ParamForm*XmText*rightAttachment:	ATTACH_FORM

!=============================================================================
! Simulation Control:

*Simulation Control*radioFrame.rightAttachment:		ATTACH_FORM
*Simulation Control*radioFrame.leftAttachment:		ATTACH_FORM
*Simulation Control*radioFrame.ltopAttachment:		ATTACH_FORM

*Simulation Control*parameterFrame.leftAttachment:	ATTACH_FORM
*Simulation Control*parameterFrame.bottomAttachment:	ATTACH_FORM
*Simulation Control*parameterFrame.rightAttachment:	ATTACH_FORM
*Simulation Control*parameterFrame.rightOffset:		84

*Simulation Control*buttonFrame.bottomAttachment:	ATTACH_FORM
*Simulation Control*buttonFrame.rightAttachment:	ATTACH_FORM

*Simulation Control*radioBox*adjustLast:		False
*Simulation Control*radioBox*orientation:		HORIZONTAL
*Simulation Control*radioBox*numColumns:		2

*Simulation Control*buttonFrame.marginHeight:		10
*Simulation Control*buttonFrame.marginWidth:		10
*Simulation Control*closeButton*leftAttachment:		ATTACH_FORM
*Simulation Control*closeButton*rightAttachment:	ATTACH_FORM
*Simulation Control*cancelButton*leftAttachment:	ATTACH_FORM
*Simulation Control*cancelButton*rightAttachment:	ATTACH_FORM

*Simulation Control*XmText*rightAttachment:		ATTACH_FORM

*Simulation Control*parameterFrame*marginWidth:		5
*Simulation Control*parameterFrame*marginHeight:	5
*Simulation Control*parameterFrame*XmForm*allowOverlap:	False

!=============================================================================
! Help Dialogs

*Help Dialog.width:					400
*Help Dialog.height:					160
*Help Dialog*messageAlignment:				ALIGNMENT_BEGINNING
!{ALIGNMENT_CENTER, ALIGNMENT_END}








