diff --git a/rp_doc.py b/rp_doc.py index 38c371b..ecd4b5e 100644 --- a/rp_doc.py +++ b/rp_doc.py @@ -505,14 +505,26 @@ def chapter(cont): scene.objects['Doc_title'].setVisible(False,True) text_hide() +## +# Cacher le texte +## + def text_hide(): for i in range (13): scene.objects['Doc_text-l'+str(i+1)].setVisible(False, False) +## +# Effacer le texte +## + def text_clear(): for i in range (13): scene.objects['Doc_text-l'+str(i+1)]['Text'] = "" +## +# Afficher le texte +## + def text_update(text): lines = text.split("\n") for i in range (13):