! Xinvest defaults
!
! Xinvest.fontList is an application resource.  It must not be deleted.
! If its changed, the names small and large must remain or you will get
! the fallback fontList values.
Xinvest.fontList: -*-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*=small,\
-*-helvetica-bold-r-*-*-*-180-*-*-*-*-*-*=large

! Arrange the button bar anyway you like.  Move buttons around, leave some
! off.  Always define fractionBase and always make the quit topPosition 0.
*Butform.fractionBase:			6
*Quit.topPosition:			0
*About.topPosition:			1
*Gain.topPosition:			2
*Graphbut.topPosition:			3
*Portfolio.topPosition:			4
*Calculate.topPosition:			5
! bubble help resources
*Quit.labelString:			Exit
*About.labelString:			About Xinvest
*Gain.labelString:			Total Return
*Graphbut.labelString:			Show Plot
*Portfolio.labelString:			Asset Allocation
*Calculate.labelString:			Function Calculator
*Savebut.labelString:			Save
*Newbut.labelString:			New
*Openbut.labelString:			Open
*Cyclebut.labelString:			Cycle Accounts
*Gaincalclast.labelString:		Last NAV
*Gaincalcmode.labelString:		Account/Portfolio

! calculator button labels
*Gaincalcrow.zero.labelString:		0
*Gaincalcrow.one.labelString:		1
*Gaincalcrow.two.labelString:		2
*Gaincalcrow.three.labelString:		3
*Gaincalcrow.four.labelString:		4
*Gaincalcrow.five.labelString:		5
*Gaincalcrow.six.labelString:		6
*Gaincalcrow.seven.labelString:		7
*Gaincalcrow.eight.labelString:		8
*Gaincalcrow.nine.labelString:		9
*Gaincalcrow.clr.labelString:		C
*Gaincalcrow.pnt.labelString:		.
*Gainvalrow.cmp.labelString:		=
!
! The following key defs allow the calculator digits to be entered from
! the keyboard in addition to with the mouse. You can change the left side
! of the ":" or even add more keys to the same digit, but don't change the
! right side of the ":".  The string inside the parenthesis is significant.
*Mainform*translations: #augment\n\
<Key>0: PushCalcButton(zero)\n\
<Key>1: PushCalcButton(one)\n\
<Key>2: PushCalcButton(two)\n\
<Key>3: PushCalcButton(three)\n\
<Key>4: PushCalcButton(four)\n\
<Key>5: PushCalcButton(five)\n\
<Key>6: PushCalcButton(six)\n\
<Key>7: PushCalcButton(seven)\n\
<Key>8: PushCalcButton(eight)\n\
<Key>9: PushCalcButton(nine)\n\
<Key>.: PushCalcButton(pnt)\n\
<Key>c: PushCalcButton(clr)\n\
<Key>=: PushCalcButton(cmp)\n

!*fontList:		-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
!*XmText*fontList:	-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
!*XmList*fontList:	-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*

