Commit fa966855 authored by Bastien Terrier's avatar Bastien Terrier
Browse files

slide show : fix global pos after each sentence

parent ce0bc570
......@@ -42,6 +42,9 @@ def displayCharacter(char):
def displaySentence(sentence):
global_x_pos = i_screen_width - i_margin
global_y_pos = i_margin
for char in sentence:
if (ord(char) >= ord('A') and ord(char) <= ord('Z')) or char == "?" or char == "!" or char == " " :
displayCharacter(char)
......
......@@ -15,7 +15,7 @@ s_xeyes_command = "xeyes -geometry {0}x{0}-".format(i_xeyes_size)
i_margin = 100
global_x_pos = i_screen_width - i_margin
global_y_pos = 300
global_y_pos = i_margin
local_x_pos = 0
local_y_pos = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment