Re: [Pipmak-Devel] [pipmak-devel] Would like to make a small addition to Pipmak
Status: Alpha
                
                Brought to you by:
                
                    cwalther
                    
                
            | 
     
      
      
      From: rivenwanderer <riv...@ya...> - 2008-11-02 07:18:40
      
     
   | 
http://www.nabble.com/file/p20287577/defaults.lua defaults.lua OK, that was easier than I'd expected! I've uploaded my implementation (assuming the Nabble interface does what I want). The tabs may be wrong, and the nesting of if blocks is a bit messy, but it works :) I discovered that if you specify a handle with a negative azimuth, it draws properly when you show handles with "C", but the negative portion does not recognize your clicks to transfer you to the target node. So I added a check to make sure that my center-referenced coordinates are always converted to positive azimuths (maybe this should be done for all azimuths? or should other work be done so that the click is recognized?) I'd obviously like to see center-referenced handles make it into the official release at some point--but I saw that the pipmak_internal.handle(handle) function can be overridden by defining it in my own project's main.lua, which makes me happy :) Thanks for the help so far! -- View this message in context: http://www.nabble.com/Would-like-to-make-a-small-addition-to-Pipmak-tp20269828p20287577.html Sent from the pipmak-devel mailing list archive at Nabble.com.  |