You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

286 lines
9.3 KiB

!XCalc cosmetics
xcalc*geometry: 300x400
xcalc*ti.button1.vertDistance: 8
xcalc*ti.button2.vertDistance: 8
xcalc*ti.button3.vertDistance: 8
xcalc*ti.button4.vertDistance: 8
xcalc*ti.button5.vertDistance: 8
xcalc*ti.background: gray90
xcalc*ti.bevel.borderWidth: 0
xcalc*ti.bevel.vertDistance: 0
xcalc*ti.bevel.horiDistance: 0
xcalc*ti.bevel.defaultDistance: 0
xcalc*ti.bevel.background: black
xcalc*ti.bevel.screen*background: black
xcalc*ti.bevel.screen.borderColor: rgb:b/c/b
xcalc*ti.bevel.screen.vertDistance: 0
xcalc*ti.bevel.screen.horizDistance: 0
xcalc*ti.bevel.screen*left: chainLeft
xcalc*ti.bevel.screen*right: chainRight
xcalc*ti.bevel.screen*top: chainTop
xcalc*ti.bevel.screen*bottom: chainBottom
xcalc*ti.bevel.screen*LCD.foreground: rgb:3f/87/83
xcalc*ti.bevel.screen*INV.vertDistance: 0
xcalc*ti.Command.borderColor: black
xcalc*ti.Command.background: rgb:77/77/77
xcalc*ti.Command.foreground: gray85
xcalc*ti.button5.background: rgb:cd/85/00
xcalc*ti.button20.background: rgb:61/11/12
xcalc*ti.button25.background: rgb:72/22/23
xcalc*ti.button30.background: rgb:83/33/34
xcalc*ti.button35.background: rgb:83/33/34
xcalc*ti.button40.background: rgb:ff/ff/ff
xcalc*ti.button22.background: red
xcalc*ti.button23.background: gray95
xcalc*ti.button24.background: gray95
xcalc*ti.button27.background: gray95
xcalc*ti.button28.background: gray95
xcalc*ti.button29.background: gray95
xcalc*ti.button32.background: gray95
xcalc*ti.button33.background: gray95
xcalc*ti.button34.background: gray95
xcalc*ti.button37.background: gray95
xcalc*ti.button38.background: gray95
xcalc*ti.button39.background: gray95
xcalc.ti.button20.label: /
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595
XCalc*Cursor: hand2
XCalc*ShapeStyle: rectangle
XCalc*Font: -misc-fixed-medium-r-semicondensed-*-13-100-100-100-c-60-iso8859-1
XCalc.Title: Calculator
XCalc.IconName: Calc
!XCalc layout and bindings
XCalc*Command.horizDistance: 2
XCalc*Command.vertDistance: 2
XCalc*Command.width: 40
XCalc*Command.height: 26
XCalc*Command.internalWidth: 1
XCalc*bevel.background: white
XCalc*bevel.horizDistance: 3
XCalc*bevel.vertDistance: 1
XCalc*bevel.screen.horizDistance: 0
XCalc*bevel.screen.vertDistance: 0
XCalc*bevel.screen.defaultDistance: 0
XCalc*bevel.screen.Label.horizDistance: -3
XCalc*bevel.screen.Label.vertDistance: 5
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: 27
XCalc*bevel.screen.LCD.vertDistance: 2
XCalc*bevel.screen.INV.fromVert: LCD
XCalc*bevel.screen.INV.vertDistance: 0
XCalc*bevel.screen.DEG.fromHoriz: INV
XCalc*bevel.screen.DEG.fromVert: LCD
XCalc*bevel.screen.DEG.horizDistance: 1
XCalc*bevel.screen.RAD.fromHoriz: DEG
XCalc*bevel.screen.RAD.fromVert: LCD
XCalc*bevel.screen.GRAD.fromHoriz: RAD
XCalc*bevel.screen.GRAD.fromVert: LCD
XCalc*bevel.screen.P.label: ()
XCalc*bevel.screen.P.fromHoriz: GRAD
XCalc*bevel.screen.P.fromVert: LCD
XCalc*bevel.screen.P.horizDistance: 0
XCalc*bevel.screen.HEX.fromHoriz: P
XCalc*bevel.screen.HEX.fromVert: LCD
XCalc*bevel.screen.HEX.horizDistance: 1
XCalc*bevel.screen.DEC.fromHoriz: P
XCalc*bevel.screen.DEC.fromVert: LCD
XCalc*bevel.screen.DEC.horizDistance: 1
XCalc*bevel.screen.OCT.fromHoriz: P
XCalc*bevel.screen.OCT.fromVert: LCD
XCalc*bevel.screen.OCT.horizDistance: 1
!XCalc*ti.Geometry: 171x252
XCalc*ti.bevel.screen.LCD.width: 186
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\
Shift<Key>a:digit(A)\n\
Shift<Key>b:digit(B)\n\
Shift<Key>c:digit(C)\n\
Shift<Key>d:digit(D)\n\
Shift<Key>e:digit(E)\n\
Shift<Key>f:digit(F)\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>Return:equal()\n\
<Key>KP_Multiply:multiply()\n\
<Key>KP_Add:add()\n\
<Key>KP_Subtract:subtract()\n\
<Key>KP_Decimal:decimal()\n\
<Key>KP_Separator: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>|:or()\n\
:<Key>&:and()\n\
:<Key><:shl()\n\
:<Key>>:shr()\n\
:<Key>~:not()\n\
:<Key>%:mod()\n\
<Key>x:xor()\n\
<Key>e:e()\n\
:<Key>^:power()\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<Btn1Down>,<Btn1Up>:reciprocal()unset()
XCalc*ti.button2.label: x\262
XCalc*ti.button2.translations: #override<Btn1Down>,<Btn1Up>:square()unset()
XCalc*ti.button3.label: SQRT
XCalc*ti.button3.translations: #override<Btn1Down>,<Btn1Up>:squareRoot()unset()
XCalc*ti.button4.label: CE/C
XCalc*ti.button4.translations: #override<Btn1Down>,<Btn1Up>:clear()unset()
XCalc*ti.button5.label: AC
XCalc*ti.button5.translations: #override<Btn1Down>,<Btn1Up>:off()unset()\n\
<Btn3Down>,<Btn3Up>:quit()
XCalc*ti.button6.label: INV
XCalc*ti.button6.translations: #override<Btn1Down>,<Btn1Up>:inverse()unset()
XCalc*ti.button7.label: sin
XCalc*ti.button7.translations: #override<Btn1Down>,<Btn1Up>:sine()unset()
XCalc*ti.button8.label: cos
XCalc*ti.button8.translations: #override<Btn1Down>,<Btn1Up>:cosine()unset()
XCalc*ti.button9.label: tan
XCalc*ti.button9.translations: #override<Btn1Down>,<Btn1Up>:tangent()unset()
XCalc*ti.button10.label: DRG
XCalc*ti.button10.translations: #override<Btn1Down>,<Btn1Up>:degree()unset()
XCalc*ti.button11.label: e
XCalc*ti.button11.translations: #override<Btn1Down>,<Btn1Up>:e()unset()
XCalc*ti.button12.label: EE
XCalc*ti.button12.translations: #override<Btn1Down>,<Btn1Up>:scientific()unset()
XCalc*ti.button13.label: log
XCalc*ti.button13.translations: #override<Btn1Down>,<Btn1Up>:logarithm()unset()
XCalc*ti.button14.label: ln
XCalc*ti.button14.translations: #override<Btn1Down>,<Btn1Up>:naturalLog()unset()
XCalc*ti.button15.label: y^x
XCalc*ti.button15.translations: #override<Btn1Down>,<Btn1Up>:power()unset()
XCalc*ti.button16.label: N/A
XCalc*ti.button17.label: x!
XCalc*ti.button17.translations: #override<Btn1Down>,<Btn1Up>:factorial()unset()
XCalc*ti.button18.label: (
XCalc*ti.button18.translations: #override<Btn1Down>,<Btn1Up>:leftParen()unset()
XCalc*ti.button19.label: )
XCalc*ti.button19.translations: #override<Btn1Down>,<Btn1Up>:rightParen()unset()
XCalc*ti.button20.label: base
XCalc*ti.button20.translations: #override<Btn1Down>,<Btn1Up>:base()unset()
XCalc*ti.button1.horizDistance: 4
XCalc*ti.button1.vertDistance: 12
XCalc*ti.button1.fromVert: bevel
XCalc*ti.button2.fromHoriz: button1
XCalc*ti.button2.fromVert: bevel
XCalc*ti.button2.vertDistance: 12
XCalc*ti.button3.fromHoriz: button2
XCalc*ti.button3.fromVert: bevel
XCalc*ti.button3.vertDistance: 12
XCalc*ti.button4.fromHoriz: button3
XCalc*ti.button4.fromVert: bevel
XCalc*ti.button4.vertDistance: 12
XCalc*ti.button5.fromHoriz: button4
XCalc*ti.button5.fromVert: bevel
XCalc*ti.button5.vertDistance: 12
XCalc*ti.button6.horizDistance: 4
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: 4
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: 4
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