1 |
from __future__ import nested_scopes |
from __future__ import nested_scopes |
2 |
# Test the buoy system in general |
# Test the buoy system in general |
3 |
|
|
4 |
|
import test |
5 |
from test.tools.gfx import * |
from test.tools.gfx import * |
6 |
|
|
7 |
from gzz.view.buoy import * |
from gzz.view.buoy import * |
8 |
|
from gzz.view.buoy import BuoyLinkListener |
9 |
|
|
10 |
|
|
11 |
# The test pageimagescroll |
# The test pageimagescroll |
33 |
|
|
34 |
# Put a piece of the pagespan into it |
# Put a piece of the pagespan into it |
35 |
cell = space.getHomeCell() |
cell = space.getHomeCell() |
36 |
cell.setEnfilade(sb.getCurrent().subSpan(0,1).subArea(10, 10, 20, 20)) |
space.getCellTexter().setEnfilade( |
37 |
|
cell, pagespanNodes.makeEnf( |
38 |
|
sb.getCurrent().subSpan(0,1).subArea(10, 10, 20, 20))) |
39 |
|
|
40 |
|
|
41 |
# Create the buoy view elements |
# Create the buoy view elements |