! menu bar
*menubar*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*menubar.button_0.labelString:		File
*menubar.button_0.mnemonic:		F
*menubar.button_1.labelString:		Edit
*menubar.button_1.mnemonic:		E
*menubar.button_2.labelString:		Tools
*menubar.button_2.mnemonic:		T
*menubar.button_3.labelString:		Options
*menubar.button_3.mnemonic:		O
*menubar.button_4.labelString:		Account
*menubar.button_4.mnemonic:		A
*menubar.button_5.labelString:		View
*menubar.button_5.mnemonic:		V
*menubar.button_6.labelString:		Help
*menubar.button_6.mnemonic:		H
!
*Filemenu.tearOffModel:			XmTEAR_OFF_ENABLED
*Filemenu*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Filemenu.button_0.labelString:		New
*Filemenu.button_0.mnemonic:		N
*Filemenu.button_1.labelString:		Open...
*Filemenu.button_1.mnemonic:		O
*Filemenu.button_2.labelString:		Close
*Filemenu.button_2.mnemonic:		C
*Filemenu.button_3.labelString:		Save
*Filemenu.button_3.mnemonic:		S
*Filemenu.button_4.labelString:		Save As...
*Filemenu.button_4.mnemonic:		A
*Filemenu.button_5.labelString:		Quit
*Filemenu.button_5.mnemonic:		Q
!
*Toolmenu.tearOffModel:			XmTEAR_OFF_ENABLED
*Toolmenu*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Toolmenu.button_0.labelString:		About
*Toolmenu.button_0.mnemonic:		A
*Toolmenu.button_1.labelString:		Total Return
*Toolmenu.button_1.mnemonic:		T
*Toolmenu.button_2.labelString:		Plot
*Toolmenu.button_2.mnemonic:		P
*Toolmenu.button_3.labelString:		Calculate
*Toolmenu.button_3.mnemonic:		C
*Toolmenu.button_4.labelString:		Asset Allocation
*Toolmenu.button_4.mnemonic:		s
!
*Editmenu*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Editmenu.button_0.labelString:		Copy
*Editmenu.button_0.mnemonic:		C
*Editmenu.button_0.accelerator:		Ctrl<Key>C
*Editmenu.button_0.acceleratorText:	Ctrl+C
*Editmenu.button_1.labelString:		Cut
*Editmenu.button_1.mnemonic:		t
*Editmenu.button_1.accelerator:		Ctrl<Key>X
*Editmenu.button_1.acceleratorText:	Ctrl+X
*Editmenu.button_2.labelString:		Paste
*Editmenu.button_2.mnemonic:		P
*Editmenu.button_2.accelerator:		Ctrl<Key>V
*Editmenu.button_2.acceleratorText:	Ctrl+V
!
*Accountmenu*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Accountmenu.button_0.labelString:	Cycle
*Accountmenu.button_0.mnemonic:		C
*Accountmenu.button_0.accelerator:	Alt<Key>Tab
*Accountmenu.button_0.acceleratorText:	Alt+Tab
*Accountmenu.button_1.labelString:	Apply Changes
*Accountmenu.button_1.mnemonic:		A
*Accountmenu.button_1.accelerator:	Ctrl<Key>A
*Accountmenu.button_1.acceleratorText:	Ctrl+A
*Accountmenu.more.labelString:		More...
*Accountmenu.more.mnemonic:		M
!
*Viewmenu.button_0.labelString:		Message Log...
*Viewmenu.button_0.mnemonic:		M
!
*Optionmenu.tearOffModel:		XmTEAR_OFF_ENABLED
*Optionmenu.button_0.labelString:	Zoom
*Optionmenu.button_0.mnemonic:		Z
*Optionmenu.button_0.accelerator:	Ctrl<Key>Z
*Optionmenu.button_0.acceleratorText:	Ctrl+Z
*Optionmenu.button_1.labelString:	Show Points
*Optionmenu.button_1.mnemonic:		S
*Optionmenu.button_1.accelerator:	Ctrl<Key>P
*Optionmenu.button_1.acceleratorText:	Ctrl+P
*Optionmenu.button_2.labelString:	Show Grid
*Optionmenu.button_2.mnemonic:		G
*Optionmenu.button_2.accelerator:	Ctrl<Key>G
*Optionmenu.button_2.acceleratorText:	Ctrl+G
!
*Helpmenu.button_0.labelString:         Help...
*Helpmenu.button_0.mnemonic:            H

! horizontal pane is composed of a vertical pane and the middle form
*VPane.paneMinimum:			450

! transaction text
*Translabel.labelString:		No Open Accounts
*Translabel.fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Transtext.rows:			14
!*Transtext.columns:			70

! graph area
*Graphframe.shadowType:			SHADOW_ETCHED_IN
*Graphframe.paneMinimum:		175
*Graph.height:				175
*Graph.width:				450

!file manager area
*Fileframe.shadowType:			SHADOW_ETCHED_IN
*Listfile.visibleItemCount:		5
*Listfile.scrollBarDisplayPolicy:	static
*ListfileSW.rightOffset: 		3
*ListfileSW.bottomOffset: 		3

