本文整理了Java中org.eclipse.swt.graphics.Cursor.createCursor()
方法的一些代码示例,展示了Cursor.createCursor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Cursor.createCursor()
方法的具体详情如下:
包路径:org.eclipse.swt.graphics.Cursor
类名称:Cursor
方法名:createCursor
暂无
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
byte[] mask = new byte[APPSTARTING_MASK.length];
System.arraycopy(APPSTARTING_MASK, 0, mask, 0, mask.length);
handle = createCursor(src, mask, 32, 32, 2, 2, true);
} else {
handle = OS.gdk_cursor_new_for_display (OS.gdk_display_get_default(), shape);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
byte[] mask = new byte[APPSTARTING_MASK.length];
System.arraycopy(APPSTARTING_MASK, 0, mask, 0, mask.length);
handle = createCursor(src, mask, 32, 32, 2, 2, true);
} else {
handle = OS.gdk_cursor_new_for_display (OS.gdk_display_get_default(), shape);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
byte[] mask = new byte[APPSTARTING_MASK.length];
System.arraycopy(APPSTARTING_MASK, 0, mask, 0, mask.length);
handle = createCursor(src, mask, 32, 32, 2, 2, true);
} else {
handle = OS.gdk_cursor_new_for_display (OS.gdk_display_get_default(), shape);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
handle = createCursor(maskData, sourceData, source.width, source.height, hotspotX, hotspotY, true);
if (handle == 0) SWT.error(SWT.ERROR_NO_HANDLES);
init();
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
handle = createCursor(maskData, sourceData, source.width, source.height, hotspotX, hotspotY, true);
if (handle == 0) SWT.error(SWT.ERROR_NO_HANDLES);
init();
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
handle = createCursor(maskData, sourceData, source.width, source.height, hotspotX, hotspotY, true);
if (handle == 0) SWT.error(SWT.ERROR_NO_HANDLES);
init();
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
handle = createCursor(sourceData, maskData, source.width, source.height, hotspotX, hotspotY, false);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
handle = createCursor(sourceData, maskData, source.width, source.height, hotspotX, hotspotY, false);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
handle = createCursor(sourceData, maskData, source.width, source.height, hotspotX, hotspotY, false);
内容来源于网络,如有侵权,请联系作者删除!