diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-07-31 01:37:40 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-07-31 01:37:40 (GMT) |
commit | dfa6b717f4a00e472755d18b700f472d3cf35c64 (patch) | |
tree | 12d88522c4d3e55f323a5b83987f93088758282a /talogo.py | |
parent | c0aaa4f624a18e500d2a9a0a2e1146950c77e479 (diff) |
adjsuting title positions
Diffstat (limited to 'talogo.py')
-rw-r--r-- | talogo.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -667,7 +667,7 @@ def show_description(lc, media, x, y, w, h): print "no description?" def draw_title(lc,title,x,y): - draw_text(lc.tw.turtle,title,int(x),0,lc.title_height, \ + draw_text(lc.tw.turtle,title,int(x),y,lc.title_height, \ lc.tw.turtle.width-x) def calc_position(lc,t): @@ -922,7 +922,7 @@ def write(lc, string, fsize): # convert from Turtle coordinates to screen coordinates x = lc.tw.turtle.width/2+int(lc.tw.turtle.xcor) y = lc.tw.turtle.height/2-int(lc.tw.turtle.ycor) - draw_text(lc.tw.turtle,string,x,y,int(fsize),lc.tw.turtle.width) + draw_text(lc.tw.turtle,string,x,y-15,int(fsize),lc.tw.turtle.width) def hideblocks(lc): from tawindow import hideshow_button |