48 |
static Object origKey = new Object(), viewKey = new Object(); |
static Object origKey = new Object(), viewKey = new Object(); |
49 |
static Object boxKey = new Object(), whKey = new Object(); |
static Object boxKey = new Object(), whKey = new Object(); |
50 |
static Object[] dimKeys = { new Object(), new Object(), new Object() }; |
static Object[] dimKeys = { new Object(), new Object(), new Object() }; |
|
static Object[] dimRectKeys = { new Object(), new Object(), new Object() }; |
|
51 |
|
|
52 |
/** The spacing between the boxes with the different dimensions. |
/** The spacing between the boxes with the different dimensions. |
53 |
*/ |
*/ |
76 |
sc.orthoBoxCS(into, dimKeys[1], 0, 0, h+space, 1, 1, w, h), |
sc.orthoBoxCS(into, dimKeys[1], 0, 0, h+space, 1, 1, w, h), |
77 |
sc.orthoBoxCS(into, dimKeys[2], 0, w+space, h+space, 1, 1, w, h) |
sc.orthoBoxCS(into, dimKeys[2], 0, w+space, h+space, 1, 1, w, h) |
78 |
}; |
}; |
|
int targ_unitSq[] = new int[3]; |
|
79 |
|
|
80 |
for(int i=0; i<3; i++) { |
for(int i=0; i<3; i++) { |
81 |
int cs = sc.orthoCS(targ[i], dimKeys[i], 0, 5, 5, h-10, h-10); |
int cs = sc.orthoCS(targ[i], dimKeys[i], 0, 5, 5, h-10, h-10); |
|
/* XXX Because we cannot give depth for UnisSqCS, and AWT crashes |
|
|
with depth for TextVobCS, we should create background CS last. */ |
|
|
targ_unitSq[i] = sc.unitSqCS(targ[i], dimRectKeys[0]); |
|
82 |
|
|
83 |
sc.map.put(conn, targ[i], orig); |
sc.map.put(conn, targ[i], orig); |
84 |
sc.map.put(bg, targ_unitSq[i]); |
sc.map.put(bg, targ[i]); |
85 |
sc.map.put(new TextVob(style, dims[i].name), cs); |
sc.map.put(new TextVob(style, dims[i].name), cs); |
86 |
} |
} |
87 |
|
|