comparison dwtx/ui/internal/forms/widgets/TextHyperlinkSegment.d @ 90:7ffeace6c47f

Update 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Jul 2008 23:30:07 +0200
parents 26c6c9dfd13c
children 04b47443bb01
comparison
equal deleted inserted replaced
89:040da1cb0d76 90:7ffeace6c47f
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2005 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
88 gc.setForeground(newFg); 88 gc.setForeground(newFg);
89 super.paint(gc, hover, resourceTable, selected, rolloverMode, selData, 89 super.paint(gc, hover, resourceTable, selected, rolloverMode, selData,
90 repaintRegion); 90 repaintRegion);
91 gc.setForeground(savedFg); 91 gc.setForeground(savedFg);
92 } 92 }
93
94 protected void drawString(GC gc, String s, int clipX, int clipY) {
95 gc.drawString(s, clipX, clipY, false);
96 }
93 97
94 public String getTooltipText() { 98 public String getTooltipText() {
95 return tooltipText; 99 return tooltipText;
96 } 100 }
97 101