!------------------------------------
! XCalc add-on application resources
!------------------------------------
XCalc*shadowWidth:				0
XCalc*Geometry:					180x280-30+360
XCalc*background:				PeachPuff3
XCalc*Cursor:					hand2
! XCalc.toplevel.icon_name:			Abacus
! XCalc*iconPixmap:				calculator
XCalc*Font:					*-helvetica-bold-r-normal--*-100-*-*-*-*-*-*
XCalc*bevel.screen.LCD.Font:			*-bitstream-charter-medium-r-normal--*-140-*-*-*-*-*-*

XCalc*bevel.Background:				gray30
XCalc*bevel.horizDistance:			14
XCalc*bevel.vertDistance:			8

XCalc*bevel.screen.background:			gray20
XCalc*bevel.screen.horizDistance:		5
XCalc*bevel.screen.vertDistance:    		5
XCalc*bevel.screen.defaultDistance:		0

XCalc*bevel.screen.Label.horizDistance:		0
XCalc*bevel.screen.Label.vertDistance:		0
XCalc*bevel.screen.Label.internalHeight:	1
XCalc*bevel.screen.Label.internalWidth:		1

XCalc*bevel.screen.LCD.Label:			88888888888
XCalc*bevel.screen.LCD.fromHoriz:		M
XCalc*bevel.screen.LCD.horizDistance:		-2
XCalc*bevel.screen.LCD.vertDistance:		0
XCalc*bevel.screen.LCD.foreground:		red
XCalc*bevel.screen.LCD.background:		gray20

XCalc*bevel.screen.M.horizDistance:		2
XCalc*bevel.screen.M.foreground:		red
XCalc*bevel.screen.M.background:		gray20

XCalc*bevel.screen.INV.fromVert:		LCD
XCalc*bevel.screen.INV.vertDistance:		1
XCalc*bevel.screen.INV.foreground:		gray80
XCalc*bevel.screen.INV.background:		gray20

XCalc*bevel.screen.DEG.fromHoriz:		INV
XCalc*bevel.screen.DEG.fromVert:		LCD
XCalc*bevel.screen.DEG.horizDistance:		2
XCalc*bevel.screen.DEG.vertDistance:		1
XCalc*bevel.screen.DEG.foreground:		green2
XCalc*bevel.screen.DEG.background:		gray20

XCalc*bevel.screen.RAD.fromHoriz:		DEG
XCalc*bevel.screen.RAD.fromVert:		LCD
XCalc*bevel.screen.RAD.horizDistance:		1
XCalc*bevel.screen.RAD.vertDistance:		1
XCalc*bevel.screen.RAD.foreground:		orange
XCalc*bevel.screen.RAD.background:		gray20

XCalc*bevel.screen.GRAD.fromHoriz:		RAD
XCalc*bevel.screen.GRAD.fromVert:		LCD
XCalc*bevel.screen.GRAD.horizDistance:		1
XCalc*bevel.screen.GRAD.vertDistance:		1
XCalc*bevel.screen.GRAD.foreground:		cyan2
XCalc*bevel.screen.GRAD.background:		gray20

XCalc*bevel.screen.P.Label:			()
XCalc*bevel.screen.P.fromHoriz:			GRAD
XCalc*bevel.screen.P.fromVert:			LCD
XCalc*bevel.screen.P.vertDistance:		1
XCalc*bevel.screen.P.horizDistance:		2

XCalc*Command.horizDistance:			3
XCalc*Command.vertDistance:			5
XCalc*Command.width:				32
XCalc*Command.height:				16
XCalc*Command.internalWidth:			1
XCalc*Command.ShapeStyle:			rectangle
XCalc*Command*ShadowWidth:			3

XCalc.ti.Command.background:			gray65
XCalc.ti.Command.foreground:			black
! XCalc.ti.Geometry:				200x300
XCalc.ti.bevel.screen.LCD.width:		130
XCalc.ti.bevel.screen.LCD.height:		20
XCalc.ti.bevel.screen.LCD.ShapeStyle:		rectangle

