comparison dwtx/jface/text/TextAttribute.d @ 133:7d818bd32d63

Fix ctors to this with gvim regexp
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:29:22 +0200
parents c4fb132a086c
children 51e6e63f930e
comparison
equal deleted inserted replaced
132:77bd3bb3d7b8 133:7d818bd32d63
211 * 211 *
212 * @param foreground the foreground color, <code>null</code> if none 212 * @param foreground the foreground color, <code>null</code> if none
213 * @param background the background color, <code>null</code> if none 213 * @param background the background color, <code>null</code> if none
214 * @param style the style 214 * @param style the style
215 */ 215 */
216 public TextAttribute(Color foreground, Color background, int style) { 216 public this(Color foreground, Color background, int style) {
217 this.foreground= foreground; 217 this.foreground= foreground;
218 this.background= background; 218 this.background= background;
219 this.style= style; 219 this.style= style;
220 } 220 }
221 221
226 * @param background the background color, <code>null</code> if none 226 * @param background the background color, <code>null</code> if none
227 * @param style the style 227 * @param style the style
228 * @param font the font, <code>null</code> if none 228 * @param font the font, <code>null</code> if none
229 * @since 3.3 229 * @since 3.3
230 */ 230 */
231 public TextAttribute(Color foreground, Color background, int style, Font font) { 231 public this(Color foreground, Color background, int style, Font font) {
232 this.foreground= foreground; 232 this.foreground= foreground;
233 this.background= background; 233 this.background= background;
234 this.style= style; 234 this.style= style;
235 this.font= font; 235 this.font= font;
236 } 236 }
239 * Creates a text attribute for the given foreground color, no background color and 239 * Creates a text attribute for the given foreground color, no background color and
240 * with the DWT normal style. 240 * with the DWT normal style.
241 * 241 *
242 * @param foreground the foreground color, <code>null</code> if none 242 * @param foreground the foreground color, <code>null</code> if none
243 */ 243 */
244 public TextAttribute(Color foreground) { 244 public this(Color foreground) {
245 this(foreground, null, DWT.NORMAL); 245 this(foreground, null, DWT.NORMAL);
246 } 246 }
247 247
248 /* 248 /*
249 * @see Object#equals(Object) 249 * @see Object#equals(Object)