comparison src/main/java/jp/ac/u_ryukyu/alicevnc/CreateWindow.java @ 47:9354e8a1d03b

working AliceVNC
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Mon, 19 Oct 2015 23:48:18 +0900
parents 6f5986d8ecd5
children 57ca704f86a3
comparison
equal deleted inserted replaced
46:51e57371c620 47:9354e8a1d03b
19 19
20 public class CreateWindow extends CodeSegment { 20 public class CreateWindow extends CodeSegment {
21 21
22 private Receiver info = ids.create(CommandType.PEEK); 22 private Receiver info = ids.create(CommandType.PEEK);
23 23
24 public CreateWindow(String key){ 24 public CreateWindow(String key, CodeSegment cs){
25 info.setKey(key, "initMessage"); 25 this.aliceDaemon = cs.aliceDaemon;
26 info.setKey(key, "initMessage", this);
26 } 27 }
27 28
28 public void run() { 29 public void run() {
29 PixelFormat pixelFormat = null; 30 PixelFormat pixelFormat = null;
30 int width = 0; 31 int width = 0;