comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/Color.d @ 43:b98647bc0aef

swt win compiles for d2+phobos
author Frank Benoit <benoit@tionex.de>
date Wed, 25 Mar 2009 17:08:05 +0100
parents 6bf2837c50fe
children 536e43f63c81
comparison
equal deleted inserted replaced
42:63aa48e5430f 43:b98647bc0aef
113 * <li>ERROR_INVALID_ARGUMENT - if the red, green or blue components of the argument are not between 0 and 255</li> 113 * <li>ERROR_INVALID_ARGUMENT - if the red, green or blue components of the argument are not between 0 and 255</li>
114 * </ul> 114 * </ul>
115 * 115 *
116 * @see #dispose 116 * @see #dispose
117 */ 117 */
118 public this (Device device, RGB rgb) { 118 public this (Device device, constRGB rgb) {
119 super(device); 119 super(device);
120 if (rgb is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); 120 if (rgb is null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
121 init_(rgb.red, rgb.green, rgb.blue); 121 init_(rgb.red, rgb.green, rgb.blue);
122 init_(); 122 init_();
123 } 123 }