org.eclipse.swt.graphics.Cursor.createCursor()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(125)

本文整理了Java中org.eclipse.swt.graphics.Cursor.createCursor()方法的一些代码示例,展示了Cursor.createCursor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Cursor.createCursor()方法的具体详情如下:
包路径:org.eclipse.swt.graphics.Cursor
类名称:Cursor
方法名:createCursor

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);

相关文章