diff options
| author | Adrian Robert | 2008-08-01 11:48:29 +0000 |
|---|---|---|
| committer | Adrian Robert | 2008-08-01 11:48:29 +0000 |
| commit | 7ded3383490c55c98d56b86eae1a3ce78b82aa6a (patch) | |
| tree | 875c8c0d6bf19047cc9e286a652b5ffd1fa11ebe | |
| parent | bfe162634bea9e1216347a920fa5885366e427af (diff) | |
| download | emacs-7ded3383490c55c98d56b86eae1a3ce78b82aa6a.tar.gz emacs-7ded3383490c55c98d56b86eae1a3ce78b82aa6a.zip | |
NS port now uses etc/rgb.txt instead of etc/Emacs.clr (now removed); function Fw32_load_color_file moved to xfaces x_load_color_file
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/Emacs.clr | 758 | ||||
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/nsterm.m | 66 | ||||
| -rw-r--r-- | src/w32fns.c | 50 | ||||
| -rw-r--r-- | src/xfaces.c | 53 |
6 files changed, 102 insertions, 839 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 0b575d7c851..c18a590d87f 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 2 | |||
| 3 | * Emacs.clr: Remove. | ||
| 4 | |||
| 1 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | * termcap.src: Remove file. | 7 | * termcap.src: Remove file. |
diff --git a/etc/Emacs.clr b/etc/Emacs.clr deleted file mode 100644 index a1461d72956..00000000000 --- a/etc/Emacs.clr +++ /dev/null | |||
| @@ -1,758 +0,0 @@ | |||
| 1 | 757 | ||
| 2 | 0 1.000 0.980 0.980 1.0 snow | ||
| 3 | 0 0.973 0.973 1.000 1.0 ghost white | ||
| 4 | 0 0.973 0.973 1.000 1.0 GhostWhite | ||
| 5 | 0 0.961 0.961 0.961 1.0 white smoke | ||
| 6 | 0 0.961 0.961 0.961 1.0 WhiteSmoke | ||
| 7 | 0 0.863 0.863 0.863 1.0 gainsboro | ||
| 8 | 0 1.000 0.980 0.941 1.0 floral white | ||
| 9 | 0 1.000 0.980 0.941 1.0 FloralWhite | ||
| 10 | 0 0.992 0.961 0.902 1.0 old lace | ||
| 11 | 0 0.992 0.961 0.902 1.0 OldLace | ||
| 12 | 0 0.980 0.941 0.902 1.0 linen | ||
| 13 | 0 0.980 0.922 0.843 1.0 antique white | ||
| 14 | 0 0.980 0.922 0.843 1.0 AntiqueWhite | ||
| 15 | 0 1.000 0.937 0.835 1.0 papaya whip | ||
| 16 | 0 1.000 0.937 0.835 1.0 PapayaWhip | ||
| 17 | 0 1.000 0.922 0.804 1.0 blanched almond | ||
| 18 | 0 1.000 0.922 0.804 1.0 BlanchedAlmond | ||
| 19 | 0 1.000 0.894 0.769 1.0 bisque | ||
| 20 | 0 1.000 0.855 0.725 1.0 peach puff | ||
| 21 | 0 1.000 0.855 0.725 1.0 PeachPuff | ||
| 22 | 0 1.000 0.871 0.678 1.0 navajo white | ||
| 23 | 0 1.000 0.871 0.678 1.0 NavajoWhite | ||
| 24 | 0 1.000 0.894 0.710 1.0 moccasin | ||
| 25 | 0 1.000 0.973 0.863 1.0 cornsilk | ||
| 26 | 0 1.000 1.000 0.941 1.0 ivory | ||
| 27 | 0 1.000 0.980 0.804 1.0 lemon chiffon | ||
| 28 | 0 1.000 0.980 0.804 1.0 LemonChiffon | ||
| 29 | 0 1.000 0.961 0.933 1.0 seashell | ||
| 30 | 0 0.941 1.000 0.941 1.0 honeydew | ||
| 31 | 0 0.961 1.000 0.980 1.0 mint cream | ||
| 32 | 0 0.961 1.000 0.980 1.0 MintCream | ||
| 33 | 0 0.941 1.000 1.000 1.0 azure | ||
| 34 | 0 0.941 0.973 1.000 1.0 alice blue | ||
| 35 | 0 0.941 0.973 1.000 1.0 AliceBlue | ||
| 36 | 0 0.902 0.902 0.980 1.0 lavender | ||
| 37 | 0 1.000 0.941 0.961 1.0 lavender blush | ||
| 38 | 0 1.000 0.941 0.961 1.0 LavenderBlush | ||
| 39 | 0 1.000 0.894 0.882 1.0 misty rose | ||
| 40 | 0 1.000 0.894 0.882 1.0 MistyRose | ||
| 41 | 0 1.000 1.000 1.000 1.0 white | ||
| 42 | 0 0.000 0.000 0.000 1.0 black | ||
| 43 | 0 0.184 0.310 0.310 1.0 dark slate gray | ||
| 44 | 0 0.184 0.310 0.310 1.0 DarkSlateGray | ||
| 45 | 0 0.184 0.310 0.310 1.0 dark slate grey | ||
| 46 | 0 0.184 0.310 0.310 1.0 DarkSlateGrey | ||
| 47 | 0 0.412 0.412 0.412 1.0 dim gray | ||
| 48 | 0 0.412 0.412 0.412 1.0 DimGray | ||
| 49 | 0 0.412 0.412 0.412 1.0 dim grey | ||
| 50 | 0 0.412 0.412 0.412 1.0 DimGrey | ||
| 51 | 0 0.439 0.502 0.565 1.0 slate gray | ||
| 52 | 0 0.439 0.502 0.565 1.0 SlateGray | ||
| 53 | 0 0.439 0.502 0.565 1.0 slate grey | ||
| 54 | 0 0.439 0.502 0.565 1.0 SlateGrey | ||
| 55 | 0 0.467 0.533 0.600 1.0 light slate gray | ||
| 56 | 0 0.467 0.533 0.600 1.0 LightSlateGray | ||
| 57 | 0 0.467 0.533 0.600 1.0 light slate grey | ||
| 58 | 0 0.467 0.533 0.600 1.0 LightSlateGrey | ||
| 59 | 0 0.745 0.745 0.745 1.0 gray | ||
| 60 | 0 0.745 0.745 0.745 1.0 grey | ||
| 61 | 0 0.827 0.827 0.827 1.0 light grey | ||
| 62 | 0 0.827 0.827 0.827 1.0 LightGrey | ||
| 63 | 0 0.827 0.827 0.827 1.0 light gray | ||
| 64 | 0 0.827 0.827 0.827 1.0 LightGray | ||
| 65 | 0 0.098 0.098 0.439 1.0 midnight blue | ||
| 66 | 0 0.098 0.098 0.439 1.0 MidnightBlue | ||
| 67 | 0 0.000 0.000 0.502 1.0 navy | ||
| 68 | 0 0.000 0.000 0.502 1.0 navy blue | ||
| 69 | 0 0.000 0.000 0.502 1.0 NavyBlue | ||
| 70 | 0 0.392 0.584 0.929 1.0 cornflower blue | ||
| 71 | 0 0.392 0.584 0.929 1.0 CornflowerBlue | ||
| 72 | 0 0.282 0.239 0.545 1.0 dark slate blue | ||
| 73 | 0 0.282 0.239 0.545 1.0 DarkSlateBlue | ||
| 74 | 0 0.416 0.353 0.804 1.0 slate blue | ||
| 75 | 0 0.416 0.353 0.804 1.0 SlateBlue | ||
| 76 | 0 0.482 0.408 0.933 1.0 medium slate blue | ||
| 77 | 0 0.482 0.408 0.933 1.0 MediumSlateBlue | ||
| 78 | 0 0.518 0.439 1.000 1.0 light slate blue | ||
| 79 | 0 0.518 0.439 1.000 1.0 LightSlateBlue | ||
| 80 | 0 0.000 0.000 0.804 1.0 medium blue | ||
| 81 | 0 0.000 0.000 0.804 1.0 MediumBlue | ||
| 82 | 0 0.255 0.412 0.882 1.0 royal blue | ||
| 83 | 0 0.255 0.412 0.882 1.0 RoyalBlue | ||
| 84 | 0 0.000 0.000 1.000 1.0 blue | ||
| 85 | 0 0.118 0.565 1.000 1.0 dodger blue | ||
| 86 | 0 0.118 0.565 1.000 1.0 DodgerBlue | ||
| 87 | 0 0.000 0.749 1.000 1.0 deep sky blue | ||
| 88 | 0 0.000 0.749 1.000 1.0 DeepSkyBlue | ||
| 89 | 0 0.529 0.808 0.922 1.0 sky blue | ||
| 90 | 0 0.529 0.808 0.922 1.0 SkyBlue | ||
| 91 | 0 0.529 0.808 0.980 1.0 light sky blue | ||
| 92 | 0 0.529 0.808 0.980 1.0 LightSkyBlue | ||
| 93 | 0 0.275 0.510 0.706 1.0 steel blue | ||
| 94 | 0 0.275 0.510 0.706 1.0 SteelBlue | ||
| 95 | 0 0.690 0.769 0.871 1.0 light steel blue | ||
| 96 | 0 0.690 0.769 0.871 1.0 LightSteelBlue | ||
| 97 | 0 0.678 0.847 0.902 1.0 light blue | ||
| 98 | 0 0.678 0.847 0.902 1.0 LightBlue | ||
| 99 | 0 0.690 0.878 0.902 1.0 powder blue | ||
| 100 | 0 0.690 0.878 0.902 1.0 PowderBlue | ||
| 101 | 0 0.686 0.933 0.933 1.0 pale turquoise | ||
| 102 | 0 0.686 0.933 0.933 1.0 PaleTurquoise | ||
| 103 | 0 0.000 0.808 0.820 1.0 dark turquoise | ||
| 104 | 0 0.000 0.808 0.820 1.0 DarkTurquoise | ||
| 105 | 0 0.282 0.820 0.800 1.0 medium turquoise | ||
| 106 | 0 0.282 0.820 0.800 1.0 MediumTurquoise | ||
| 107 | 0 0.251 0.878 0.816 1.0 turquoise | ||
| 108 | 0 0.000 1.000 1.000 1.0 cyan | ||
| 109 | 0 0.878 1.000 1.000 1.0 light cyan | ||
| 110 | 0 0.878 1.000 1.000 1.0 LightCyan | ||
| 111 | 0 0.373 0.620 0.627 1.0 cadet blue | ||
| 112 | 0 0.373 0.620 0.627 1.0 CadetBlue | ||
| 113 | 0 0.400 0.804 0.667 1.0 medium aquamarine | ||
| 114 | 0 0.400 0.804 0.667 1.0 MediumAquamarine | ||
| 115 | 0 0.498 1.000 0.831 1.0 aquamarine | ||
| 116 | 0 0.000 0.392 0.000 1.0 dark green | ||
| 117 | 0 0.000 0.392 0.000 1.0 DarkGreen | ||
| 118 | 0 0.333 0.420 0.184 1.0 dark olive green | ||
| 119 | 0 0.333 0.420 0.184 1.0 DarkOliveGreen | ||
| 120 | 0 0.561 0.737 0.561 1.0 dark sea green | ||
| 121 | 0 0.561 0.737 0.561 1.0 DarkSeaGreen | ||
| 122 | 0 0.180 0.545 0.341 1.0 sea green | ||
| 123 | 0 0.180 0.545 0.341 1.0 SeaGreen | ||
| 124 | 0 0.235 0.702 0.443 1.0 medium sea green | ||
| 125 | 0 0.235 0.702 0.443 1.0 MediumSeaGreen | ||
| 126 | 0 0.125 0.698 0.667 1.0 light sea green | ||
| 127 | 0 0.125 0.698 0.667 1.0 LightSeaGreen | ||
| 128 | 0 0.596 0.984 0.596 1.0 pale green | ||
| 129 | 0 0.596 0.984 0.596 1.0 PaleGreen | ||
| 130 | 0 0.000 1.000 0.498 1.0 spring green | ||
| 131 | 0 0.000 1.000 0.498 1.0 SpringGreen | ||
| 132 | 0 0.486 0.988 0.000 1.0 lawn green | ||
| 133 | 0 0.486 0.988 0.000 1.0 LawnGreen | ||
| 134 | 0 0.000 1.000 0.000 1.0 green | ||
| 135 | 0 0.498 1.000 0.000 1.0 chartreuse | ||
| 136 | 0 0.000 0.980 0.604 1.0 medium spring green | ||
| 137 | 0 0.000 0.980 0.604 1.0 MediumSpringGreen | ||
| 138 | 0 0.678 1.000 0.184 1.0 green yellow | ||
| 139 | 0 0.678 1.000 0.184 1.0 GreenYellow | ||
| 140 | 0 0.196 0.804 0.196 1.0 lime green | ||
| 141 | 0 0.196 0.804 0.196 1.0 LimeGreen | ||
| 142 | 0 0.604 0.804 0.196 1.0 yellow green | ||
| 143 | 0 0.604 0.804 0.196 1.0 YellowGreen | ||
| 144 | 0 0.133 0.545 0.133 1.0 forest green | ||
| 145 | 0 0.133 0.545 0.133 1.0 ForestGreen | ||
| 146 | 0 0.420 0.557 0.137 1.0 olive drab | ||
| 147 | 0 0.420 0.557 0.137 1.0 OliveDrab | ||
| 148 | 0 0.741 0.718 0.420 1.0 dark khaki | ||
| 149 | 0 0.741 0.718 0.420 1.0 DarkKhaki | ||
| 150 | 0 0.941 0.902 0.549 1.0 khaki | ||
| 151 | 0 0.933 0.910 0.667 1.0 pale goldenrod | ||
| 152 | 0 0.933 0.910 0.667 1.0 PaleGoldenrod | ||
| 153 | 0 0.980 0.980 0.824 1.0 light goldenrod yellow | ||
| 154 | 0 0.980 0.980 0.824 1.0 LightGoldenrodYellow | ||
| 155 | 0 1.000 1.000 0.878 1.0 light yellow | ||
| 156 | 0 1.000 1.000 0.878 1.0 LightYellow | ||
| 157 | 0 1.000 1.000 0.000 1.0 yellow | ||
| 158 | 0 1.000 0.843 0.000 1.0 gold | ||
| 159 | 0 0.933 0.867 0.510 1.0 light goldenrod | ||
| 160 | 0 0.933 0.867 0.510 1.0 LightGoldenrod | ||
| 161 | 0 0.855 0.647 0.125 1.0 goldenrod | ||
| 162 | 0 0.722 0.525 0.043 1.0 dark goldenrod | ||
| 163 | 0 0.722 0.525 0.043 1.0 DarkGoldenrod | ||
| 164 | 0 0.737 0.561 0.561 1.0 rosy brown | ||
| 165 | 0 0.737 0.561 0.561 1.0 RosyBrown | ||
| 166 | 0 0.804 0.361 0.361 1.0 indian red | ||
| 167 | 0 0.804 0.361 0.361 1.0 IndianRed | ||
| 168 | 0 0.545 0.271 0.075 1.0 saddle brown | ||
| 169 | 0 0.545 0.271 0.075 1.0 SaddleBrown | ||
| 170 | 0 0.627 0.322 0.176 1.0 sienna | ||
| 171 | 0 0.804 0.522 0.247 1.0 peru | ||
| 172 | 0 0.871 0.722 0.529 1.0 burlywood | ||
| 173 | 0 0.961 0.961 0.863 1.0 beige | ||
| 174 | 0 0.961 0.871 0.702 1.0 wheat | ||
| 175 | 0 0.957 0.643 0.376 1.0 sandy brown | ||
| 176 | 0 0.957 0.643 0.376 1.0 SandyBrown | ||
| 177 | 0 0.824 0.706 0.549 1.0 tan | ||
| 178 | 0 0.824 0.412 0.118 1.0 chocolate | ||
| 179 | 0 0.698 0.133 0.133 1.0 firebrick | ||
| 180 | 0 0.647 0.165 0.165 1.0 brown | ||
| 181 | 0 0.914 0.588 0.478 1.0 dark salmon | ||
| 182 | 0 0.914 0.588 0.478 1.0 DarkSalmon | ||
| 183 | 0 0.980 0.502 0.447 1.0 salmon | ||
| 184 | 0 1.000 0.627 0.478 1.0 light salmon | ||
| 185 | 0 1.000 0.627 0.478 1.0 LightSalmon | ||
| 186 | 0 1.000 0.647 0.000 1.0 orange | ||
| 187 | 0 1.000 0.549 0.000 1.0 dark orange | ||
| 188 | 0 1.000 0.549 0.000 1.0 DarkOrange | ||
| 189 | 0 1.000 0.498 0.314 1.0 coral | ||
| 190 | 0 0.941 0.502 0.502 1.0 light coral | ||
| 191 | 0 0.941 0.502 0.502 1.0 LightCoral | ||
| 192 | 0 1.000 0.388 0.278 1.0 tomato | ||
| 193 | 0 1.000 0.271 0.000 1.0 orange red | ||
| 194 | 0 1.000 0.271 0.000 1.0 OrangeRed | ||
| 195 | 0 1.000 0.000 0.000 1.0 red | ||
| 196 | 0 1.000 0.412 0.706 1.0 hot pink | ||
| 197 | 0 1.000 0.412 0.706 1.0 HotPink | ||
| 198 | 0 1.000 0.078 0.576 1.0 deep pink | ||
| 199 | 0 1.000 0.078 0.576 1.0 DeepPink | ||
| 200 | 0 1.000 0.753 0.796 1.0 pink | ||
| 201 | 0 1.000 0.714 0.757 1.0 light pink | ||
| 202 | 0 1.000 0.714 0.757 1.0 LightPink | ||
| 203 | 0 0.859 0.439 0.576 1.0 pale violet red | ||
| 204 | 0 0.859 0.439 0.576 1.0 PaleVioletRed | ||
| 205 | 0 0.690 0.188 0.376 1.0 maroon | ||
| 206 | 0 0.780 0.082 0.522 1.0 medium violet red | ||
| 207 | 0 0.780 0.082 0.522 1.0 MediumVioletRed | ||
| 208 | 0 0.816 0.125 0.565 1.0 violet red | ||
| 209 | 0 0.816 0.125 0.565 1.0 VioletRed | ||
| 210 | 0 1.000 0.000 1.000 1.0 magenta | ||
| 211 | 0 0.933 0.510 0.933 1.0 violet | ||
| 212 | 0 0.867 0.627 0.867 1.0 plum | ||
| 213 | 0 0.855 0.439 0.839 1.0 orchid | ||
| 214 | 0 0.729 0.333 0.827 1.0 medium orchid | ||
| 215 | 0 0.729 0.333 0.827 1.0 MediumOrchid | ||
| 216 | 0 0.600 0.196 0.800 1.0 dark orchid | ||
| 217 | 0 0.600 0.196 0.800 1.0 DarkOrchid | ||
| 218 | 0 0.580 0.000 0.827 1.0 dark violet | ||
| 219 | 0 0.580 0.000 0.827 1.0 DarkViolet | ||
| 220 | 0 0.541 0.169 0.886 1.0 blue violet | ||
| 221 | 0 0.541 0.169 0.886 1.0 BlueViolet | ||
| 222 | 0 0.627 0.125 0.941 1.0 purple | ||
| 223 | 0 0.576 0.439 0.859 1.0 medium purple | ||
| 224 | 0 0.576 0.439 0.859 1.0 MediumPurple | ||
| 225 | 0 0.847 0.749 0.847 1.0 thistle | ||
| 226 | 0 1.000 0.980 0.980 1.0 snow1 | ||
| 227 | 0 0.933 0.914 0.914 1.0 snow2 | ||
| 228 | 0 0.804 0.788 0.788 1.0 snow3 | ||
| 229 | 0 0.545 0.537 0.537 1.0 snow4 | ||
| 230 | 0 1.000 0.961 0.933 1.0 seashell1 | ||
| 231 | 0 0.933 0.898 0.871 1.0 seashell2 | ||
| 232 | 0 0.804 0.773 0.749 1.0 seashell3 | ||
| 233 | 0 0.545 0.525 0.510 1.0 seashell4 | ||
| 234 | 0 1.000 0.937 0.859 1.0 AntiqueWhite1 | ||
| 235 | 0 0.933 0.875 0.800 1.0 AntiqueWhite2 | ||
| 236 | 0 0.804 0.753 0.690 1.0 AntiqueWhite3 | ||
| 237 | 0 0.545 0.514 0.471 1.0 AntiqueWhite4 | ||
| 238 | 0 1.000 0.894 0.769 1.0 bisque1 | ||
| 239 | 0 0.933 0.835 0.718 1.0 bisque2 | ||
| 240 | 0 0.804 0.718 0.620 1.0 bisque3 | ||
| 241 | 0 0.545 0.490 0.420 1.0 bisque4 | ||
| 242 | 0 1.000 0.855 0.725 1.0 PeachPuff1 | ||
| 243 | 0 0.933 0.796 0.678 1.0 PeachPuff2 | ||
| 244 | 0 0.804 0.686 0.584 1.0 PeachPuff3 | ||
| 245 | 0 0.545 0.467 0.396 1.0 PeachPuff4 | ||
| 246 | 0 1.000 0.871 0.678 1.0 NavajoWhite1 | ||
| 247 | 0 0.933 0.812 0.631 1.0 NavajoWhite2 | ||
| 248 | 0 0.804 0.702 0.545 1.0 NavajoWhite3 | ||
| 249 | 0 0.545 0.475 0.369 1.0 NavajoWhite4 | ||
| 250 | 0 1.000 0.980 0.804 1.0 LemonChiffon1 | ||
| 251 | 0 0.933 0.914 0.749 1.0 LemonChiffon2 | ||
| 252 | 0 0.804 0.788 0.647 1.0 LemonChiffon3 | ||
| 253 | 0 0.545 0.537 0.439 1.0 LemonChiffon4 | ||
| 254 | 0 1.000 0.973 0.863 1.0 cornsilk1 | ||
| 255 | 0 0.933 0.910 0.804 1.0 cornsilk2 | ||
| 256 | 0 0.804 0.784 0.694 1.0 cornsilk3 | ||
| 257 | 0 0.545 0.533 0.471 1.0 cornsilk4 | ||
| 258 | 0 1.000 1.000 0.941 1.0 ivory1 | ||
| 259 | 0 0.933 0.933 0.878 1.0 ivory2 | ||
| 260 | 0 0.804 0.804 0.757 1.0 ivory3 | ||
| 261 | 0 0.545 0.545 0.514 1.0 ivory4 | ||
| 262 | 0 0.941 1.000 0.941 1.0 honeydew1 | ||
| 263 | 0 0.878 0.933 0.878 1.0 honeydew2 | ||
| 264 | 0 0.757 0.804 0.757 1.0 honeydew3 | ||
| 265 | 0 0.514 0.545 0.514 1.0 honeydew4 | ||
| 266 | 0 1.000 0.941 0.961 1.0 LavenderBlush1 | ||
| 267 | 0 0.933 0.878 0.898 1.0 LavenderBlush2 | ||
| 268 | 0 0.804 0.757 0.773 1.0 LavenderBlush3 | ||
| 269 | 0 0.545 0.514 0.525 1.0 LavenderBlush4 | ||
| 270 | 0 1.000 0.894 0.882 1.0 MistyRose1 | ||
| 271 | 0 0.933 0.835 0.824 1.0 MistyRose2 | ||
| 272 | 0 0.804 0.718 0.710 1.0 MistyRose3 | ||
| 273 | 0 0.545 0.490 0.482 1.0 MistyRose4 | ||
| 274 | 0 0.941 1.000 1.000 1.0 azure1 | ||
| 275 | 0 0.878 0.933 0.933 1.0 azure2 | ||
| 276 | 0 0.757 0.804 0.804 1.0 azure3 | ||
| 277 | 0 0.514 0.545 0.545 1.0 azure4 | ||
| 278 | 0 0.514 0.435 1.000 1.0 SlateBlue1 | ||
| 279 | 0 0.478 0.404 0.933 1.0 SlateBlue2 | ||
| 280 | 0 0.412 0.349 0.804 1.0 SlateBlue3 | ||
| 281 | 0 0.278 0.235 0.545 1.0 SlateBlue4 | ||
| 282 | 0 0.282 0.463 1.000 1.0 RoyalBlue1 | ||
| 283 | 0 0.263 0.431 0.933 1.0 RoyalBlue2 | ||
| 284 | 0 0.227 0.373 0.804 1.0 RoyalBlue3 | ||
| 285 | 0 0.153 0.251 0.545 1.0 RoyalBlue4 | ||
| 286 | 0 0.000 0.000 1.000 1.0 blue1 | ||
| 287 | 0 0.000 0.000 0.933 1.0 blue2 | ||
| 288 | 0 0.000 0.000 0.804 1.0 blue3 | ||
| 289 | 0 0.000 0.000 0.545 1.0 blue4 | ||
| 290 | 0 0.118 0.565 1.000 1.0 DodgerBlue1 | ||
| 291 | 0 0.110 0.525 0.933 1.0 DodgerBlue2 | ||
| 292 | 0 0.094 0.455 0.804 1.0 DodgerBlue3 | ||
| 293 | 0 0.063 0.306 0.545 1.0 DodgerBlue4 | ||
| 294 | 0 0.388 0.722 1.000 1.0 SteelBlue1 | ||
| 295 | 0 0.361 0.675 0.933 1.0 SteelBlue2 | ||
| 296 | 0 0.310 0.580 0.804 1.0 SteelBlue3 | ||
| 297 | 0 0.212 0.392 0.545 1.0 SteelBlue4 | ||
| 298 | 0 0.000 0.749 1.000 1.0 DeepSkyBlue1 | ||
| 299 | 0 0.000 0.698 0.933 1.0 DeepSkyBlue2 | ||
| 300 | 0 0.000 0.604 0.804 1.0 DeepSkyBlue3 | ||
| 301 | 0 0.000 0.408 0.545 1.0 DeepSkyBlue4 | ||
| 302 | 0 0.529 0.808 1.000 1.0 SkyBlue1 | ||
| 303 | 0 0.494 0.753 0.933 1.0 SkyBlue2 | ||
| 304 | 0 0.424 0.651 0.804 1.0 SkyBlue3 | ||
| 305 | 0 0.290 0.439 0.545 1.0 SkyBlue4 | ||
| 306 | 0 0.690 0.886 1.000 1.0 LightSkyBlue1 | ||
| 307 | 0 0.643 0.827 0.933 1.0 LightSkyBlue2 | ||
| 308 | 0 0.553 0.714 0.804 1.0 LightSkyBlue3 | ||
| 309 | 0 0.376 0.482 0.545 1.0 LightSkyBlue4 | ||
| 310 | 0 0.776 0.886 1.000 1.0 SlateGray1 | ||
| 311 | 0 0.725 0.827 0.933 1.0 SlateGray2 | ||
| 312 | 0 0.624 0.714 0.804 1.0 SlateGray3 | ||
| 313 | 0 0.424 0.482 0.545 1.0 SlateGray4 | ||
| 314 | 0 0.792 0.882 1.000 1.0 LightSteelBlue1 | ||
| 315 | 0 0.737 0.824 0.933 1.0 LightSteelBlue2 | ||
| 316 | 0 0.635 0.710 0.804 1.0 LightSteelBlue3 | ||
| 317 | 0 0.431 0.482 0.545 1.0 LightSteelBlue4 | ||
| 318 | 0 0.749 0.937 1.000 1.0 LightBlue1 | ||
| 319 | 0 0.698 0.875 0.933 1.0 LightBlue2 | ||
| 320 | 0 0.604 0.753 0.804 1.0 LightBlue3 | ||
| 321 | 0 0.408 0.514 0.545 1.0 LightBlue4 | ||
| 322 | 0 0.878 1.000 1.000 1.0 LightCyan1 | ||
| 323 | 0 0.820 0.933 0.933 1.0 LightCyan2 | ||
| 324 | 0 0.706 0.804 0.804 1.0 LightCyan3 | ||
| 325 | 0 0.478 0.545 0.545 1.0 LightCyan4 | ||
| 326 | 0 0.733 1.000 1.000 1.0 PaleTurquoise1 | ||
| 327 | 0 0.682 0.933 0.933 1.0 PaleTurquoise2 | ||
| 328 | 0 0.588 0.804 0.804 1.0 PaleTurquoise3 | ||
| 329 | 0 0.400 0.545 0.545 1.0 PaleTurquoise4 | ||
| 330 | 0 0.596 0.961 1.000 1.0 CadetBlue1 | ||
| 331 | 0 0.557 0.898 0.933 1.0 CadetBlue2 | ||
| 332 | 0 0.478 0.773 0.804 1.0 CadetBlue3 | ||
| 333 | 0 0.325 0.525 0.545 1.0 CadetBlue4 | ||
| 334 | 0 0.000 0.961 1.000 1.0 turquoise1 | ||
| 335 | 0 0.000 0.898 0.933 1.0 turquoise2 | ||
| 336 | 0 0.000 0.773 0.804 1.0 turquoise3 | ||
| 337 | 0 0.000 0.525 0.545 1.0 turquoise4 | ||
| 338 | 0 0.000 1.000 1.000 1.0 cyan1 | ||
| 339 | 0 0.000 0.933 0.933 1.0 cyan2 | ||
| 340 | 0 0.000 0.804 0.804 1.0 cyan3 | ||
| 341 | 0 0.000 0.545 0.545 1.0 cyan4 | ||
| 342 | 0 0.592 1.000 1.000 1.0 DarkSlateGray1 | ||
| 343 | 0 0.553 0.933 0.933 1.0 DarkSlateGray2 | ||
| 344 | 0 0.475 0.804 0.804 1.0 DarkSlateGray3 | ||
| 345 | 0 0.322 0.545 0.545 1.0 DarkSlateGray4 | ||
| 346 | 0 0.498 1.000 0.831 1.0 aquamarine1 | ||
| 347 | 0 0.463 0.933 0.776 1.0 aquamarine2 | ||
| 348 | 0 0.400 0.804 0.667 1.0 aquamarine3 | ||
| 349 | 0 0.271 0.545 0.455 1.0 aquamarine4 | ||
| 350 | 0 0.757 1.000 0.757 1.0 DarkSeaGreen1 | ||
| 351 | 0 0.706 0.933 0.706 1.0 DarkSeaGreen2 | ||
| 352 | 0 0.608 0.804 0.608 1.0 DarkSeaGreen3 | ||
| 353 | 0 0.412 0.545 0.412 1.0 DarkSeaGreen4 | ||
| 354 | 0 0.329 1.000 0.624 1.0 SeaGreen1 | ||
| 355 | 0 0.306 0.933 0.580 1.0 SeaGreen2 | ||
| 356 | 0 0.263 0.804 0.502 1.0 SeaGreen3 | ||
| 357 | 0 0.180 0.545 0.341 1.0 SeaGreen4 | ||
| 358 | 0 0.604 1.000 0.604 1.0 PaleGreen1 | ||
| 359 | 0 0.565 0.933 0.565 1.0 PaleGreen2 | ||
| 360 | 0 0.486 0.804 0.486 1.0 PaleGreen3 | ||
| 361 | 0 0.329 0.545 0.329 1.0 PaleGreen4 | ||
| 362 | 0 0.000 1.000 0.498 1.0 SpringGreen1 | ||
| 363 | 0 0.000 0.933 0.463 1.0 SpringGreen2 | ||
| 364 | 0 0.000 0.804 0.400 1.0 SpringGreen3 | ||
| 365 | 0 0.000 0.545 0.271 1.0 SpringGreen4 | ||
| 366 | 0 0.000 1.000 0.000 1.0 green1 | ||
| 367 | 0 0.000 0.933 0.000 1.0 green2 | ||
| 368 | 0 0.000 0.804 0.000 1.0 green3 | ||
| 369 | 0 0.000 0.545 0.000 1.0 green4 | ||
| 370 | 0 0.498 1.000 0.000 1.0 chartreuse1 | ||
| 371 | 0 0.463 0.933 0.000 1.0 chartreuse2 | ||
| 372 | 0 0.400 0.804 0.000 1.0 chartreuse3 | ||
| 373 | 0 0.271 0.545 0.000 1.0 chartreuse4 | ||
| 374 | 0 0.753 1.000 0.243 1.0 OliveDrab1 | ||
| 375 | 0 0.702 0.933 0.227 1.0 OliveDrab2 | ||
| 376 | 0 0.604 0.804 0.196 1.0 OliveDrab3 | ||
| 377 | 0 0.412 0.545 0.133 1.0 OliveDrab4 | ||
| 378 | 0 0.792 1.000 0.439 1.0 DarkOliveGreen1 | ||
| 379 | 0 0.737 0.933 0.408 1.0 DarkOliveGreen2 | ||
| 380 | 0 0.635 0.804 0.353 1.0 DarkOliveGreen3 | ||
| 381 | 0 0.431 0.545 0.239 1.0 DarkOliveGreen4 | ||
| 382 | 0 1.000 0.965 0.561 1.0 khaki1 | ||
| 383 | 0 0.933 0.902 0.522 1.0 khaki2 | ||
| 384 | 0 0.804 0.776 0.451 1.0 khaki3 | ||
| 385 | 0 0.545 0.525 0.306 1.0 khaki4 | ||
| 386 | 0 1.000 0.925 0.545 1.0 LightGoldenrod1 | ||
| 387 | 0 0.933 0.863 0.510 1.0 LightGoldenrod2 | ||
| 388 | 0 0.804 0.745 0.439 1.0 LightGoldenrod3 | ||
| 389 | 0 0.545 0.506 0.298 1.0 LightGoldenrod4 | ||
| 390 | 0 1.000 1.000 0.878 1.0 LightYellow1 | ||
| 391 | 0 0.933 0.933 0.820 1.0 LightYellow2 | ||
| 392 | 0 0.804 0.804 0.706 1.0 LightYellow3 | ||
| 393 | 0 0.545 0.545 0.478 1.0 LightYellow4 | ||
| 394 | 0 1.000 1.000 0.000 1.0 yellow1 | ||
| 395 | 0 0.933 0.933 0.000 1.0 yellow2 | ||
| 396 | 0 0.804 0.804 0.000 1.0 yellow3 | ||
| 397 | 0 0.545 0.545 0.000 1.0 yellow4 | ||
| 398 | 0 1.000 0.843 0.000 1.0 gold1 | ||
| 399 | 0 0.933 0.788 0.000 1.0 gold2 | ||
| 400 | 0 0.804 0.678 0.000 1.0 gold3 | ||
| 401 | 0 0.545 0.459 0.000 1.0 gold4 | ||
| 402 | 0 1.000 0.757 0.145 1.0 goldenrod1 | ||
| 403 | 0 0.933 0.706 0.133 1.0 goldenrod2 | ||
| 404 | 0 0.804 0.608 0.114 1.0 goldenrod3 | ||
| 405 | 0 0.545 0.412 0.078 1.0 goldenrod4 | ||
| 406 | 0 1.000 0.725 0.059 1.0 DarkGoldenrod1 | ||
| 407 | 0 0.933 0.678 0.055 1.0 DarkGoldenrod2 | ||
| 408 | 0 0.804 0.584 0.047 1.0 DarkGoldenrod3 | ||
| 409 | 0 0.545 0.396 0.031 1.0 DarkGoldenrod4 | ||
| 410 | 0 1.000 0.757 0.757 1.0 RosyBrown1 | ||
| 411 | 0 0.933 0.706 0.706 1.0 RosyBrown2 | ||
| 412 | 0 0.804 0.608 0.608 1.0 RosyBrown3 | ||
| 413 | 0 0.545 0.412 0.412 1.0 RosyBrown4 | ||
| 414 | 0 1.000 0.416 0.416 1.0 IndianRed1 | ||
| 415 | 0 0.933 0.388 0.388 1.0 IndianRed2 | ||
| 416 | 0 0.804 0.333 0.333 1.0 IndianRed3 | ||
| 417 | 0 0.545 0.227 0.227 1.0 IndianRed4 | ||
| 418 | 0 1.000 0.510 0.278 1.0 sienna1 | ||
| 419 | 0 0.933 0.475 0.259 1.0 sienna2 | ||
| 420 | 0 0.804 0.408 0.224 1.0 sienna3 | ||
| 421 | 0 0.545 0.278 0.149 1.0 sienna4 | ||
| 422 | 0 1.000 0.827 0.608 1.0 burlywood1 | ||
| 423 | 0 0.933 0.773 0.569 1.0 burlywood2 | ||
| 424 | 0 0.804 0.667 0.490 1.0 burlywood3 | ||
| 425 | 0 0.545 0.451 0.333 1.0 burlywood4 | ||
| 426 | 0 1.000 0.906 0.729 1.0 wheat1 | ||
| 427 | 0 0.933 0.847 0.682 1.0 wheat2 | ||
| 428 | 0 0.804 0.729 0.588 1.0 wheat3 | ||
| 429 | 0 0.545 0.494 0.400 1.0 wheat4 | ||
| 430 | 0 1.000 0.647 0.310 1.0 tan1 | ||
| 431 | 0 0.933 0.604 0.286 1.0 tan2 | ||
| 432 | 0 0.804 0.522 0.247 1.0 tan3 | ||
| 433 | 0 0.545 0.353 0.169 1.0 tan4 | ||
| 434 | 0 1.000 0.498 0.141 1.0 chocolate1 | ||
| 435 | 0 0.933 0.463 0.129 1.0 chocolate2 | ||
| 436 | 0 0.804 0.400 0.114 1.0 chocolate3 | ||
| 437 | 0 0.545 0.271 0.075 1.0 chocolate4 | ||
| 438 | 0 1.000 0.188 0.188 1.0 firebrick1 | ||
| 439 | 0 0.933 0.173 0.173 1.0 firebrick2 | ||
| 440 | 0 0.804 0.149 0.149 1.0 firebrick3 | ||
| 441 | 0 0.545 0.102 0.102 1.0 firebrick4 | ||
| 442 | 0 1.000 0.251 0.251 1.0 brown1 | ||
| 443 | 0 0.933 0.231 0.231 1.0 brown2 | ||
| 444 | 0 0.804 0.200 0.200 1.0 brown3 | ||
| 445 | 0 0.545 0.137 0.137 1.0 brown4 | ||
| 446 | 0 1.000 0.549 0.412 1.0 salmon1 | ||
| 447 | 0 0.933 0.510 0.384 1.0 salmon2 | ||
| 448 | 0 0.804 0.439 0.329 1.0 salmon3 | ||
| 449 | 0 0.545 0.298 0.224 1.0 salmon4 | ||
| 450 | 0 1.000 0.627 0.478 1.0 LightSalmon1 | ||
| 451 | 0 0.933 0.584 0.447 1.0 LightSalmon2 | ||
| 452 | 0 0.804 0.506 0.384 1.0 LightSalmon3 | ||
| 453 | 0 0.545 0.341 0.259 1.0 LightSalmon4 | ||
| 454 | 0 1.000 0.647 0.000 1.0 orange1 | ||
| 455 | 0 0.933 0.604 0.000 1.0 orange2 | ||
| 456 | 0 0.804 0.522 0.000 1.0 orange3 | ||
| 457 | 0 0.545 0.353 0.000 1.0 orange4 | ||
| 458 | 0 1.000 0.498 0.000 1.0 DarkOrange1 | ||
| 459 | 0 0.933 0.463 0.000 1.0 DarkOrange2 | ||
| 460 | 0 0.804 0.400 0.000 1.0 DarkOrange3 | ||
| 461 | 0 0.545 0.271 0.000 1.0 DarkOrange4 | ||
| 462 | 0 1.000 0.447 0.337 1.0 coral1 | ||
| 463 | 0 0.933 0.416 0.314 1.0 coral2 | ||
| 464 | 0 0.804 0.357 0.271 1.0 coral3 | ||
| 465 | 0 0.545 0.243 0.184 1.0 coral4 | ||
| 466 | 0 1.000 0.388 0.278 1.0 tomato1 | ||
| 467 | 0 0.933 0.361 0.259 1.0 tomato2 | ||
| 468 | 0 0.804 0.310 0.224 1.0 tomato3 | ||
| 469 | 0 0.545 0.212 0.149 1.0 tomato4 | ||
| 470 | 0 1.000 0.271 0.000 1.0 OrangeRed1 | ||
| 471 | 0 0.933 0.251 0.000 1.0 OrangeRed2 | ||
| 472 | 0 0.804 0.216 0.000 1.0 OrangeRed3 | ||
| 473 | 0 0.545 0.145 0.000 1.0 OrangeRed4 | ||
| 474 | 0 1.000 0.000 0.000 1.0 red1 | ||
| 475 | 0 0.933 0.000 0.000 1.0 red2 | ||
| 476 | 0 0.804 0.000 0.000 1.0 red3 | ||
| 477 | 0 0.545 0.000 0.000 1.0 red4 | ||
| 478 | 0 1.000 0.078 0.576 1.0 DeepPink1 | ||
| 479 | 0 0.933 0.071 0.537 1.0 DeepPink2 | ||
| 480 | 0 0.804 0.063 0.463 1.0 DeepPink3 | ||
| 481 | 0 0.545 0.039 0.314 1.0 DeepPink4 | ||
| 482 | 0 1.000 0.431 0.706 1.0 HotPink1 | ||
| 483 | 0 0.933 0.416 0.655 1.0 HotPink2 | ||
| 484 | 0 0.804 0.376 0.565 1.0 HotPink3 | ||
| 485 | 0 0.545 0.227 0.384 1.0 HotPink4 | ||
| 486 | 0 1.000 0.710 0.773 1.0 pink1 | ||
| 487 | 0 0.933 0.663 0.722 1.0 pink2 | ||
| 488 | 0 0.804 0.569 0.620 1.0 pink3 | ||
| 489 | 0 0.545 0.388 0.424 1.0 pink4 | ||
| 490 | 0 1.000 0.682 0.725 1.0 LightPink1 | ||
| 491 | 0 0.933 0.635 0.678 1.0 LightPink2 | ||
| 492 | 0 0.804 0.549 0.584 1.0 LightPink3 | ||
| 493 | 0 0.545 0.373 0.396 1.0 LightPink4 | ||
| 494 | 0 1.000 0.510 0.671 1.0 PaleVioletRed1 | ||
| 495 | 0 0.933 0.475 0.624 1.0 PaleVioletRed2 | ||
| 496 | 0 0.804 0.408 0.537 1.0 PaleVioletRed3 | ||
| 497 | 0 0.545 0.278 0.365 1.0 PaleVioletRed4 | ||
| 498 | 0 1.000 0.204 0.702 1.0 maroon1 | ||
| 499 | 0 0.933 0.188 0.655 1.0 maroon2 | ||
| 500 | 0 0.804 0.161 0.565 1.0 maroon3 | ||
| 501 | 0 0.545 0.110 0.384 1.0 maroon4 | ||
| 502 | 0 1.000 0.243 0.588 1.0 VioletRed1 | ||
| 503 | 0 0.933 0.227 0.549 1.0 VioletRed2 | ||
| 504 | 0 0.804 0.196 0.471 1.0 VioletRed3 | ||
| 505 | 0 0.545 0.133 0.322 1.0 VioletRed4 | ||
| 506 | 0 1.000 0.000 1.000 1.0 magenta1 | ||
| 507 | 0 0.933 0.000 0.933 1.0 magenta2 | ||
| 508 | 0 0.804 0.000 0.804 1.0 magenta3 | ||
| 509 | 0 0.545 0.000 0.545 1.0 magenta4 | ||
| 510 | 0 1.000 0.514 0.980 1.0 orchid1 | ||
| 511 | 0 0.933 0.478 0.914 1.0 orchid2 | ||
| 512 | 0 0.804 0.412 0.788 1.0 orchid3 | ||
| 513 | 0 0.545 0.278 0.537 1.0 orchid4 | ||
| 514 | 0 1.000 0.733 1.000 1.0 plum1 | ||
| 515 | 0 0.933 0.682 0.933 1.0 plum2 | ||
| 516 | 0 0.804 0.588 0.804 1.0 plum3 | ||
| 517 | 0 0.545 0.400 0.545 1.0 plum4 | ||
| 518 | 0 0.878 0.400 1.000 1.0 MediumOrchid1 | ||
| 519 | 0 0.820 0.373 0.933 1.0 MediumOrchid2 | ||
| 520 | 0 0.706 0.322 0.804 1.0 MediumOrchid3 | ||
| 521 | 0 0.478 0.216 0.545 1.0 MediumOrchid4 | ||
| 522 | 0 0.749 0.243 1.000 1.0 DarkOrchid1 | ||
| 523 | 0 0.698 0.227 0.933 1.0 DarkOrchid2 | ||
| 524 | 0 0.604 0.196 0.804 1.0 DarkOrchid3 | ||
| 525 | 0 0.408 0.133 0.545 1.0 DarkOrchid4 | ||
| 526 | 0 0.608 0.188 1.000 1.0 purple1 | ||
| 527 | 0 0.569 0.173 0.933 1.0 purple2 | ||
| 528 | 0 0.490 0.149 0.804 1.0 purple3 | ||
| 529 | 0 0.333 0.102 0.545 1.0 purple4 | ||
| 530 | 0 0.671 0.510 1.000 1.0 MediumPurple1 | ||
| 531 | 0 0.624 0.475 0.933 1.0 MediumPurple2 | ||
| 532 | 0 0.537 0.408 0.804 1.0 MediumPurple3 | ||
| 533 | 0 0.365 0.278 0.545 1.0 MediumPurple4 | ||
| 534 | 0 1.000 0.882 1.000 1.0 thistle1 | ||
| 535 | 0 0.933 0.824 0.933 1.0 thistle2 | ||
| 536 | 0 0.804 0.710 0.804 1.0 thistle3 | ||
| 537 | 0 0.545 0.482 0.545 1.0 thistle4 | ||
| 538 | 0 0.000 0.000 0.000 1.0 gray0 | ||
| 539 | 0 0.000 0.000 0.000 1.0 grey0 | ||
| 540 | 0 0.012 0.012 0.012 1.0 gray1 | ||
| 541 | 0 0.012 0.012 0.012 1.0 grey1 | ||
| 542 | 0 0.020 0.020 0.020 1.0 gray2 | ||
| 543 | 0 0.020 0.020 0.020 1.0 grey2 | ||
| 544 | 0 0.031 0.031 0.031 1.0 gray3 | ||
| 545 | 0 0.031 0.031 0.031 1.0 grey3 | ||
| 546 | 0 0.039 0.039 0.039 1.0 gray4 | ||
| 547 | 0 0.039 0.039 0.039 1.0 grey4 | ||
| 548 | 0 0.051 0.051 0.051 1.0 gray5 | ||
| 549 | 0 0.051 0.051 0.051 1.0 grey5 | ||
| 550 | 0 0.059 0.059 0.059 1.0 gray6 | ||
| 551 | 0 0.059 0.059 0.059 1.0 grey6 | ||
| 552 | 0 0.071 0.071 0.071 1.0 gray7 | ||
| 553 | 0 0.071 0.071 0.071 1.0 grey7 | ||
| 554 | 0 0.078 0.078 0.078 1.0 gray8 | ||
| 555 | 0 0.078 0.078 0.078 1.0 grey8 | ||
| 556 | 0 0.090 0.090 0.090 1.0 gray9 | ||
| 557 | 0 0.090 0.090 0.090 1.0 grey9 | ||
| 558 | 0 0.102 0.102 0.102 1.0 gray10 | ||
| 559 | 0 0.102 0.102 0.102 1.0 grey10 | ||
| 560 | 0 0.110 0.110 0.110 1.0 gray11 | ||
| 561 | 0 0.110 0.110 0.110 1.0 grey11 | ||
| 562 | 0 0.122 0.122 0.122 1.0 gray12 | ||
| 563 | 0 0.122 0.122 0.122 1.0 grey12 | ||
| 564 | 0 0.129 0.129 0.129 1.0 gray13 | ||
| 565 | 0 0.129 0.129 0.129 1.0 grey13 | ||
| 566 | 0 0.141 0.141 0.141 1.0 gray14 | ||
| 567 | 0 0.141 0.141 0.141 1.0 grey14 | ||
| 568 | 0 0.149 0.149 0.149 1.0 gray15 | ||
| 569 | 0 0.149 0.149 0.149 1.0 grey15 | ||
| 570 | 0 0.161 0.161 0.161 1.0 gray16 | ||
| 571 | 0 0.161 0.161 0.161 1.0 grey16 | ||
| 572 | 0 0.169 0.169 0.169 1.0 gray17 | ||
| 573 | 0 0.169 0.169 0.169 1.0 grey17 | ||
| 574 | 0 0.180 0.180 0.180 1.0 gray18 | ||
| 575 | 0 0.180 0.180 0.180 1.0 grey18 | ||
| 576 | 0 0.188 0.188 0.188 1.0 gray19 | ||
| 577 | 0 0.188 0.188 0.188 1.0 grey19 | ||
| 578 | 0 0.200 0.200 0.200 1.0 gray20 | ||
| 579 | 0 0.200 0.200 0.200 1.0 grey20 | ||
| 580 | 0 0.212 0.212 0.212 1.0 gray21 | ||
| 581 | 0 0.212 0.212 0.212 1.0 grey21 | ||
| 582 | 0 0.220 0.220 0.220 1.0 gray22 | ||
| 583 | 0 0.220 0.220 0.220 1.0 grey22 | ||
| 584 | 0 0.231 0.231 0.231 1.0 gray23 | ||
| 585 | 0 0.231 0.231 0.231 1.0 grey23 | ||
| 586 | 0 0.239 0.239 0.239 1.0 gray24 | ||
| 587 | 0 0.239 0.239 0.239 1.0 grey24 | ||
| 588 | 0 0.251 0.251 0.251 1.0 gray25 | ||
| 589 | 0 0.251 0.251 0.251 1.0 grey25 | ||
| 590 | 0 0.259 0.259 0.259 1.0 gray26 | ||
| 591 | 0 0.259 0.259 0.259 1.0 grey26 | ||
| 592 | 0 0.271 0.271 0.271 1.0 gray27 | ||
| 593 | 0 0.271 0.271 0.271 1.0 grey27 | ||
| 594 | 0 0.278 0.278 0.278 1.0 gray28 | ||
| 595 | 0 0.278 0.278 0.278 1.0 grey28 | ||
| 596 | 0 0.290 0.290 0.290 1.0 gray29 | ||
| 597 | 0 0.290 0.290 0.290 1.0 grey29 | ||
| 598 | 0 0.302 0.302 0.302 1.0 gray30 | ||
| 599 | 0 0.302 0.302 0.302 1.0 grey30 | ||
| 600 | 0 0.310 0.310 0.310 1.0 gray31 | ||
| 601 | 0 0.310 0.310 0.310 1.0 grey31 | ||
| 602 | 0 0.322 0.322 0.322 1.0 gray32 | ||
| 603 | 0 0.322 0.322 0.322 1.0 grey32 | ||
| 604 | 0 0.329 0.329 0.329 1.0 gray33 | ||
| 605 | 0 0.329 0.329 0.329 1.0 grey33 | ||
| 606 | 0 0.341 0.341 0.341 1.0 gray34 | ||
| 607 | 0 0.341 0.341 0.341 1.0 grey34 | ||
| 608 | 0 0.349 0.349 0.349 1.0 gray35 | ||
| 609 | 0 0.349 0.349 0.349 1.0 grey35 | ||
| 610 | 0 0.361 0.361 0.361 1.0 gray36 | ||
| 611 | 0 0.361 0.361 0.361 1.0 grey36 | ||
| 612 | 0 0.369 0.369 0.369 1.0 gray37 | ||
| 613 | 0 0.369 0.369 0.369 1.0 grey37 | ||
| 614 | 0 0.380 0.380 0.380 1.0 gray38 | ||
| 615 | 0 0.380 0.380 0.380 1.0 grey38 | ||
| 616 | 0 0.388 0.388 0.388 1.0 gray39 | ||
| 617 | 0 0.388 0.388 0.388 1.0 grey39 | ||
| 618 | 0 0.400 0.400 0.400 1.0 gray40 | ||
| 619 | 0 0.400 0.400 0.400 1.0 grey40 | ||
| 620 | 0 0.412 0.412 0.412 1.0 gray41 | ||
| 621 | 0 0.412 0.412 0.412 1.0 grey41 | ||
| 622 | 0 0.420 0.420 0.420 1.0 gray42 | ||
| 623 | 0 0.420 0.420 0.420 1.0 grey42 | ||
| 624 | 0 0.431 0.431 0.431 1.0 gray43 | ||
| 625 | 0 0.431 0.431 0.431 1.0 grey43 | ||
| 626 | 0 0.439 0.439 0.439 1.0 gray44 | ||
| 627 | 0 0.439 0.439 0.439 1.0 grey44 | ||
| 628 | 0 0.451 0.451 0.451 1.0 gray45 | ||
| 629 | 0 0.451 0.451 0.451 1.0 grey45 | ||
| 630 | 0 0.459 0.459 0.459 1.0 gray46 | ||
| 631 | 0 0.459 0.459 0.459 1.0 grey46 | ||
| 632 | 0 0.471 0.471 0.471 1.0 gray47 | ||
| 633 | 0 0.471 0.471 0.471 1.0 grey47 | ||
| 634 | 0 0.478 0.478 0.478 1.0 gray48 | ||
| 635 | 0 0.478 0.478 0.478 1.0 grey48 | ||
| 636 | 0 0.490 0.490 0.490 1.0 gray49 | ||
| 637 | 0 0.490 0.490 0.490 1.0 grey49 | ||
| 638 | 0 0.498 0.498 0.498 1.0 gray50 | ||
| 639 | 0 0.498 0.498 0.498 1.0 grey50 | ||
| 640 | 0 0.510 0.510 0.510 1.0 gray51 | ||
| 641 | 0 0.510 0.510 0.510 1.0 grey51 | ||
| 642 | 0 0.522 0.522 0.522 1.0 gray52 | ||
| 643 | 0 0.522 0.522 0.522 1.0 grey52 | ||
| 644 | 0 0.529 0.529 0.529 1.0 gray53 | ||
| 645 | 0 0.529 0.529 0.529 1.0 grey53 | ||
| 646 | 0 0.541 0.541 0.541 1.0 gray54 | ||
| 647 | 0 0.541 0.541 0.541 1.0 grey54 | ||
| 648 | 0 0.549 0.549 0.549 1.0 gray55 | ||
| 649 | 0 0.549 0.549 0.549 1.0 grey55 | ||
| 650 | 0 0.561 0.561 0.561 1.0 gray56 | ||
| 651 | 0 0.561 0.561 0.561 1.0 grey56 | ||
| 652 | 0 0.569 0.569 0.569 1.0 gray57 | ||
| 653 | 0 0.569 0.569 0.569 1.0 grey57 | ||
| 654 | 0 0.580 0.580 0.580 1.0 gray58 | ||
| 655 | 0 0.580 0.580 0.580 1.0 grey58 | ||
| 656 | 0 0.588 0.588 0.588 1.0 gray59 | ||
| 657 | 0 0.588 0.588 0.588 1.0 grey59 | ||
| 658 | 0 0.600 0.600 0.600 1.0 gray60 | ||
| 659 | 0 0.600 0.600 0.600 1.0 grey60 | ||
| 660 | 0 0.612 0.612 0.612 1.0 gray61 | ||
| 661 | 0 0.612 0.612 0.612 1.0 grey61 | ||
| 662 | 0 0.620 0.620 0.620 1.0 gray62 | ||
| 663 | 0 0.620 0.620 0.620 1.0 grey62 | ||
| 664 | 0 0.631 0.631 0.631 1.0 gray63 | ||
| 665 | 0 0.631 0.631 0.631 1.0 grey63 | ||
| 666 | 0 0.639 0.639 0.639 1.0 gray64 | ||
| 667 | 0 0.639 0.639 0.639 1.0 grey64 | ||
| 668 | 0 0.651 0.651 0.651 1.0 gray65 | ||
| 669 | 0 0.651 0.651 0.651 1.0 grey65 | ||
| 670 | 0 0.659 0.659 0.659 1.0 gray66 | ||
| 671 | 0 0.659 0.659 0.659 1.0 grey66 | ||
| 672 | 0 0.671 0.671 0.671 1.0 gray67 | ||
| 673 | 0 0.671 0.671 0.671 1.0 grey67 | ||
| 674 | 0 0.678 0.678 0.678 1.0 gray68 | ||
| 675 | 0 0.678 0.678 0.678 1.0 grey68 | ||
| 676 | 0 0.690 0.690 0.690 1.0 gray69 | ||
| 677 | 0 0.690 0.690 0.690 1.0 grey69 | ||
| 678 | 0 0.702 0.702 0.702 1.0 gray70 | ||
| 679 | 0 0.702 0.702 0.702 1.0 grey70 | ||
| 680 | 0 0.710 0.710 0.710 1.0 gray71 | ||
| 681 | 0 0.710 0.710 0.710 1.0 grey71 | ||
| 682 | 0 0.722 0.722 0.722 1.0 gray72 | ||
| 683 | 0 0.722 0.722 0.722 1.0 grey72 | ||
| 684 | 0 0.729 0.729 0.729 1.0 gray73 | ||
| 685 | 0 0.729 0.729 0.729 1.0 grey73 | ||
| 686 | 0 0.741 0.741 0.741 1.0 gray74 | ||
| 687 | 0 0.741 0.741 0.741 1.0 grey74 | ||
| 688 | 0 0.749 0.749 0.749 1.0 gray75 | ||
| 689 | 0 0.749 0.749 0.749 1.0 grey75 | ||
| 690 | 0 0.761 0.761 0.761 1.0 gray76 | ||
| 691 | 0 0.761 0.761 0.761 1.0 grey76 | ||
| 692 | 0 0.769 0.769 0.769 1.0 gray77 | ||
| 693 | 0 0.769 0.769 0.769 1.0 grey77 | ||
| 694 | 0 0.780 0.780 0.780 1.0 gray78 | ||
| 695 | 0 0.780 0.780 0.780 1.0 grey78 | ||
| 696 | 0 0.788 0.788 0.788 1.0 gray79 | ||
| 697 | 0 0.788 0.788 0.788 1.0 grey79 | ||
| 698 | 0 0.800 0.800 0.800 1.0 gray80 | ||
| 699 | 0 0.800 0.800 0.800 1.0 grey80 | ||
| 700 | 0 0.812 0.812 0.812 1.0 gray81 | ||
| 701 | 0 0.812 0.812 0.812 1.0 grey81 | ||
| 702 | 0 0.820 0.820 0.820 1.0 gray82 | ||
| 703 | 0 0.820 0.820 0.820 1.0 grey82 | ||
| 704 | 0 0.831 0.831 0.831 1.0 gray83 | ||
| 705 | 0 0.831 0.831 0.831 1.0 grey83 | ||
| 706 | 0 0.839 0.839 0.839 1.0 gray84 | ||
| 707 | 0 0.839 0.839 0.839 1.0 grey84 | ||
| 708 | 0 0.851 0.851 0.851 1.0 gray85 | ||
| 709 | 0 0.851 0.851 0.851 1.0 grey85 | ||
| 710 | 0 0.859 0.859 0.859 1.0 gray86 | ||
| 711 | 0 0.859 0.859 0.859 1.0 grey86 | ||
| 712 | 0 0.871 0.871 0.871 1.0 gray87 | ||
| 713 | 0 0.871 0.871 0.871 1.0 grey87 | ||
| 714 | 0 0.878 0.878 0.878 1.0 gray88 | ||
| 715 | 0 0.878 0.878 0.878 1.0 grey88 | ||
| 716 | 0 0.890 0.890 0.890 1.0 gray89 | ||
| 717 | 0 0.890 0.890 0.890 1.0 grey89 | ||
| 718 | 0 0.898 0.898 0.898 1.0 gray90 | ||
| 719 | 0 0.898 0.898 0.898 1.0 grey90 | ||
| 720 | 0 0.910 0.910 0.910 1.0 gray91 | ||
| 721 | 0 0.910 0.910 0.910 1.0 grey91 | ||
| 722 | 0 0.922 0.922 0.922 1.0 gray92 | ||
| 723 | 0 0.922 0.922 0.922 1.0 grey92 | ||
| 724 | 0 0.929 0.929 0.929 1.0 gray93 | ||
| 725 | 0 0.929 0.929 0.929 1.0 grey93 | ||
| 726 | 0 0.941 0.941 0.941 1.0 gray94 | ||
| 727 | 0 0.941 0.941 0.941 1.0 grey94 | ||
| 728 | 0 0.949 0.949 0.949 1.0 gray95 | ||
| 729 | 0 0.949 0.949 0.949 1.0 grey95 | ||
| 730 | 0 0.961 0.961 0.961 1.0 gray96 | ||
| 731 | 0 0.961 0.961 0.961 1.0 grey96 | ||
| 732 | 0 0.969 0.969 0.969 1.0 gray97 | ||
| 733 | 0 0.969 0.969 0.969 1.0 grey97 | ||
| 734 | 0 0.980 0.980 0.980 1.0 gray98 | ||
| 735 | 0 0.980 0.980 0.980 1.0 grey98 | ||
| 736 | 0 0.988 0.988 0.988 1.0 gray99 | ||
| 737 | 0 0.988 0.988 0.988 1.0 grey99 | ||
| 738 | 0 1.000 1.000 1.000 1.0 gray100 | ||
| 739 | 0 1.000 1.000 1.000 1.0 grey100 | ||
| 740 | 0 0.663 0.663 0.663 1.0 dark grey | ||
| 741 | 0 0.663 0.663 0.663 1.0 DarkGrey | ||
| 742 | 0 0.663 0.663 0.663 1.0 dark gray | ||
| 743 | 0 0.663 0.663 0.663 1.0 DarkGray | ||
| 744 | 0 0.000 0.000 0.545 1.0 dark blue | ||
| 745 | 0 0.000 0.000 0.545 1.0 DarkBlue | ||
| 746 | 0 0.000 0.545 0.545 1.0 dark cyan | ||
| 747 | 0 0.000 0.545 0.545 1.0 DarkCyan | ||
| 748 | 0 0.545 0.000 0.545 1.0 dark magenta | ||
| 749 | 0 0.545 0.000 0.545 1.0 DarkMagenta | ||
| 750 | 0 0.545 0.000 0.000 1.0 dark red | ||
| 751 | 0 0.545 0.000 0.000 1.0 DarkRed | ||
| 752 | 0 0.565 0.933 0.565 1.0 light green | ||
| 753 | 0 0.565 0.933 0.565 1.0 LightGreen | ||
| 754 | 0 0.500 0.500 0.500 1.0 Gray | ||
| 755 | 0 0.500 0.500 0.500 1.0 Grey | ||
| 756 | 0 0.667 0.667 0.667 1.0 Light Gray | ||
| 757 | 0 0.667 0.667 0.667 1.0 Light Grey | ||
| 758 | 0 0.000 0.000 0.000 0.0 Highlight | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 1196458857e..9c4f4676940 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 2 | |||
| 3 | * w32fns.c (w32-load-color-file): Remove. | ||
| 4 | (x-open-connection): Use renamed Fx_load_color_file. | ||
| 5 | * xfaces.c (x-load-color-file): Add. | ||
| 6 | * nsterm.m (ns_initialize): Load colors from etc/rgb.txt instead of | ||
| 7 | Emacs.clr. | ||
| 8 | (ns_draw_window_cursor): Change PENDING to TODO or FIXME. | ||
| 9 | (hide_hourglass): BLOCK_INPUT before UNBLOCK. | ||
| 10 | |||
| 1 | 2008-07-31 Michael Albinus <michael.albinus@gmx.de> | 11 | 2008-07-31 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 12 | ||
| 3 | * dbusbind.c (Fdbus_call_method_asynchronously) | 13 | * dbusbind.c (Fdbus_call_method_asynchronously) |
diff --git a/src/nsterm.m b/src/nsterm.m index 2f8348a9b0f..0e6c1f33cfd 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -2313,7 +2313,7 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row, | |||
| 2313 | r.size.height = h; | 2313 | r.size.height = h; |
| 2314 | r.size.width = w->phys_cursor_width; | 2314 | r.size.width = w->phys_cursor_width; |
| 2315 | 2315 | ||
| 2316 | /* PENDING: if we overwrite the internal border area, it does not get erased; | 2316 | /* FIXME: if we overwrite the internal border area, it does not get erased; |
| 2317 | fix by truncating cursor, but better would be to erase properly */ | 2317 | fix by truncating cursor, but better would be to erase properly */ |
| 2318 | overspill = r.origin.x + r.size.width - | 2318 | overspill = r.origin.x + r.size.width - |
| 2319 | WINDOW_TEXT_TO_FRAME_PIXEL_X (w, WINDOW_BOX_RIGHT_EDGE_X (w) | 2319 | WINDOW_TEXT_TO_FRAME_PIXEL_X (w, WINDOW_BOX_RIGHT_EDGE_X (w) |
| @@ -2321,13 +2321,13 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row, | |||
| 2321 | if (overspill > 0) | 2321 | if (overspill > 0) |
| 2322 | r.size.width -= overspill; | 2322 | r.size.width -= overspill; |
| 2323 | 2323 | ||
| 2324 | /* PENDING: 23: use emacs stored f->cursor_type instead of ns-specific */ | 2324 | /* TODO: 23: use emacs stored f->cursor_type instead of ns-specific */ |
| 2325 | oldCursorType = FRAME_CURSOR (f); | 2325 | oldCursorType = FRAME_CURSOR (f); |
| 2326 | cursorType = FRAME_CURSOR (f) = FRAME_NEW_CURSOR (f); | 2326 | cursorType = FRAME_CURSOR (f) = FRAME_NEW_CURSOR (f); |
| 2327 | f->output_data.ns->current_cursor_color | 2327 | f->output_data.ns->current_cursor_color |
| 2328 | = f->output_data.ns->desired_cursor_color; | 2328 | = f->output_data.ns->desired_cursor_color; |
| 2329 | 2329 | ||
| 2330 | /* PENDING: only needed in rare cases with last-resort font in HELLO.. | 2330 | /* TODO: only needed in rare cases with last-resort font in HELLO.. |
| 2331 | should we do this more efficiently? */ | 2331 | should we do this more efficiently? */ |
| 2332 | ns_clip_to_row (w, glyph_row, -1, NULL); | 2332 | ns_clip_to_row (w, glyph_row, -1, NULL); |
| 2333 | /* ns_focus (f, &r, 1); */ | 2333 | /* ns_focus (f, &r, 1); */ |
| @@ -2434,6 +2434,8 @@ hide_hourglass () | |||
| 2434 | if (!hourglass_shown_p) | 2434 | if (!hourglass_shown_p) |
| 2435 | return; | 2435 | return; |
| 2436 | 2436 | ||
| 2437 | BLOCK_INPUT; | ||
| 2438 | |||
| 2437 | /* TODO: remove NSProgressIndicator from all frames */ | 2439 | /* TODO: remove NSProgressIndicator from all frames */ |
| 2438 | 2440 | ||
| 2439 | hourglass_shown_p = 0; | 2441 | hourglass_shown_p = 0; |
| @@ -3822,37 +3824,37 @@ ns_term_init (Lisp_Object display_name) | |||
| 3822 | ns_selection_color = NS_SELECTION_COLOR_DEFAULT; | 3824 | ns_selection_color = NS_SELECTION_COLOR_DEFAULT; |
| 3823 | 3825 | ||
| 3824 | { | 3826 | { |
| 3825 | id cl; | 3827 | NSColorList *cl = [NSColorList colorListNamed: @"Emacs"]; |
| 3826 | Lisp_Object tem, tem1; | ||
| 3827 | extern Lisp_Object Vsource_directory; | ||
| 3828 | |||
| 3829 | cl = [NSColorList colorListNamed: @"Emacs"]; | ||
| 3830 | 3828 | ||
| 3831 | if ( cl == nil ) | 3829 | if ( cl == nil ) |
| 3832 | { | 3830 | { |
| 3833 | /* first try data_dir, then invocation-dir | 3831 | Lisp_Object color_file, color_map, color; |
| 3834 | and finally source-directory/etc */ | 3832 | int r,g,b; |
| 3835 | tem1 = tem | 3833 | unsigned long c; |
| 3836 | = Fexpand_file_name (build_string ("Emacs.clr"), Vdata_directory); | 3834 | char *name; |
| 3837 | if (NILP (Ffile_exists_p (tem))) | 3835 | |
| 3836 | color_file = Fexpand_file_name (build_string ("rgb.txt"), | ||
| 3837 | Fsymbol_value (intern ("data-directory"))); | ||
| 3838 | if (NILP (Ffile_readable_p (color_file))) | ||
| 3839 | fatal ("Could not find %s.\n", SDATA (color_file)); | ||
| 3840 | |||
| 3841 | color_map = Fx_load_color_file (color_file); | ||
| 3842 | if (NILP (color_map)) | ||
| 3843 | fatal ("Could not read %s.\n", SDATA (color_file)); | ||
| 3844 | |||
| 3845 | cl = [[NSColorList alloc] initWithName: @"Emacs"]; | ||
| 3846 | for ( ; CONSP (color_map); color_map = XCDR (color_map)) | ||
| 3838 | { | 3847 | { |
| 3839 | tem = Fexpand_file_name (build_string ("Emacs.clr"), | 3848 | color = XCAR (color_map); |
| 3840 | Vinvocation_directory); | 3849 | name = SDATA (XCAR (color)); |
| 3841 | if (NILP (Ffile_exists_p (tem))) | 3850 | c = XINT (XCDR (color)); |
| 3842 | { | 3851 | [cl setColor: |
| 3843 | Lisp_Object newdir | 3852 | [NSColor colorWithCalibratedRed: RED_FROM_ULONG (c) / 255.0 |
| 3844 | = Fexpand_file_name (build_string ("etc/"), | 3853 | green: GREEN_FROM_ULONG (c) / 255.0 |
| 3845 | Vsource_directory); | 3854 | blue: BLUE_FROM_ULONG (c) / 255.0 |
| 3846 | tem = Fexpand_file_name (build_string ("Emacs.clr"), | 3855 | alpha: 1.0] |
| 3847 | newdir); | 3856 | forKey: [NSString stringWithUTF8String: name]]; |
| 3848 | } | ||
| 3849 | } | 3857 | } |
| 3850 | |||
| 3851 | cl = [[NSColorList alloc] | ||
| 3852 | initWithName: @"Emacs" | ||
| 3853 | fromFile: [NSString stringWithCString: SDATA (tem)]]; | ||
| 3854 | if (cl ==nil) | ||
| 3855 | fatal ("Could not find %s.\n", SDATA (tem1)); | ||
| 3856 | [cl writeToFile: nil]; | 3858 | [cl writeToFile: nil]; |
| 3857 | } | 3859 | } |
| 3858 | } | 3860 | } |
| @@ -6553,7 +6555,7 @@ or shrunk (negative). Zero (the default) means standard line height.\n\ | |||
| 6553 | Qcontrol = intern ("control"); | 6555 | Qcontrol = intern ("control"); |
| 6554 | Fput (Qcontrol, Qmodifier_value, make_number (ctrl_modifier)); | 6556 | Fput (Qcontrol, Qmodifier_value, make_number (ctrl_modifier)); |
| 6555 | 6557 | ||
| 6556 | /*PENDING: move to common code */ | 6558 | /* TODO: move to common code */ |
| 6557 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, | 6559 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, |
| 6558 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); | 6560 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); |
| 6559 | #ifdef USE_TOOLKIT_SCROLL_BARS | 6561 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| @@ -6586,8 +6588,8 @@ baseline level. The default value is nil. */); | |||
| 6586 | 6588 | ||
| 6587 | /* Tell emacs about this window system. */ | 6589 | /* Tell emacs about this window system. */ |
| 6588 | Fprovide (intern ("ns"), Qnil); | 6590 | Fprovide (intern ("ns"), Qnil); |
| 6589 | /* PENDING: try to move this back into lisp, ns-win.el loaded too late | 6591 | /* TODO: try to move this back into lisp, ns-win.el loaded too late |
| 6590 | right now */ | 6592 | right now */ |
| 6591 | { | 6593 | { |
| 6592 | Lisp_Object args[3] = { intern ("ns-version-string"), build_string ("9.0"), | 6594 | Lisp_Object args[3] = { intern ("ns-version-string"), build_string ("9.0"), |
| 6593 | build_string ("NS Window system port version number.") }; | 6595 | build_string ("NS Window system port version number.") }; |
diff --git a/src/w32fns.c b/src/w32fns.c index 2fb03114007..74cacf34521 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -502,53 +502,6 @@ if the entry is new. */) | |||
| 502 | return (oldrgb); | 502 | return (oldrgb); |
| 503 | } | 503 | } |
| 504 | 504 | ||
| 505 | DEFUN ("w32-load-color-file", Fw32_load_color_file, | ||
| 506 | Sw32_load_color_file, 1, 1, 0, | ||
| 507 | doc: /* Create an alist of color entries from an external file. | ||
| 508 | Assign this value to `w32-color-map' to replace the existing color map. | ||
| 509 | |||
| 510 | The file should define one named RGB color per line like so: | ||
| 511 | R G B name | ||
| 512 | where R,G,B are numbers between 0 and 255 and name is an arbitrary string. */) | ||
| 513 | (filename) | ||
| 514 | Lisp_Object filename; | ||
| 515 | { | ||
| 516 | FILE *fp; | ||
| 517 | Lisp_Object cmap = Qnil; | ||
| 518 | Lisp_Object abspath; | ||
| 519 | |||
| 520 | CHECK_STRING (filename); | ||
| 521 | abspath = Fexpand_file_name (filename, Qnil); | ||
| 522 | |||
| 523 | fp = fopen (SDATA (filename), "rt"); | ||
| 524 | if (fp) | ||
| 525 | { | ||
| 526 | char buf[512]; | ||
| 527 | int red, green, blue; | ||
| 528 | int num; | ||
| 529 | |||
| 530 | BLOCK_INPUT; | ||
| 531 | |||
| 532 | while (fgets (buf, sizeof (buf), fp) != NULL) { | ||
| 533 | if (sscanf (buf, "%u %u %u %n", &red, &green, &blue, &num) == 3) | ||
| 534 | { | ||
| 535 | char *name = buf + num; | ||
| 536 | num = strlen (name) - 1; | ||
| 537 | if (name[num] == '\n') | ||
| 538 | name[num] = 0; | ||
| 539 | cmap = Fcons (Fcons (build_string (name), | ||
| 540 | make_number (RGB (red, green, blue))), | ||
| 541 | cmap); | ||
| 542 | } | ||
| 543 | } | ||
| 544 | fclose (fp); | ||
| 545 | |||
| 546 | UNBLOCK_INPUT; | ||
| 547 | } | ||
| 548 | |||
| 549 | return cmap; | ||
| 550 | } | ||
| 551 | |||
| 552 | /* The default colors for the w32 color map */ | 505 | /* The default colors for the w32 color map */ |
| 553 | typedef struct colormap_t | 506 | typedef struct colormap_t |
| 554 | { | 507 | { |
| @@ -4995,7 +4948,7 @@ terminate Emacs if we can't open the connection. */) | |||
| 4995 | Fexpand_file_name (build_string ("rgb.txt"), | 4948 | Fexpand_file_name (build_string ("rgb.txt"), |
| 4996 | Fsymbol_value (intern ("data-directory"))); | 4949 | Fsymbol_value (intern ("data-directory"))); |
| 4997 | 4950 | ||
| 4998 | Vw32_color_map = Fw32_load_color_file (color_file); | 4951 | Vw32_color_map = Fx_load_color_file (color_file); |
| 4999 | 4952 | ||
| 5000 | UNGCPRO; | 4953 | UNGCPRO; |
| 5001 | } | 4954 | } |
| @@ -7226,7 +7179,6 @@ only be necessary if the default setting causes problems. */); | |||
| 7226 | 7179 | ||
| 7227 | defsubr (&Sw32_define_rgb_color); | 7180 | defsubr (&Sw32_define_rgb_color); |
| 7228 | defsubr (&Sw32_default_color_map); | 7181 | defsubr (&Sw32_default_color_map); |
| 7229 | defsubr (&Sw32_load_color_file); | ||
| 7230 | defsubr (&Sw32_send_sys_command); | 7182 | defsubr (&Sw32_send_sys_command); |
| 7231 | defsubr (&Sw32_shell_execute); | 7183 | defsubr (&Sw32_shell_execute); |
| 7232 | defsubr (&Sw32_register_hot_key); | 7184 | defsubr (&Sw32_register_hot_key); |
diff --git a/src/xfaces.c b/src/xfaces.c index ff5a636ee2d..6180b899dbb 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6574,6 +6574,56 @@ merge_faces (f, face_name, face_id, base_face_id) | |||
| 6574 | } | 6574 | } |
| 6575 | 6575 | ||
| 6576 | 6576 | ||
| 6577 | |||
| 6578 | #ifndef HAVE_X_WINDOWS | ||
| 6579 | DEFUN ("x-load-color-file", Fx_load_color_file, | ||
| 6580 | Sx_load_color_file, 1, 1, 0, | ||
| 6581 | doc: /* Create an alist of color entries from an external file. | ||
| 6582 | |||
| 6583 | The file should define one named RGB color per line like so: | ||
| 6584 | R G B name | ||
| 6585 | where R,G,B are numbers between 0 and 255 and name is an arbitrary string. */) | ||
| 6586 | (filename) | ||
| 6587 | Lisp_Object filename; | ||
| 6588 | { | ||
| 6589 | FILE *fp; | ||
| 6590 | Lisp_Object cmap = Qnil; | ||
| 6591 | Lisp_Object abspath; | ||
| 6592 | |||
| 6593 | CHECK_STRING (filename); | ||
| 6594 | abspath = Fexpand_file_name (filename, Qnil); | ||
| 6595 | |||
| 6596 | fp = fopen (SDATA (filename), "rt"); | ||
| 6597 | if (fp) | ||
| 6598 | { | ||
| 6599 | char buf[512]; | ||
| 6600 | int red, green, blue; | ||
| 6601 | int num; | ||
| 6602 | |||
| 6603 | BLOCK_INPUT; | ||
| 6604 | |||
| 6605 | while (fgets (buf, sizeof (buf), fp) != NULL) { | ||
| 6606 | if (sscanf (buf, "%u %u %u %n", &red, &green, &blue, &num) == 3) | ||
| 6607 | { | ||
| 6608 | char *name = buf + num; | ||
| 6609 | num = strlen (name) - 1; | ||
| 6610 | if (name[num] == '\n') | ||
| 6611 | name[num] = 0; | ||
| 6612 | cmap = Fcons (Fcons (build_string (name), | ||
| 6613 | make_number ((red << 16) | (green << 8) | blue)), | ||
| 6614 | cmap); | ||
| 6615 | } | ||
| 6616 | } | ||
| 6617 | fclose (fp); | ||
| 6618 | |||
| 6619 | UNBLOCK_INPUT; | ||
| 6620 | } | ||
| 6621 | |||
| 6622 | return cmap; | ||
| 6623 | } | ||
| 6624 | #endif | ||
| 6625 | |||
| 6626 | |||
| 6577 | /*********************************************************************** | 6627 | /*********************************************************************** |
| 6578 | Tests | 6628 | Tests |
| 6579 | ***********************************************************************/ | 6629 | ***********************************************************************/ |
| @@ -6829,6 +6879,9 @@ syms_of_xfaces () | |||
| 6829 | #endif | 6879 | #endif |
| 6830 | defsubr (&Scolor_gray_p); | 6880 | defsubr (&Scolor_gray_p); |
| 6831 | defsubr (&Scolor_supported_p); | 6881 | defsubr (&Scolor_supported_p); |
| 6882 | #ifndef HAVE_X_WINDOWS | ||
| 6883 | defsubr (&Sx_load_color_file); | ||
| 6884 | #endif | ||
| 6832 | defsubr (&Sface_attribute_relative_p); | 6885 | defsubr (&Sface_attribute_relative_p); |
| 6833 | defsubr (&Smerge_face_attribute); | 6886 | defsubr (&Smerge_face_attribute); |
| 6834 | defsubr (&Sinternal_get_lisp_face_attribute); | 6887 | defsubr (&Sinternal_get_lisp_face_attribute); |