!action manager area
*Midform.bottomOffset:			3
*Actframe.shadowType:			SHADOW_ETCHED_IN

!about box
*Infoframe.shadowType:			SHADOW_ETCHED_IN

! Graph function control area
*Graphpframe.shadowType:		SHADOW_ETCHED_IN
*Graphpframe*fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*GraphMode.labelString:			Graph Mode
*GraphMode.childVerticalAlignment:	ALIGNMENT_WIDGET_TOP
*Graphprow.marginHeight:		0
*Graphprow.marginWidth:			10
*Graphprow.orientation:			HORIZONTAL
*Graphprow.XmToggleButtonGadget.indicatorOn:	False
*Graphprow.XmToggleButtonGadget.fillOnSelect:	True
*Graphprow.XmToggleButtonGadget.shadowThickness:2
*Graphprow.XmToggleButtonGadget.marginTop:	0
*Graphprow.XmToggleButtonGadget.marginBottom:	0
*Graphprow.XmToggleButtonGadget.marginLeft:	0
*Graphprow.XmToggleButtonGadget.marginRight:	0
! bubble help resources
!*Graphprow.button_0.labelString:	This Account
!*Graphprow.button_1.labelString:	All Accounts

! Graph horizontal control area
*Graphhframe.shadowType:		SHADOW_ETCHED_IN
*Graphhframe*fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Graphhframe.leftOffset:		15
*GraphType.labelString:			Graph Type
*GraphType.childVerticalAlignment:	ALIGNMENT_WIDGET_TOP
*Graphhrow.marginHeight:		0
*Graphhrow.marginWidth:			10
*Graphhrow.orientation:			HORIZONTAL
*Graphhrow.XmToggleButtonGadget.indicatorOn:	False
*Graphhrow.XmToggleButtonGadget.fillOnSelect:	True
*Graphhrow.XmToggleButtonGadget.shadowThickness:2
*Graphhrow.XmToggleButtonGadget.marginTop:	0
*Graphhrow.XmToggleButtonGadget.marginBottom:	0
*Graphhrow.XmToggleButtonGadget.marginLeft:	0
*Graphhrow.XmToggleButtonGadget.marginRight:	0
! bubble help resources
!*Graphhrow.button_0.labelString:	By Transaction
!*Graphhrow.button_1.labelString:	By Date
!
! Graph vertical control area
*Graphvframe.shadowType:		SHADOW_ETCHED_IN
*Graphvframe.topOffset:			10
*GraphVar.fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*GraphVar.labelString:			Graph Variables
*GraphVar.childVerticalAlignment:	ALIGNMENT_WIDGET_TOP
*Graphvscroll.height:			105
*Graphvscroll.width:			175
*Graphvrow*marginTop:			0
*Graphvrow*marginBottom:		0
*Graphvrow*marginHeight:		0
*Graphvrow*XmToggleButton.spacing:	0
*Graphvrow*XmToggleButton.indicatorSize:	15
*Graphvrow*label_0.labelString:		Price
*Graphvrow*label_1.labelString:		Shares
*Graphvrow*label_2.labelString:		Cost
*Graphvrow*label_3.labelString:		Value
*Graphvrow*label_4.labelString:		Distribution
*Graphvrow*label_5.labelString:		IRR
*Graphvrow*label_6.labelString:		TR
*Graphvrow*label_7.labelString:		Constant
*Graphvrow*label_8.labelString:		Shares (ACC)
*Graphvrow*label_9.labelString:		Cost (ACC)
*Graphvrow*label_10.labelString:	Value (ACC)
*Graphvrow*label_11.labelString:	Distrib (ACC)
*Graphvrow*label_12.labelString:	Price (MAVG)
*Graphvrow*label_13.labelString:	Shares (MAVG)
*Graphvrow*label_14.labelString:	Cost (MAVG)
*Graphvrow*label_15.labelString:	Distrib (MAVG)
! moving average scale
*Graphslabel.alignment:			ALIGNMENT_END
*Graphscale.topOffset:			10
*Graphscale.leftOffset:			10
*Graphscale.orientation:		VERTICAL
*Graphscale.maximum:			52
*Graphscale.minimum:			1
*Graphscale.value:			13
*Graphscale.editable:			True
*Graphscale.showValue:			True
*Graphscale.showArrows:			EACH_SIDE
*Graphscale.slidingMode:		SLIDER
*Graphscale.sliderMark:			THUMB_MARK
*Graphslabel.labelString:		Trans
! constant line text
*Graphcform.topOffset:			10
*Graphvlabel.labelString:		Constant
*Graphvstart.columns:			7
*Graphvstart.value:			1000
*Graphvstart.leftOffset:		10
*Graphvrate.columns:			4
*Graphvrate.value:			10.0

