1#include "XCalc" 2 3XCalc*ti.backgroundPixmap: gray3?foreground=gray70&background=gray85 4XCalc*.bevel.background: gray80 5XCalc*.bevel.displayList: foreground gray90;lines -1,0,0,0,0,-1;lines 3,-4,-4,-4,-4,3 6 7XCalc*.bevel.borderColor: gray60 8XCalc*.bevel.borderWidth: 1 9XCalc*.bevel.vertDistance: 4 10XCalc*.bevel.defaultDistance: 4 11XCalc*.bevel.screen.vertDistance: 4 12XCalc*.bevel.screen.horizDistance: 4 13XCalc*.bevel.screen*left: chainLeft 14XCalc*.bevel.screen*right: chainRight 15XCalc*.bevel.screen*top: chainTop 16XCalc*.bevel.screen*bottom: chainBottom 17XCalc*.bevel.screen*background: rgb:9/a/9 18XCalc*.bevel.screen.borderColor: gray50 19XCalc*.bevel.screen*LCD.foreground: gray20 20XCalc*.bevel.screen*INV.vertDistance: 2 21 22! T e x a s I n s t r u m e n t s T I - 3 0 23 24XCalc*ti.Command.shapeStyle: roundedRectangle 25XCalc*ti.Command.displayList: foreground rgb:a/b/c;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 26 27XCalc*ti.Command.borderColor: rgb:8/9/a 28XCalc*ti.Command.background: rgb:c/d/e 29XCalc*ti.Command.foreground: gray5 30 31XCalc*ti.button35.foreground: gray5 32XCalc*ti.button35.background: rgb:e/d/c 33XCalc*ti.button35.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 34XCalc*ti.button35.borderColor: rgb:9/8/7 35 36XCalc*ti.button40.foreground: gray5 37XCalc*ti.button40.background: rgb:e/d/c 38XCalc*ti.button40.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 39XCalc*ti.button40.borderColor: rgb:9/8/7 40 41XCalc*ti.button45.foreground: gray5 42XCalc*ti.button45.background: rgb:e/d/c 43XCalc*ti.button45.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 44XCalc*ti.button45.borderColor: rgb:9/8/7 45 46XCalc*ti.button50.foreground: gray5 47XCalc*ti.button50.background: rgb:e/d/c 48XCalc*ti.button50.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 49XCalc*ti.button50.borderColor: rgb:9/8/7 50 51XCalc*ti.button55.foreground: gray5 52XCalc*ti.button55.background: rgb:e/d/c 53XCalc*ti.button55.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 54XCalc*ti.button55.borderColor: rgb:9/8/7 55 56 57! "Number" keys. 58! "D" 59XCalc*ti.button27.background: gray95 60XCalc*ti.button27.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 61XCalc*ti.button27.borderColor: gray65 62! "E" 63XCalc*ti.button28.background: gray95 64XCalc*ti.button28.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 65XCalc*ti.button28.borderColor: gray65 66! "F" 67XCalc*ti.button29.background: gray95 68XCalc*ti.button29.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 69XCalc*ti.button29.borderColor: gray65 70 71! "A" 72XCalc*ti.button32.background: gray95 73XCalc*ti.button32.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 74XCalc*ti.button32.borderColor: gray65 75! "B" 76XCalc*ti.button33.background: gray95 77XCalc*ti.button33.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 78XCalc*ti.button33.borderColor: gray65 79! "C" 80XCalc*ti.button34.background: gray95 81XCalc*ti.button34.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 82XCalc*ti.button34.borderColor: gray65 83 84! "7" 85XCalc*ti.button37.background: gray95 86XCalc*ti.button37.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 87XCalc*ti.button37.borderColor: gray65 88! "8" 89XCalc*ti.button38.background: gray95 90XCalc*ti.button38.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 91XCalc*ti.button38.borderColor: gray65 92! "9" 93XCalc*ti.button39.background: gray95 94XCalc*ti.button39.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 95XCalc*ti.button39.borderColor: gray65 96 97! "4" 98XCalc*ti.button42.background: gray95 99XCalc*ti.button42.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 100XCalc*ti.button42.borderColor: gray65 101! "5" 102XCalc*ti.button43.background: gray95 103XCalc*ti.button43.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 104XCalc*ti.button43.borderColor: gray65 105! "6" 106XCalc*ti.button44.background: gray95 107XCalc*ti.button44.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 108XCalc*ti.button44.borderColor: gray65 109 110! "1" 111XCalc*ti.button47.background: gray95 112XCalc*ti.button47.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 113XCalc*ti.button47.borderColor: gray65 114! "2" 115XCalc*ti.button48.background: gray95 116XCalc*ti.button48.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 117XCalc*ti.button48.borderColor: gray65 118! "3" 119XCalc*ti.button49.background: gray95 120XCalc*ti.button49.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 121XCalc*ti.button49.borderColor: gray65 122 123! "0" 124XCalc*ti.button52.background: gray95 125XCalc*ti.button52.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 126XCalc*ti.button52.borderColor: gray65 127! "." 128XCalc*ti.button53.background: gray95 129XCalc*ti.button53.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 130XCalc*ti.button53.borderColor: gray65 131! "+/-" 132XCalc*ti.button54.background: gray95 133XCalc*ti.button54.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 134XCalc*ti.button54.borderColor: gray65 135 136! H e w l e t t - P a c k a r d 1 0 C 137 138XCalc*hp.Command.shapeStyle: roundedRectangle 139XCalc*hp.background: wheat 140 141XCalc*hp.Command.background: peru 142XCalc*hp.Command.foreground: white 143 144! Unused buttons. (Make invisible.) 145XCalc*hp.button21.background: wheat 146XCalc*hp.button22.background: wheat 147 148! ON button 149XCalc*hp.button31.background: goldenrod 150XCalc*hp.button31.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 151!XCalc*hp.button31.foreground: white 152 153! SQRT 154XCalc*hp.button1.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 155! e^x 156XCalc*hp.button2.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 157! 10^x 158XCalc*hp.button3.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 159! y^x 160XCalc*hp.button4.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 161! 1/c 162XCalc*hp.button5.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 163! CHS 164XCalc*hp.button6.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 165! x! 166XCalc*hp.button11.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 167! pi 168XCalc*hp.button12.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 169! sin 170XCalc*hp.button13.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 171! cos 172XCalc*hp.button14.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 173! tan 174XCalc*hp.button15.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 175! EEX 176XCalc*hp.button16.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 177! Rv 178XCalc*hp.button23.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 179! x:y 180XCalc*hp.button24.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 181! <- 182XCalc*hp.button25.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 183! ENTER 184XCalc*hp.button26.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 185! DRG 186XCalc*hp.button32.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 187! INV 188XCalc*hp.button33.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 189! STO 190XCalc*hp.button34.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 191!RCL 192XCalc*hp.button35.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 193 194! "Operator" keys. 195! Divide key 196XCalc*hp.button10.background: SteelBlue 197XCalc*hp.button10.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 198! Multiply key 199XCalc*hp.button20.background: SteelBlue 200XCalc*hp.button20.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 201! Minus key 202XCalc*hp.button30.background: SteelBlue 203XCalc*hp.button30.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 204! SUM 205XCalc*hp.button38.background: SteelBlue 206XCalc*hp.button38.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 207! Plus key 208XCalc*hp.button39.background: SteelBlue 209XCalc*hp.button39.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 210 211! "Number" keys. 212! "7" 213XCalc*hp.button7.background: white 214XCalc*hp.button7.foreground: black 215XCalc*hp.button7.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 216! "8" 217XCalc*hp.button8.background: white 218XCalc*hp.button8.foreground: black 219XCalc*hp.button8.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 220! "9" 221XCalc*hp.button9.background: white 222XCalc*hp.button9.foreground: black 223XCalc*hp.button9.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 224! "4" 225XCalc*hp.button17.background: white 226XCalc*hp.button17.foreground: black 227XCalc*hp.button17.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 228! "5" 229XCalc*hp.button18.background: white 230XCalc*hp.button18.foreground: black 231XCalc*hp.button18.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 232! "6" 233XCalc*hp.button19.background: white 234XCalc*hp.button19.foreground: black 235XCalc*hp.button19.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 236! "1" 237XCalc*hp.button27.background: white 238XCalc*hp.button27.foreground: black 239XCalc*hp.button27.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 240! "2" 241XCalc*hp.button28.background: white 242XCalc*hp.button28.foreground: black 243XCalc*hp.button28.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 244! "3" 245XCalc*hp.button29.background: white 246XCalc*hp.button29.foreground: black 247XCalc*hp.button29.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 248! "0" 249XCalc*hp.button36.background: white 250XCalc*hp.button36.foreground: black 251XCalc*hp.button36.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 252! "." 253XCalc*hp.button37.background: white 254XCalc*hp.button37.foreground: black 255XCalc*hp.button37.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 256