42 |
java.awt.Canvas fakeSource = new java.awt.Canvas(); |
java.awt.Canvas fakeSource = new java.awt.Canvas(); |
43 |
|
|
44 |
HashMap timeouts = new HashMap(); |
HashMap timeouts = new HashMap(); |
45 |
|
|
46 |
static int mapButton(int button) { |
static int mapButton(int button) { |
47 |
switch(button) { |
switch(button) { |
48 |
case 1 : return InputEvent.BUTTON1_MASK; |
case 1 : return InputEvent.BUTTON1_MASK; |
187 |
} |
} |
188 |
|
|
189 |
|
|
190 |
|
public void setCursor(int shape) { |
191 |
|
window.setCursor(shape); |
192 |
|
} |
193 |
|
|
194 |
|
|
195 |
public void setLocation(int x, int y, int w, int h) { |
public void setLocation(int x, int y, int w, int h) { |
196 |
if(dbg) pa("glscreen setloc "+x+" "+y+" "+w+" "+h); |
if(dbg) pa("glscreen setloc "+x+" "+y+" "+w+" "+h); |
197 |
window.move(x,y); |
window.move(x,y); |