376 |
ev_handler.onClick(frameCS, "Click MAINVP", |
ev_handler.onClick(frameCS, "Click MAINVP", |
377 |
new Object[]{ new Integer(mainctr), new Integer(frameCS)} |
new Object[]{ new Integer(mainctr), new Integer(frameCS)} |
378 |
); |
); |
379 |
ev_handler.onDrag(frameCS, "Drag MAINVP"); |
ev_handler.onDrag(frameCS, "Drag MAINVP", |
380 |
|
new Object[]{ new Integer(mainctr), new Integer(frameCS)} |
381 |
|
); |
382 |
|
pp_events.setKingCS(frameCS); |
383 |
|
|
384 |
|
|
385 |
// cell to frame CS |
// cell to frame CS |
386 |
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10); |
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10); |
387 |
vs.matcher.add(mainctr, c2fCS, "C2F"); |
vs.matcher.add(mainctr, c2fCS, "C2F"); |
388 |
|
|
389 |
|
|
390 |
int[] coords = getCoords(context.getAccursed()); |
int[] coords = getCoords(context.getAccursed()); |
391 |
if(coords != null) { |
if(coords != null) { |
392 |
panx = coords[0]; |
panx = coords[0]; |