/[navidoc]/navidoc/navidoc/mp/__init__.py
ViewVC logotype

Diff of /navidoc/navidoc/mp/__init__.py

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

revision 1.3 by humppake, Thu Mar 27 09:33:48 2003 UTC revision 1.4 by humppake, Thu Mar 27 10:02:40 2003 UTC
# Line 37  import config Line 37  import config
37  dbg = config.dbg.shorthand('mp')  dbg = config.dbg.shorthand('mp')
38  dbg_fail = config.dbg.shorthand('mp.fail')  dbg_fail = config.dbg.shorthand('mp.fail')
39    
   
40  def link_draw_code(self, target, title, bbox, focus=0, rough_edge=1, error=0):  def link_draw_code(self, target, title, bbox, focus=0, rough_edge=1, error=0):
41      if error: return 'showlinkerror("'target+'", '+title+',  ('+box+'));'      if error: return 'showlinkerror("'+target+'", '+title+',  ('+box+'));'
42      if not focus: return 'showlink("'target+'", '+title+',  ('+box+'));'      if not focus: return 'showlink("'+target+'", '+title+',  ('+box+'));'
43      else:      else:
44          if rough_edge: return 'showfocus("'+target+'", '+title+', ('+box+'));'+"\n"+'drawRoughEdge(('+box+'));'          if rough_edge: return 'showfocus("'+target+'", '+title+', ('+box+'));'+"\n"+'drawRoughEdge(('+box+'));'
45          else: return 'showfocus("'target+'", '+title+', ('+box+'));'          else: return 'showfocus("'target+'", '+title+', ('+box+'));'

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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