Examples of Visual


Examples of com.neophob.sematrix.core.glue.Visual

  /**
   * fill the the preparedBufferMap instance with int[] buffers for all screens.
   */
  public synchronized void prepareOutputBuffer() {
    int[] buffer;
    Visual v;
   
    for (int screen = 0; screen < this.collector.getNrOfScreens(); screen++) {
      LayoutModel lm = this.layout.getDataForScreen(screen, Collector.getInstance().getAllOutputMappings());
      OutputMapping map = this.collector.getOutputMappings(screen);
      v = this.collector.getVisual(lm.getVisualId());
View Full Code Here

Examples of com.sun.jna.examples.unix.X11.Visual

                if (System.getProperty("java.version").matches("^1\\.4\\..*"))
                    alphaWindow.setVisible(true);
                win = new X11.Window((int)Native.getWindowID(alphaWindow));
                XSetWindowAttributes xswa = new XSetWindowAttributes();
                xswa.background_pixel = new NativeLong(0x0);
                Visual visual = x11.XDefaultVisual(dpy, x11.XDefaultScreen(dpy));
                xswa.colormap = x11.XCreateColormap(dpy, win, visual, X11.AllocNone);
                x11.XChangeWindowAttributes(dpy, win, new NativeLong(X11.CWBackPixel|X11.CWColormap), xswa);
                Window parent = alphaWindow.getOwner();
                Point where = parent.getLocationOnScreen();
                where.translate(parent.getWidth(), 0);
View Full Code Here

Examples of gnu.x11.Visual

          Depth depth = (Depth) scrdepths.next();
          screenDepth.put(depth.depth(), depth);
   
    gnu.x11.Enum enm = depth.visuals();       
    while (enm.more()) {
        Visual visual = (Visual) enm.next();             
        screenVisual.put(visual.id(), visual);
    }
      }

      // AWT in Java6u1 requires that the WM acquire these selections.
      // Note: even though the WM conventions recommend that CurrentTime
View Full Code Here

Examples of gnu.x11.Visual

   */
  client.state = X11Client.NORMAL;
  client.set_wm_state(Window.WMState.NORMAL);
        display.check_error();
       
        Visual visual = screenVisual.get(client.getVisualID());
        if (client.getWinClass() == X11Client.INPUT_ONLY) {
      if (client.attributes.override_redirect()) {
                client.initWindow3DRepresentation(false, true, defaultDepth, visual);
            } else {
    // use non-decoration for this also. will be change in feature
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.