| 1 |
#include "XCalc" |
| 2 |
|
| 3 |
XCalc*ti.backgroundPixmap: gray3?foreground=gray70&background=gray85 |
| 4 |
XCalc*.bevel.background: gray80 |
| 5 |
XCalc*.bevel.displayList: foreground gray90;lines -1,0,0,0,0,-1;lines 3,-4,-4,-4,-4,3 |
| 6 |
|
| 7 |
XCalc*.bevel.borderColor: gray60 |
| 8 |
XCalc*.bevel.borderWidth: 1 |
| 9 |
XCalc*.bevel.vertDistance: 4 |
| 10 |
XCalc*.bevel.defaultDistance: 4 |
| 11 |
XCalc*.bevel.screen.vertDistance: 4 |
| 12 |
XCalc*.bevel.screen.horizDistance: 4 |
| 13 |
XCalc*.bevel.screen*left: chainLeft |
| 14 |
XCalc*.bevel.screen*right: chainRight |
| 15 |
XCalc*.bevel.screen*top: chainTop |
| 16 |
XCalc*.bevel.screen*bottom: chainBottom |
| 17 |
XCalc*.bevel.screen*background: rgb:9/a/9 |
| 18 |
XCalc*.bevel.screen.borderColor: gray50 |
| 19 |
XCalc*.bevel.screen*LCD.foreground: gray20 |
| 20 |
XCalc*.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 |
|
| 24 |
XCalc*ti.Command.shapeStyle: roundedRectangle |
| 25 |
XCalc*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 |
|
| 27 |
XCalc*ti.Command.borderColor: rgb:8/9/a |
| 28 |
XCalc*ti.Command.background: rgb:c/d/e |
| 29 |
XCalc*ti.Command.foreground: gray5 |
| 30 |
|
| 31 |
XCalc*ti.button35.foreground: gray5 |
| 32 |
XCalc*ti.button35.background: rgb:e/d/c |
| 33 |
XCalc*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 |
| 34 |
XCalc*ti.button35.borderColor: rgb:9/8/7 |
| 35 |
|
| 36 |
XCalc*ti.button40.foreground: gray5 |
| 37 |
XCalc*ti.button40.background: rgb:e/d/c |
| 38 |
XCalc*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 |
| 39 |
XCalc*ti.button40.borderColor: rgb:9/8/7 |
| 40 |
|
| 41 |
XCalc*ti.button45.foreground: gray5 |
| 42 |
XCalc*ti.button45.background: rgb:e/d/c |
| 43 |
XCalc*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 |
| 44 |
XCalc*ti.button45.borderColor: rgb:9/8/7 |
| 45 |
|
| 46 |
XCalc*ti.button50.foreground: gray5 |
| 47 |
XCalc*ti.button50.background: rgb:e/d/c |
| 48 |
XCalc*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 |
| 49 |
XCalc*ti.button50.borderColor: rgb:9/8/7 |
| 50 |
|
| 51 |
XCalc*ti.button55.foreground: gray5 |
| 52 |
XCalc*ti.button55.background: rgb:e/d/c |
| 53 |
XCalc*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 |
| 54 |
XCalc*ti.button55.borderColor: rgb:9/8/7 |
| 55 |
|
| 56 |
|
| 57 |
! "Number" keys. |
| 58 |
! "D" |
| 59 |
XCalc*ti.button27.background: gray95 |
| 60 |
XCalc*ti.button27.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 61 |
XCalc*ti.button27.borderColor: gray65 |
| 62 |
! "E" |
| 63 |
XCalc*ti.button28.background: gray95 |
| 64 |
XCalc*ti.button28.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 65 |
XCalc*ti.button28.borderColor: gray65 |
| 66 |
! "F" |
| 67 |
XCalc*ti.button29.background: gray95 |
| 68 |
XCalc*ti.button29.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 69 |
XCalc*ti.button29.borderColor: gray65 |
| 70 |
|
| 71 |
! "A" |
| 72 |
XCalc*ti.button32.background: gray95 |
| 73 |
XCalc*ti.button32.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 74 |
XCalc*ti.button32.borderColor: gray65 |
| 75 |
! "B" |
| 76 |
XCalc*ti.button33.background: gray95 |
| 77 |
XCalc*ti.button33.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 78 |
XCalc*ti.button33.borderColor: gray65 |
| 79 |
! "C" |
| 80 |
XCalc*ti.button34.background: gray95 |
| 81 |
XCalc*ti.button34.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 82 |
XCalc*ti.button34.borderColor: gray65 |
| 83 |
|
| 84 |
! "7" |
| 85 |
XCalc*ti.button37.background: gray95 |
| 86 |
XCalc*ti.button37.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 87 |
XCalc*ti.button37.borderColor: gray65 |
| 88 |
! "8" |
| 89 |
XCalc*ti.button38.background: gray95 |
| 90 |
XCalc*ti.button38.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 91 |
XCalc*ti.button38.borderColor: gray65 |
| 92 |
! "9" |
| 93 |
XCalc*ti.button39.background: gray95 |
| 94 |
XCalc*ti.button39.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 95 |
XCalc*ti.button39.borderColor: gray65 |
| 96 |
|
| 97 |
! "4" |
| 98 |
XCalc*ti.button42.background: gray95 |
| 99 |
XCalc*ti.button42.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 100 |
XCalc*ti.button42.borderColor: gray65 |
| 101 |
! "5" |
| 102 |
XCalc*ti.button43.background: gray95 |
| 103 |
XCalc*ti.button43.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 104 |
XCalc*ti.button43.borderColor: gray65 |
| 105 |
! "6" |
| 106 |
XCalc*ti.button44.background: gray95 |
| 107 |
XCalc*ti.button44.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 108 |
XCalc*ti.button44.borderColor: gray65 |
| 109 |
|
| 110 |
! "1" |
| 111 |
XCalc*ti.button47.background: gray95 |
| 112 |
XCalc*ti.button47.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 113 |
XCalc*ti.button47.borderColor: gray65 |
| 114 |
! "2" |
| 115 |
XCalc*ti.button48.background: gray95 |
| 116 |
XCalc*ti.button48.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 117 |
XCalc*ti.button48.borderColor: gray65 |
| 118 |
! "3" |
| 119 |
XCalc*ti.button49.background: gray95 |
| 120 |
XCalc*ti.button49.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 121 |
XCalc*ti.button49.borderColor: gray65 |
| 122 |
|
| 123 |
! "0" |
| 124 |
XCalc*ti.button52.background: gray95 |
| 125 |
XCalc*ti.button52.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 126 |
XCalc*ti.button52.borderColor: gray65 |
| 127 |
! "." |
| 128 |
XCalc*ti.button53.background: gray95 |
| 129 |
XCalc*ti.button53.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 130 |
XCalc*ti.button53.borderColor: gray65 |
| 131 |
! "+/-" |
| 132 |
XCalc*ti.button54.background: gray95 |
| 133 |
XCalc*ti.button54.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 |
| 134 |
XCalc*ti.button54.borderColor: gray65 |
| 135 |
|
| 136 |
! H e w l e t t - P a c k a r d 1 0 C |
| 137 |
|
| 138 |
XCalc*hp.Command.shapeStyle: roundedRectangle |
| 139 |
XCalc*hp.background: wheat |
| 140 |
|
| 141 |
XCalc*hp.Command.background: peru |
| 142 |
XCalc*hp.Command.foreground: white |
| 143 |
|
| 144 |
! Unused buttons. (Make invisible.) |
| 145 |
XCalc*hp.button21.background: wheat |
| 146 |
XCalc*hp.button22.background: wheat |
| 147 |
|
| 148 |
! ON button |
| 149 |
XCalc*hp.button31.background: goldenrod |
| 150 |
XCalc*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 |
| 154 |
XCalc*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 |
| 156 |
XCalc*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 |
| 158 |
XCalc*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 |
| 160 |
XCalc*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 |
| 162 |
XCalc*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 |
| 164 |
XCalc*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! |
| 166 |
XCalc*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 |
| 168 |
XCalc*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 |
| 170 |
XCalc*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 |
| 172 |
XCalc*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 |
| 174 |
XCalc*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 |
| 176 |
XCalc*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 |
| 178 |
XCalc*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 |
| 180 |
XCalc*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 |
! <- |
| 182 |
XCalc*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 |
| 184 |
XCalc*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 |
| 186 |
XCalc*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 |
| 188 |
XCalc*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 |
| 190 |
XCalc*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 |
| 192 |
XCalc*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 |
| 196 |
XCalc*hp.button10.background: SteelBlue |
| 197 |
XCalc*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 |
| 199 |
XCalc*hp.button20.background: SteelBlue |
| 200 |
XCalc*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 |
| 202 |
XCalc*hp.button30.background: SteelBlue |
| 203 |
XCalc*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 |
| 205 |
XCalc*hp.button38.background: SteelBlue |
| 206 |
XCalc*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 |
| 208 |
XCalc*hp.button39.background: SteelBlue |
| 209 |
XCalc*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" |
| 213 |
XCalc*hp.button7.background: white |
| 214 |
XCalc*hp.button7.foreground: black |
| 215 |
XCalc*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" |
| 217 |
XCalc*hp.button8.background: white |
| 218 |
XCalc*hp.button8.foreground: black |
| 219 |
XCalc*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" |
| 221 |
XCalc*hp.button9.background: white |
| 222 |
XCalc*hp.button9.foreground: black |
| 223 |
XCalc*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" |
| 225 |
XCalc*hp.button17.background: white |
| 226 |
XCalc*hp.button17.foreground: black |
| 227 |
XCalc*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" |
| 229 |
XCalc*hp.button18.background: white |
| 230 |
XCalc*hp.button18.foreground: black |
| 231 |
XCalc*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" |
| 233 |
XCalc*hp.button19.background: white |
| 234 |
XCalc*hp.button19.foreground: black |
| 235 |
XCalc*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" |
| 237 |
XCalc*hp.button27.background: white |
| 238 |
XCalc*hp.button27.foreground: black |
| 239 |
XCalc*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" |
| 241 |
XCalc*hp.button28.background: white |
| 242 |
XCalc*hp.button28.foreground: black |
| 243 |
XCalc*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" |
| 245 |
XCalc*hp.button29.background: white |
| 246 |
XCalc*hp.button29.foreground: black |
| 247 |
XCalc*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" |
| 249 |
XCalc*hp.button36.background: white |
| 250 |
XCalc*hp.button36.foreground: black |
| 251 |
XCalc*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 |
! "." |
| 253 |
XCalc*hp.button37.background: white |
| 254 |
XCalc*hp.button37.foreground: black |
| 255 |
XCalc*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 |