27 |
import gzz.vob.*; |
import gzz.vob.*; |
28 |
import gzz.vob.impl.*; |
import gzz.vob.impl.*; |
29 |
import gzz.vob.buoy.*; |
import gzz.vob.buoy.*; |
30 |
|
import gzz.vob.vobs.*; |
31 |
import gzz.view.*; |
import gzz.view.*; |
32 |
import gzz.*; |
import gzz.*; |
33 |
import java.awt.Dimension; |
import java.awt.Dimension; |
386 |
// the left panel |
// the left panel |
387 |
Cell p = main_vc.getAccursed().h(d.contains).h(d.d1).s(d.d1); |
Cell p = main_vc.getAccursed().h(d.contains).h(d.d1).s(d.d1); |
388 |
float x = 0.5f * leftPanelWidth; |
float x = 0.5f * leftPanelWidth; |
389 |
|
|
390 |
|
// put the "New paper" -text |
391 |
|
TextVob new_button = new TextVob(style, "New paper"); |
392 |
|
float scale = style.getScaleByHeight(40); |
393 |
|
int button_cs = vs.orthoCS(0, "NEW_BUTTON", 0, 0, 0, |
394 |
|
new_button.getHeight(scale) + new_button.getDepth(scale), |
395 |
|
new_button.getHeight(scale) + new_button.getDepth(scale)); |
396 |
|
vs.map.put(new_button, button_cs); |
397 |
|
|
398 |
for(float y = 1.5f*leftPanelObjectHeight; p != null; |
for(float y = 1.5f*leftPanelObjectHeight; p != null; |
399 |
y += leftPanelObjectHeight) { |
y += leftPanelObjectHeight) { |
400 |
int ctr = ((GLVobCoorder)vs.coords).affineCoordsys(0, 0, |
int ctr = ((GLVobCoorder)vs.coords).affineCoordsys(0, 0, |