Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod2013-03-21 20:37:39 +0000
committerCarolyn MacLeod2013-03-25 16:07:25 +0000
commitf1aee6566ba5016818a786e543c8b1fd5d636f60 (patch)
tree4a10dcf80219b8fc85c27bc72642578766512f79
parentd656184dd6a99bf5e254797877b60c9f3390841b (diff)
downloadeclipse.platform.swt-f1aee6566ba5016818a786e543c8b1fd5d636f60.tar.gz
eclipse.platform.swt-f1aee6566ba5016818a786e543c8b1fd5d636f60.tar.xz
eclipse.platform.swt-f1aee6566ba5016818a786e543c8b1fd5d636f60.zip
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 e57a59fea3..c067514886 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",

Back to the top