216 |
final BgVob bg = BgVob.create(plane, window); |
final BgVob bg = BgVob.create(plane, window); |
217 |
|
|
218 |
final IrregularFrame f = IrregularFrame.create(-16000,-16000,16000,16000, |
final IrregularFrame f = IrregularFrame.create(-16000,-16000,16000,16000, |
219 |
irreguBorder, irreguRipple); |
irreguBorder, irreguRipple, 2); |
220 |
|
|
221 |
final int frameUnit = vs.unitSqCS(frameCS, "USQ"); |
final int frameUnit = vs.unitSqCS(frameCS, "USQ"); |
222 |
|
|
401 |
int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10, |
int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10, |
402 |
(-mainWidth)/2, -mainHeight/2, 1, 1, |
(-mainWidth)/2, -mainHeight/2, 1, 1, |
403 |
mainWidth, mainHeight); |
mainWidth, mainHeight); |
404 |
|
/* |
405 |
|
int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10, |
406 |
|
0, 0, 1,1, |
407 |
|
mainWidth/2, mainHeight/2); |
408 |
|
*/ |
409 |
vs.activate(frameCS); |
vs.activate(frameCS); |
410 |
|
|
411 |
// cell to frame CS |
// cell to frame CS |
412 |
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10); |
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10); |
413 |
|
//int c2fCS = vs.coords.ortho(0, -5,-5,0, 20,20); |
414 |
vs.matcher.add(frameCS, c2fCS, "C2F"); |
vs.matcher.add(frameCS, c2fCS, "C2F"); |
415 |
|
|
416 |
MAIN_CS = frameCS; |
MAIN_CS = frameCS; |
549 |
int paper_count=0; |
int paper_count=0; |
550 |
int accursed_paper_count=0; |
int accursed_paper_count=0; |
551 |
for (; p!=null; paper_count++) { |
for (; p!=null; paper_count++) { |
552 |
if (p==accursed_p) accursed_paper_count = paper_count; |
if (p.h(d.contains)==accursed_p.h(d.contains)) accursed_paper_count = paper_count; |
553 |
p = p.s(d.d1); |
p = p.s(d.d1); |
554 |
} |
} |
555 |
|
|
592 |
int c2f = vs.coords.ortho(0, 11, 0, 0, |
int c2f = vs.coords.ortho(0, 11, 0, 0, |
593 |
leftPanelZoom, leftPanelZoom); |
leftPanelZoom, leftPanelZoom); |
594 |
vs.matcher.add(fr, c2f, "C2F"); |
vs.matcher.add(fr, c2f, "C2F"); |
595 |
|
ev_handler.onClick(fr, "Shortcut link", new Object[]{p, new Integer(MAIN_CS), new Integer(fr)}); |
|
ev_handler.onClick(fr, "Shortcut link", new Object[]{p, new Integer(MAIN_CS), new Integer(ctr)}); |
|
596 |
/* |
/* |
597 |
if (interps.get("shortcut") != null) { |
if (interps.get("shortcut") != null) { |
598 |
((DefaultVobMatcher)vs.matcher).keymapSingleCoordsys(MAIN_CS, |
((DefaultVobMatcher)vs.matcher).keymapSingleCoordsys(MAIN_CS, |