Mercurial > projects > dwt-mac
comparison dwt/graphics/RGB.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | db5a898b2119 |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
36:db5a898b2119 | 37:642f460a0908 |
---|---|
182 } | 182 } |
183 } | 183 } |
184 hue *= 60; | 184 hue *= 60; |
185 if (hue < 0) hue += 360; | 185 if (hue < 0) hue += 360; |
186 } | 186 } |
187 return new float[] [hue, saturation, brightness]; | 187 return [hue, saturation, brightness]; |
188 } | 188 } |
189 | 189 |
190 /** | 190 /** |
191 * Compares the argument to the receiver, and returns true | 191 * Compares the argument to the receiver, and returns true |
192 * if they represent the <em>same</em> object using a class | 192 * if they represent the <em>same</em> object using a class |