/[gzz]/gzz/gzz/modules/pp/PPView2.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/PPView2.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by benja, Wed Nov 6 17:41:22 2002 UTC revision 1.18 by mudyc, Thu Nov 21 14:30:31 2002 UTC
# Line 27  import gzz.gfx.gl.*; Line 27  import gzz.gfx.gl.*;
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;
# Line 385  public class PPView2 implements View { Line 386  public class PPView2 implements View {
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,

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26