Mercurial > hg > Applications > TreeVNC
view src/main/java/jp/ac/u_ryukyu/treevnc/RectangleBlocking.java @ 485:520a9a3e4975
fix screen visiblitiy
author | kono |
---|---|
date | Fri, 25 Jan 2019 20:49:29 +0900 |
parents | 4accfd4ea9c2 |
children |
line wrap: on
line source
package jp.ac.u_ryukyu.treevnc; import com.glavsoft.rfb.encoding.decoder.FramebufferUpdateRectangle; import java.awt.*; import java.util.ArrayList; import java.util.Iterator; public class RectangleBlocking implements Iterable<FramebufferUpdateRectangle> { ArrayList<FramebufferUpdateRectangle> blocks = new ArrayList<FramebufferUpdateRectangle>(10000); FramebufferUpdateRectangle rectangle; RectangleBlocking(FramebufferUpdateRectangle rectangle) { this.rectangle = rectangle; } public Iterator<FramebufferUpdateRectangle> iterator() { return new Iterator<FramebufferUpdateRectangle>() { int x=0,y=0; @Override public boolean hasNext() { return false; } @Override public FramebufferUpdateRectangle next() { return null; } }; } }