/[fenfire]/fenfire/org/fenfire/view/lava/FenPDFContext.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/lava/FenPDFContext.java

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

revision 1.16 by mudyc, Wed May 21 17:56:04 2003 UTC revision 1.17 by mudyc, Wed May 21 18:07:58 2003 UTC
# Line 171  public class FenPDFContext implements Line 171  public class FenPDFContext implements
171    
172      public void renderContext(VobScene vs, int into)      public void renderContext(VobScene vs, int into)
173      {      {
174          Button b = new Button(vs, 0, GraphicsAPI.getInstance().          Button b = new Button(vs, 0, 30, 0, 50);
                                      getTextStyle("sans", 0, 24),  
                                      30, 0, 50);  
175          b.add("[Import PS/PDF]", "IMPORT");          b.add("[Import PS/PDF]", "IMPORT");
176          b.add("[New paper]",     "NEW_PAPER");          b.add("[New paper]",     "NEW_PAPER");
177    
# Line 208  public class FenPDFContext implements Line 206  public class FenPDFContext implements
206                  fd.show();  // now wait until user makes a desicion                  fd.show();  // now wait until user makes a desicion
207                  fd.hide();                  fd.hide();
208                  p("ps/pdf to be added: "+fd.getDirectory()+fd.getFile());                  p("ps/pdf to be added: "+fd.getDirectory()+fd.getFile());
209                    if (fd.getDirectory() == null) return null;
210    
211                  ScrollBlock sc = alph.addFile(new File(fd.getDirectory()+fd.getFile()),                  ScrollBlock sc = alph.addFile(new File(fd.getDirectory()+fd.getFile()),
212                                                "application/pdf");                                                "application/pdf");

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

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