diff options
author | Mike Markowski <mm@udel.edu> | 2006-07-12 11:28:40 -0700 |
---|---|---|
committer | Alan Coopersmith <alanc@alf.(none)> | 2006-07-12 11:28:40 -0700 |
commit | b586f35824d7c3bc061ba96e82b48744041dac59 (patch) | |
tree | 8cc70ca2682e0148af290fa724068a81bcf733c0 | |
parent | 322a3bd493b99164925e852df5ffa8e1a650f496 (diff) |
Bug #4914: Add HP mode resources to XCalc-color app-defaults
X.Org bug #4914 <https://bugs.freedesktop.org/show_bug.cgi?id=4914>
Patch #3658 <https://bugs.freedesktop.org/attachment.cgi?id=3658>
-rw-r--r-- | XCalc-color.ad | 157 |
1 files changed, 140 insertions, 17 deletions
diff --git a/XCalc-color.ad b/XCalc-color.ad index 1335596..6b26604 100644 --- a/XCalc-color.ad +++ b/XCalc-color.ad @@ -1,23 +1,25 @@ #include "XCalc" XCalc*ti.backgroundPixmap: gray3?foreground=gray70&background=gray85 -XCalc*ti.bevel.background: gray80 -XCalc*ti.bevel.displayList: foreground gray90;lines -1,0,0,0,0,-1;lines 3,-4,-4,-4,-4,3 - -XCalc*ti.bevel.borderColor: gray60 -XCalc*ti.bevel.borderWidth: 1 -XCalc*ti.bevel.vertDistance: 4 -XCalc*ti.bevel.defaultDistance: 4 -XCalc*ti.bevel.screen.vertDistance: 4 -XCalc*ti.bevel.screen.horizDistance: 4 -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*background: rgb:9/a/9 -XCalc*ti.bevel.screen.borderColor: gray50 -XCalc*ti.bevel.screen*LCD.foreground: gray20 -XCalc*ti.bevel.screen*INV.vertDistance: 2 +XCalc*.bevel.background: gray80 +XCalc*.bevel.displayList: foreground gray90;lines -1,0,0,0,0,-1;lines 3,-4,-4,-4,-4,3 + +XCalc*.bevel.borderColor: gray60 +XCalc*.bevel.borderWidth: 1 +XCalc*.bevel.vertDistance: 4 +XCalc*.bevel.defaultDistance: 4 +XCalc*.bevel.screen.vertDistance: 4 +XCalc*.bevel.screen.horizDistance: 4 +XCalc*.bevel.screen*left: chainLeft +XCalc*.bevel.screen*right: chainRight +XCalc*.bevel.screen*top: chainTop +XCalc*.bevel.screen*bottom: chainBottom +XCalc*.bevel.screen*background: rgb:9/a/9 +XCalc*.bevel.screen.borderColor: gray50 +XCalc*.bevel.screen*LCD.foreground: gray20 +XCalc*.bevel.screen*INV.vertDistance: 2 + +! T e x a s I n s t r u m e n t s T I - 3 0 XCalc*ti.Command.shapeStyle: roundedRectangle 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 @@ -100,3 +102,124 @@ XCalc*ti.button38.borderColor: gray65 XCalc*ti.button39.background: gray95 XCalc*ti.button39.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90 XCalc*ti.button39.borderColor: gray65 + +! H e w l e t t - P a c k a r d 1 0 C + +XCalc*hp.Command.shapeStyle: roundedRectangle +XCalc*hp.background: wheat + +XCalc*hp.Command.background: peru +XCalc*hp.Command.foreground: white + +! Unused buttons. (Make invisible.) +XCalc*hp.button21.background: wheat +XCalc*hp.button22.background: wheat + +! ON button +XCalc*hp.button31.background: goldenrod +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 +!XCalc*hp.button31.foreground: white + +! SQRT +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 +! e^x +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 +! 10^x +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 +! y^x +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 +! 1/c +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 +! CHS +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 +! x! +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 +! pi +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 +! sin +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 +! cos +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 +! tan +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 +! EEX +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 +! Rv +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 +! x:y +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 +! <- +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 +! ENTER +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 +! DRG +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 +! INV +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 +! STO +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 +!RCL +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 + +! "Operator" keys. +! Divide key +XCalc*hp.button10.background: SteelBlue +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 +! Multiply key +XCalc*hp.button20.background: SteelBlue +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 +! Minus key +XCalc*hp.button30.background: SteelBlue +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 +! SUM +XCalc*hp.button38.background: SteelBlue +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 +! Plus key +XCalc*hp.button39.background: SteelBlue +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 + +! "Number" keys. +! "7" +XCalc*hp.button7.background: white +XCalc*hp.button7.foreground: black +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 +! "8" +XCalc*hp.button8.background: white +XCalc*hp.button8.foreground: black +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 +! "9" +XCalc*hp.button9.background: white +XCalc*hp.button9.foreground: black +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 +! "4" +XCalc*hp.button17.background: white +XCalc*hp.button17.foreground: black +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 +! "5" +XCalc*hp.button18.background: white +XCalc*hp.button18.foreground: black +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 +! "6" +XCalc*hp.button19.background: white +XCalc*hp.button19.foreground: black +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 +! "1" +XCalc*hp.button27.background: white +XCalc*hp.button27.foreground: black +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 +! "2" +XCalc*hp.button28.background: white +XCalc*hp.button28.foreground: black +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 +! "3" +XCalc*hp.button29.background: white +XCalc*hp.button29.foreground: black +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 +! "0" +XCalc*hp.button36.background: white +XCalc*hp.button36.foreground: black +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 +! "." +XCalc*hp.button37.background: white +XCalc*hp.button37.foreground: black +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 |