XCalc.ti.bevel.screen.LCD.Translations:		#replace\n\
	Ctrl<Key>c:quit()\n\
	Ctrl<Key>h:clear()\n\
	None<Key>0:digit(0)\n\
	None<Key>1:digit(1)\n\
	None<Key>2:digit(2)\n\
	None<Key>3:digit(3)\n\
	None<Key>4:digit(4)\n\
	None<Key>5:digit(5)\n\
	None<Key>6:digit(6)\n\
	None<Key>7:digit(7)\n\
	None<Key>8:digit(8)\n\
	None<Key>9:digit(9)\n\
	<Key>KP_0:digit(0)\n\
	<Key>KP_1:digit(1)\n\
	<Key>KP_2:digit(2)\n\
	<Key>KP_3:digit(3)\n\
	<Key>KP_4:digit(4)\n\
	<Key>KP_5:digit(5)\n\
	<Key>KP_6:digit(6)\n\
	<Key>KP_7:digit(7)\n\
	<Key>KP_8:digit(8)\n\
	<Key>KP_9:digit(9)\n\
	<Key>KP_Enter:equal()\n\
	<Key>KP_Equal:equal()\n\
	<Key>KP_Multiply:multiply()\n\
	<Key>KP_Add:add()\n\
	<Key>KP_Subtract:subtract()\n\
	<Key>KP_Decimal:decimal()\n\
	<Key>KP_Divide:divide()\n\
	<Key>KP_Tab:equal()\n\
	<Key>Clear:clear()\n\
	<Key>.:decimal()\n\
	<Key>+:add()\n\
	<Key>-:subtract()\n\
	<Key>*:multiply()\n\
	<Key>/:divide()\n\
	<Key>(:leftParen()\n\
	<Key>):rightParen()\n\
        <Key>!:factorial()\n\
	<Key>e:e()\n\
	<Key>^:power()\n\
	<Key>x:scientific()\n\
	<Key>p:pi()\n\
	<Key>i:inverse()\n\
	<Key>s:sine()\n\
	<Key>c:cosine()\n\
	<Key>t:tangent()\n\
	<Key>d:degree()\n\
	<Key>l:naturalLog()\n\
	<Key>=:equal()\n\
	<Key>n:negate()\n\
	<Key>r:squareRoot()\n\
	<Key>space:clear()\n\
	<Key>q:quit()\n\
	<Key>Delete:clear()\n\
	<Key>BackSpace:clear()\n\
	<Btn1Down>,<Btn1Up>:toggle()selection()\n

XCalc.ti.button1.Label:			1/x
XCalc.ti.button1.Translations:		#override<Btn1Up>:reciprocal()unset()
XCalc.ti.button2.Label:			x^2
XCalc.ti.button2.Translations:		#override<Btn1Up>:square()unset()
XCalc.ti.button3.Label:			SQR
XCalc.ti.button3.Translations:		#override<Btn1Up>:squareRoot()unset()
XCalc.ti.button4.Label:			CE/C
XCalc.ti.button4.Translations:		#override<Btn1Up>:clear()unset()
XCalc.ti.button5.Label:			AC
XCalc.ti.button5.Translations:		#override<Btn1Up>:off()unset()\n\

XCalc.ti.button6.Label:			INV
XCalc.ti.button6.Translations:		#override<Btn1Up>:inverse()unset()
XCalc.ti.button7.Label:			sin
XCalc.ti.button7.Translations:		#override<Btn1Up>:sine()unset()
XCalc.ti.button8.Label:			cos
XCalc.ti.button8.Translations:		#override<Btn1Up>:cosine()unset()
XCalc.ti.button9.Label:			tan
XCalc.ti.button9.Translations:		#override<Btn1Up>:tangent()unset()
XCalc.ti.button10.Label:		DRG
XCalc.ti.button10.Translations: 	#override<Btn1Up>:degree()unset()