! Total return action area
*Gainrow.orientation:			HORIZONTAL
! calendar
*Gaincalframe.shadowType:		SHADOW_ETCHED_IN
*Gaindaterow.orientation:		HORIZONTAL
*Gaindaterow.spacing:			0
*Gaindaterow*marginWidth:		0
*Gainyeartext.columns:			4
*Gainyeartext.value:			1996
*Gaincalrow*spacing:			0
! calculator
*Gaincalctext.columns:			7
*Gaincalctext.value:			$0.00
*Gaincalcrow.entryAlignment:		ALIGNMENT_CENTER
*Gaincalcrow.packing:			PACK_COLUMN
*Gaincalcrow.numColumns:		4
*Gaincalcrow.orientation:		HORIZONTAL
*Gainbutform.fractionBase:		2
*Gaincalclast.leftPosition:		0
*Gaincalcmode.leftPosition:		1
*Gainbutform.?.shadowThickness:		1
*Gainbutform.?.highlightThickness:	1
*Gaincalcmode.indicatorOn:		False
*Gaincalcmode.fillOnSelect:		True

! Portfolio action area
*Portform*fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*PortAccount.labelString:		This Account
*PortAccount.childVerticalAlignment:	ALIGNMENT_WIDGET_TOP
*PortAccounts.labelString:		All Accounts
*PortAccounts.childVerticalAlignment:	ALIGNMENT_WIDGET_TOP
*Portselrow.orientation:		HORIZONTAL
*Portselrow.packing:			PACK_COLUMN
*Portselrow.marginWidth:		20
*Portselrow.spacing:			10
*Portbutform.fractionBase:		4
*Portbutform.Add.labelString:		Add Account
*Portbutform.Add.leftPosition:		0
*Portbutform.Add.rightPosition:		2
*Portbutform.Remove.labelString:	Remove Account
*Portbutform.Remove.leftPosition:	2
*Portbutform.Remove.rightPosition:	4
*Portbutform.AddAll.labelString:	Add All Accounts
*Portbutform.AddAll.leftPosition:	0
*Portbutform.AddAll.rightPosition:	2
*Portbutform.Clear.labelString:		Remove All Accounts
*Portbutform.Clear.leftPosition:	2
*Portbutform.Clear.rightPosition:	4
*Portbutform*recomputeSize:		False
*Portpercentlabel.alignment:		ALIGNMENT_CENTER
*Portpercentlabel.labelString:		Category    Percent   Value
*Portform*Portpercentlabel.fontList: -*-fixed-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Portform*XmList.fontList:  	-*-fixed-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Portpercentlist*visibleItemCount:	5
*Portpercentlist*scrollBarDisplayPolicy: static
*Portvaluelabel.alignment:		ALIGNMENT_BEGINNING

! Function calculator action area
*Calcform*fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
*Calcframe.topOffset:			10
*Calclabel.marginHeight:                0
*Calclabel.marginWidth:                 0
*Calcrow.topOffset:			10
*Calcrow.orientation:			HORIZONTAL
*Calcrow.packing:			PACK_COLUMN
*Calcrow.numColumns:			4
*Calcrow.isAligned:			True
*Calcrow.entryAlignment:		ALIGNMENT_END
*Calcrow*marginWidth:                   0
*Calcrow*marginHeight:                  2
*Calcrow*recomputeSize:                 False
*Calcrow*spacing:                       0
*Calcrow.XmLabelGadget.marginRight:     5
*Calcrow*XmTextField.columns:		8
*Calcrow.XmTextField.marginWidth:       5

