summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCarolyn MacLeod2013-03-21 16:37:39 (EDT)
committer Silenio Quarti2013-03-22 17:09:15 (EDT)
commit18fe1abe4b2ee2eb60913a248129ad903d4dc0bc (patch)
treeef1b111972f991b5b4510cdc657994eb0d1ffd45
parente6e94b82a117d95b90236c7ed5020ad3a3273eae (diff)
downloadeclipse.platform.swt-18fe1abe4b2ee2eb60913a248129ad903d4dc0bc.zip
eclipse.platform.swt-18fe1abe4b2ee2eb60913a248129ad903d4dc0bc.tar.gz
eclipse.platform.swt-18fe1abe4b2ee2eb60913a248129ad903d4dc0bc.tar.bz2
Bug 181592 - [Widgets] Need a color constant for active and inactive
hyperlink colors
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.java
index e57a59f..c067514 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.java
@@ -72,7 +72,8 @@ public static void main(String [] args) {
display.dispose();
}
static int[] colorIds = new int[] {SWT.COLOR_INFO_BACKGROUND,
- SWT.COLOR_INFO_FOREGROUND,
+ SWT.COLOR_INFO_FOREGROUND,
+ SWT.COLOR_LINK_FOREGROUND,
SWT.COLOR_LIST_BACKGROUND,
SWT.COLOR_LIST_FOREGROUND,
SWT.COLOR_LIST_SELECTION,
@@ -91,7 +92,8 @@ static int[] colorIds = new int[] {SWT.COLOR_INFO_BACKGROUND,
SWT.COLOR_WIDGET_LIGHT_SHADOW,
SWT.COLOR_WIDGET_NORMAL_SHADOW,};
static String [] colorNames = new String[] {"SWT.COLOR_INFO_BACKGROUND",
- "SWT.COLOR_INFO_FOREGROUND",
+ "SWT.COLOR_INFO_FOREGROUND",
+ "SWT.COLOR_LINK_FOREGROUND",
"SWT.COLOR_LIST_BACKGROUND",
"SWT.COLOR_LIST_FOREGROUND",
"SWT.COLOR_LIST_SELECTION",