]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/win32/DIBSECTION.java
Work around SWT 4.13 - 4.18 Win32 DnD bug 567422
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / internal / win32 / DIBSECTION.java
diff --git a/bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/win32/DIBSECTION.java b/bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/win32/DIBSECTION.java
new file mode 100644 (file)
index 0000000..80bebaf
--- /dev/null
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.swt.internal.win32;
+
+public class DIBSECTION extends BITMAP {
+       /** @field accessor=dsBmih.biSize */
+       public int biSize;
+       /** @field accessor=dsBmih.biWidth */
+       public int biWidth;
+       /** @field accessor=dsBmih.biHeight */
+       public int biHeight;
+       /** @field accessor=dsBmih.biPlanes */
+       public short biPlanes;
+       /** @field accessor=dsBmih.biBitCount */
+       public short biBitCount;
+       /** @field accessor=dsBmih.biCompression */
+       public int biCompression;
+       /** @field accessor=dsBmih.biSizeImage */
+       public int biSizeImage;
+       /** @field accessor=dsBmih.biXPelsPerMeter */
+       public int biXPelsPerMeter;
+       /** @field accessor=dsBmih.biYPelsPerMeter */
+       public int biYPelsPerMeter;
+       /** @field accessor=dsBmih.biClrUsed */
+       public int biClrUsed;
+       /** @field accessor=dsBmih.biClrImportant */
+       public int biClrImportant;
+       /** @field accessor=dsBitfields[0] */
+       public int dsBitfields0;
+       /** @field accessor=dsBitfields[1] */
+       public int dsBitfields1;
+       /** @field accessor=dsBitfields[2] */
+       public int dsBitfields2;
+       /** @field cast=(HANDLE) */
+       public long dshSection;
+       public int dsOffset;
+       public static final int sizeof = OS.DIBSECTION_sizeof ();
+}