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

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

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

revision 1.50 by benja, Wed Sep 25 10:56:54 2002 UTC revision 1.51 by tjl, Wed Sep 25 14:45:43 2002 UTC
# Line 238  public static final String rcsid = "$Id$ Line 238  public static final String rcsid = "$Id$
238      /** Get the X and Y coordinates in the main viewport of the given mouse event.      /** Get the X and Y coordinates in the main viewport of the given mouse event.
239       */       */
240      float[] getXYInMain(MouseEvent me, VobKeyer.Main entry) {      float[] getXYInMain(MouseEvent me, VobKeyer.Main entry) {
241          int cs = currentScene.coords.getCoordsys(entry.coordKey);          int cs = currentScene.matcher.getCS(entry.coordKey);
242          if(dbg) p("cs: "+cs);          if(dbg) p("cs: "+cs);
243    
244          Vob.RenderInfo inf = currentScene.coords.getRenderInfo(cs);          Vob.RenderInfo inf = currentScene.coords.getRenderInfo(cs);
# Line 252  public static final String rcsid = "$Id$ Line 252  public static final String rcsid = "$Id$
252      try {      try {
253          p("PP client mouse "+me);          p("PP client mouse "+me);
254                    
255          final Object key = currentScene.coords          final Object key = currentScene.getKeyAt(me.getX(), me.getY(), null);
                 .getKeyAt(currentScene.map, me.getX(), me.getY(), null);  
256    
257          p("Pointed at vob with key "+key);          p("Pointed at vob with key "+key);
258    

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

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