Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConrad Groth2016-04-13 21:24:56 +0000
committerNiraj Modi2016-10-07 14:17:40 +0000
commit0822f2030fcfc1ca7d2cdb69aae86e45e1c85556 (patch)
tree0d62f64dde64846a3c6ee45bb8eadad882443480 /bundles/org.eclipse.swt/Eclipse SWT PI/win32
parente4242493db4f101f5a029654a57105f450eb8ad7 (diff)
downloadeclipse.platform.swt-0822f2030fcfc1ca7d2cdb69aae86e45e1c85556.tar.gz
eclipse.platform.swt-0822f2030fcfc1ca7d2cdb69aae86e45e1c85556.tar.xz
eclipse.platform.swt-0822f2030fcfc1ca7d2cdb69aae86e45e1c85556.zip
Bug 23837 - [FEEP] Button, do not respect foreground and background
color on Windows Custom Drawing looks very similar to default windows behavior now, e.g. hot and selected buttons are colored with a different color, which is calculated from the commanded background color. Change-Id: Ifa1ebb8d27de4ae5cdfd9cae90dbee1743c368ce Signed-off-by: Conrad Groth <info@conrad-groth.de>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
index 7c4930bdca..3ef3775295 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2015 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -422,10 +422,11 @@ public class OS extends C {
public static final int CDIS_CHECKED = 0x0008;
public static final int CDIS_FOCUS = 0x0010;
public static final int CDIS_DEFAULT = 0x0020;
- public static final int CDIS_DROPHILITED = 0x1000;
public static final int CDIS_HOT = 0x0040;
public static final int CDIS_MARKED = 0x0080;
public static final int CDIS_INDETERMINATE = 0x0100;
+ public static final int CDIS_SHOWKEYBOARDCUES = 0x0200;
+ public static final int CDIS_DROPHILITED = 0x1000;
public static final int CDM_FIRST = 0x0400 + 100;
public static final int CDM_GETSPEC = CDM_FIRST;
public static final int CDN_FIRST = -601;

Back to the top