Tabnine Logo
LinuxMouseTracker.getLastX
Code IndexAdd Tabnine to your IDE (free)

How to use
getLastX
method
in
jogamp.newt.driver.linux.LinuxMouseTracker

Best Java code snippets using jogamp.newt.driver.linux.LinuxMouseTracker.getLastX (Showing top 4 results out of 315)

origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
protected boolean setPointerVisibleImpl(final boolean pointerVisible) {
  final DisplayDriver display = (DisplayDriver) getScreen().getDisplay();
  display.setActivePointerIconVisible(pointerVisible, linuxMouseTracker.getLastX(), linuxMouseTracker.getLastY());
  return true;
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
protected void setPointerIconImpl(final PointerIconImpl pi) {
  final DisplayDriver display = (DisplayDriver) getScreen().getDisplay();
  display.setPointerIconActive(null != pi ? pi.validatedHandle() : 0, linuxMouseTracker.getLastX(), linuxMouseTracker.getLastY());
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
protected void createNativeImpl() {
  // FIXME: map name to EGL_*_DISPLAY
  bcmHandle = OpenBCMDisplay0();
  aDevice = EGLDisplayUtil.eglCreateEGLGraphicsDevice(EGL.EGL_DEFAULT_DISPLAY, AbstractGraphicsDevice.DEFAULT_CONNECTION, AbstractGraphicsDevice.DEFAULT_UNIT);
  aDevice.open();
  defaultPointerIcon = (PointerIconImpl) createPointerIcon(defaultPointerIconImage, 0, 0);
  if( DEBUG_POINTER_ICON ) {
    System.err.println("Display.PointerIcon.createDefault: "+defaultPointerIcon);
  }
  if( null != defaultPointerIcon ) {
    final LinuxMouseTracker lmt = LinuxMouseTracker.getSingleton();
    setPointerIconActive(defaultPointerIcon.getHandle(), lmt.getLastX(), lmt.getLastY());
  }
}
private PointerIconImpl defaultPointerIcon = null;
origin: org.jogamp.jogl/jogl-all-noawt

@Override
protected void createNativeImpl() {
  // FIXME: map name to EGL_*_DISPLAY
  bcmHandle = OpenBCMDisplay0();
  aDevice = EGLDisplayUtil.eglCreateEGLGraphicsDevice(EGL.EGL_DEFAULT_DISPLAY, AbstractGraphicsDevice.DEFAULT_CONNECTION, AbstractGraphicsDevice.DEFAULT_UNIT);
  aDevice.open();
  if( null != defaultPointerIconImage ) {
    defaultPointerIcon = (PointerIconImpl) createPointerIcon(defaultPointerIconImage, 0, 0);
  } else {
    defaultPointerIcon = null;
  }
  if( DEBUG_POINTER_ICON ) {
    System.err.println("Display.PointerIcon.createDefault: "+defaultPointerIcon);
  }
  if( null != defaultPointerIcon ) {
    final LinuxMouseTracker lmt = LinuxMouseTracker.getSingleton();
    setPointerIconActive(defaultPointerIcon.getHandle(), lmt.getLastX(), lmt.getLastY());
  }
}
private PointerIconImpl defaultPointerIcon = null;
jogamp.newt.driver.linuxLinuxMouseTrackergetLastX

Popular methods of LinuxMouseTracker

  • getLastY
  • getSingleton

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now