! Button area
*Butform.topOffset:			3
*Butform.leftOffset:			3
*Butform.rightOffset:			3

! Dialog for Help
*Help*topicframe.shadowType:		SHADOW_ETCHED_IN
*Help*topiclist.visibleItemCount:	15
*Help*textframe.shadowType:		SHADOW_ETCHED_IN
*Help*text.columns:			40
*Help*text.fontList:	-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
*Help*fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*

! Dialog for Message log
*Status.title:				Message Log
*Status*text.rows:			4
*Status*text.columns:			40
*Status*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*

! Dialog for file selection
*Filesel.dialogTitle:			File Select
*Filesel*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
!
! Dialog for error message
*alert.dialogTitle:			Alert
*alert*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*

! Dialog for account selection
*Accountsel.dialogTitle:		Account Select
*Accountsel.listLabelString:		Open Accounts
*Accountsel.cancelLabelString:          Cancel
*Accountsel.okLabelString:              Select
*Accountsel*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*

DetailShell*foreground:			Black
DetailShell*background:			Yellow

! Xinvest.colorx are application level resources.
!
! Xinvest application level colors.  Colors to plot in.
! Make sure none of these colors conflict with Graph.foreground or 
! Graph.background.  Otherwise you may have difficulty seeing the plots.
!
!
! Monochrome users may want to use the following:
!Xinvest.color0:				Black
!Xinvest.color1:				Black
!Xinvest.color2:				Black
!Xinvest.color3:				Black
!Xinvest.color4:				Black
!Xinvest.color5:				Black
!Xinvest.color6:				Black
!Xinvest.color7:				Black
!
! Color users will like this better
Xinvest.color0:				Red
Xinvest.color1:				Blue
Xinvest.color2:				Green
Xinvest.color3:				Yellow
Xinvest.color4:				Purple
Xinvest.color5:				Brown
Xinvest.color6:				Orange
Xinvest.color7:				Grey100

! CDE users don't need anything below here

! All widgets default to gray
*background:				Gray75

! Graph area
!
! Monochrome
!*Graph.foreground:				Black
!*Graph.background:				White
!
! Color
*Graph.background:			Gray65
*Graph.foreground:			White

*Label.background:			White
*Label.foreground:			Black

*Translabel.background:			NavyBlue
*Translabel.foreground:			White
*Transtext.background:			PapayaWhip

*Listfile.background:			MistyRose2
*Filesel*DirList.background:		MistyRose3
*Filesel*ItemsList.background:		MistyRose3
*Filesel.FilterText.background:		MistyRose2
*Filesel.Text.background:		MistyRose2

! calendar
*Gaincalrow*Gainyeartext.background:	White
*Gaincalrow*GainyearUparrow.background:	Gray75
*GainyearUparrow.foreground:		RoyalBlue
*GainyearDnarrow.foreground:		RoyalBlue
*Gaincalrow*GainyearDnarrow.background:	Gray75
*Gaincalrow*background:			SteelBlue2
*Gainmonthform*highlightColor:		LemonChiffon
! calculator
*Gainvalrow.background:			SteelBlue2
*Gaincalctext.background:		White
*Gaincalcrow.background:		SteelBlue3
*Gaincalcrow.*.background:		LemonChiffon
*Gaincalcrow.clr.background:		MistyRose
*Gainvalrow.cmp.background:		MistyRose2

! Graph selector 
! vertical
*Graphcform*XmText*background:		White
*Graphcform*XmTextField*background:	White

! Function calculator area
*Calcform*XmTextField*background:	White

! Portfolio area
*PortSeltext*background:		White
*Portpercentlist*background:		White

! Help dialog area
*Help*topiclist*background:		MistyRose3
*Help*text*background:			MistyRose2

! Message dialog area
*Status*text.background:		MistyRose2

! Account select dialog
*Accountsel*XmList.background:          MistyRose2