XCalc.ti.button11.Label:		e
XCalc.ti.button11.Translations:		#override<Btn1Up>:e()unset()
XCalc.ti.button12.Label:		EE
XCalc.ti.button12.Translations:		#override<Btn1Up>:scientific()unset()
XCalc.ti.button13.Label:		log
XCalc.ti.button13.Translations:		#override<Btn1Up>:logarithm()unset()
XCalc.ti.button14.Label:		ln
XCalc.ti.button14.Translations:		#override<Btn1Up>:naturalLog()unset()
XCalc.ti.button15.Label:		y^x
XCalc.ti.button15.Translations:		#override<Btn1Up>:power()unset()

XCalc.ti.button16.Label:		PI
XCalc.ti.button16.Translations:		#override<Btn1Up>:pi()unset()
XCalc.ti.button17.Label:		x!
XCalc.ti.button17.Translations:		#override<Btn1Up>:factorial()unset()
XCalc.ti.button18.Label:		(
XCalc.ti.button18.Translations:		#override<Btn1Up>:leftParen()unset()
XCalc.ti.button19.Label:		)
XCalc.ti.button19.Translations:		#override<Btn1Up>:rightParen()unset()
XCalc.ti.button20.Label:		/
XCalc.ti.button20.Translations:		#override<Btn1Up>:divide()unset()

XCalc.ti.button21.Label:		STO
XCalc.ti.button21.Translations:		#override<Btn1Up>:store()unset()
XCalc.ti.button22.Label:		7
XCalc.ti.button22.Translations:		#override<Btn1Up>:digit(7)unset()
XCalc.ti.button23.Label:		8
XCalc.ti.button23.Translations:		#override<Btn1Up>:digit(8)unset()
XCalc.ti.button24.Label:		9
XCalc.ti.button24.Translations:		#override<Btn1Up>:digit(9)unset()
XCalc.ti.button25.Label:		x
XCalc.ti.button25.Translations:		#override<Btn1Up>:multiply()unset()

XCalc.ti.button26.Label:		RCL
XCalc.ti.button26.Translations:		#override<Btn1Up>:recall()unset()
XCalc.ti.button27.Label:		4
XCalc.ti.button27.Translations:		#override<Btn1Up>:digit(4)unset()
XCalc.ti.button28.Label:		5
XCalc.ti.button28.Translations:		#override<Btn1Up>:digit(5)unset()
XCalc.ti.button29.Label:		6
XCalc.ti.button29.Translations:		#override<Btn1Up>:digit(6)unset()
XCalc.ti.button30.Label:		-
XCalc.ti.button30.Translations:		#override<Btn1Up>:subtract()unset()

XCalc.ti.button31.Label:		SUM
XCalc.ti.button31.Translations:		#override<Btn1Up>:sum()unset()
XCalc.ti.button32.Label:		1
XCalc.ti.button32.Translations:		#override<Btn1Up>:digit(1)unset()
XCalc.ti.button33.Label:		2
XCalc.ti.button33.Translations:		#override<Btn1Up>:digit(2)unset()
XCalc.ti.button34.Label:		3
XCalc.ti.button34.Translations:		#override<Btn1Up>:digit(3)unset()
XCalc.ti.button35.Label:		+
XCalc.ti.button35.Translations:		#override<Btn1Up>:add()unset()

XCalc.ti.button36.Label:		EXC
XCalc.ti.button36.Translations:		#override<Btn1Up>:exchange()unset()
XCalc.ti.button37.Label:		0
XCalc.ti.button37.Translations:		#override<Btn1Up>:digit(0)unset()
XCalc.ti.button38.Label:		.
XCalc.ti.button38.Translations:		#override<Btn1Up>:decimal()unset()
XCalc.ti.button39.Label:		+/-
XCalc.ti.button39.Translations:		#override<Btn1Up>:negate()unset()
XCalc.ti.button40.Label:		=
XCalc.ti.button40.Translations:		#override<Btn1Up>:equal()unset()

XCalc.ti.button1.horizDistance:		5	
XCalc.ti.button1.fromVert:		bevel
XCalc.ti.button1.vertDistance:		8
XCalc.ti.button2.fromHoriz:		button1
XCalc.ti.button2.fromVert:		bevel
XCalc.ti.button2.vertDistance:		8
XCalc.ti.button3.fromHoriz:		button2
XCalc.ti.button3.fromVert:		bevel
XCalc.ti.button3.vertDistance:		8
XCalc.ti.button4.fromHoriz:		button3
XCalc.ti.button4.fromVert:		bevel
XCalc.ti.button4.vertDistance:		8
XCalc.ti.button5.fromHoriz:		button4
XCalc.ti.button5.fromVert:		bevel
XCalc.ti.button5.vertDistance:		8

XCalc.ti.button6.horizDistance:		5
XCalc.ti.button6.fromVert:		button1
XCalc.ti.button7.fromHoriz:		button6
XCalc.ti.button7.fromVert:		button2
XCalc.ti.button8.fromHoriz:		button7
XCalc.ti.button8.fromVert:		button3
XCalc.ti.button9.fromHoriz:		button8
XCalc.ti.button9.fromVert:		button4
XCalc.ti.button10.fromHoriz:		button9
XCalc.ti.button10.fromVert:		button5

XCalc.ti.button11.horizDistance:	5
XCalc.ti.button11.fromVert:		button6
XCalc.ti.button12.fromHoriz:		button11
XCalc.ti.button12.fromVert:		button7
XCalc.ti.button13.fromHoriz:		button12
XCalc.ti.button13.fromVert:		button8
XCalc.ti.button14.fromHoriz:		button13
XCalc.ti.button14.fromVert:		button9
XCalc.ti.button15.fromHoriz:		button14
XCalc.ti.button15.fromVert:		button10

XCalc.ti.button16.horizDistance:	5
XCalc.ti.button16.fromVert:		button11
XCalc.ti.button17.fromHoriz:		button16
XCalc.ti.button17.fromVert:		button12
XCalc.ti.button18.fromHoriz:		button17
XCalc.ti.button18.fromVert:		button13
XCalc.ti.button19.fromHoriz:		button18
XCalc.ti.button19.fromVert:		button14
XCalc.ti.button20.fromHoriz:		button19
XCalc.ti.button20.fromVert:		button15

XCalc.ti.button21.horizDistance:	5
XCalc.ti.button21.fromVert:		button16
XCalc.ti.button22.fromHoriz:		button21
XCalc.ti.button22.fromVert:		button17
XCalc.ti.button23.fromHoriz:		button22
XCalc.ti.button23.fromVert:		button18
XCalc.ti.button24.fromHoriz:		button23
XCalc.ti.button24.fromVert:		button19
XCalc.ti.button25.fromHoriz:		button24
XCalc.ti.button25.fromVert:		button20

XCalc.ti.button26.horizDistance:	5
XCalc.ti.button26.fromVert:		button21
XCalc.ti.button27.fromHoriz:		button26
XCalc.ti.button27.fromVert:		button22
XCalc.ti.button28.fromHoriz:		button27
XCalc.ti.button28.fromVert:		button23
XCalc.ti.button29.fromHoriz:		button28
XCalc.ti.button29.fromVert:		button24
XCalc.ti.button30.fromHoriz:		button29
XCalc.ti.button30.fromVert:		button25

XCalc.ti.button31.horizDistance:	5
XCalc.ti.button31.fromVert:		button26
XCalc.ti.button32.fromHoriz:		button31
XCalc.ti.button32.fromVert:		button27
XCalc.ti.button33.fromHoriz:		button32
XCalc.ti.button33.fromVert:		button28
XCalc.ti.button34.fromHoriz:		button33
XCalc.ti.button34.fromVert:		button29
XCalc.ti.button35.fromHoriz:		button34
XCalc.ti.button35.fromVert:		button30

XCalc.ti.button36.horizDistance:	5
XCalc.ti.button36.fromVert:		button31
XCalc.ti.button37.fromHoriz:		button36
XCalc.ti.button37.fromVert:		button32
XCalc.ti.button38.fromHoriz:		button37
XCalc.ti.button38.fromVert:		button33
XCalc.ti.button39.fromHoriz:		button38
XCalc.ti.button39.fromVert:		button34
XCalc.ti.button40.fromHoriz:		button39
XCalc.ti.button40.fromVert:		button35

