From 98e176fec2bd78fd136a883a022a0a4ae82b668f Mon Sep 17 00:00:00 2001 From: "Jeison Yehuda Amihud (Blender Dumbass)" Date: Fri, 25 Dec 2020 14:22:28 +0000 Subject: [PATCH] Upload files to 'project_manager' --- project_manager/pm_helpLayer.py | 61 +++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 19 deletions(-) diff --git a/project_manager/pm_helpLayer.py b/project_manager/pm_helpLayer.py index 039575e..645b105 100644 --- a/project_manager/pm_helpLayer.py +++ b/project_manager/pm_helpLayer.py @@ -318,29 +318,52 @@ def layer(win): # Wiki - def do(): - os.system("xdg-open https://notabug.org/jyamihud/VCStudio/wiki/_pages") - UI_elements.roundrect(layer, win, - 110, - current_Y+win.scroll["pm_help"]-25, - win.current["w"]-250, - 40, - 10, - button=do, - icon="internet", - tip="https://notabug.org/jyamihud/VCStudio/wiki/_pages", - clip=[ - 100, - 110, - win.current["w"]-200, - win.current["h"]-260, - ]) - + # Tutorials about VCStudio. UI_color.set(layer, win, "text_normal") - layer.move_to(160, current_Y+win.scroll["pm_help"]) + layer.move_to(120, current_Y+win.scroll["pm_help"]) layer.set_font_size(20) layer.show_text(talk.text("help_read_wiki")) + current_Y = current_Y+20 + + tutorials = [ + ["Documenation | Installation | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Installation+%7C+Version+20.128"], + ["Documenation | Project Manager | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Project+Manager+%7C+Version+20.128"], + ["Documenation | Story Editor | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Story+Editor+%7C+Version+20.128+"], + ["Documenation | Script Writer | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Script+Writer+%7C+Version+20.128"], + ["Documenation | Analytics | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Analytics+%7C+Version+20.128"], + ["Documenation | Assets | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Assets+%7C+Version+20.128"], + ["Documenation | Linking Assets | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Linking+Assets+%7C+Version+20.128"], + ["Documenation | Rendering | Version 20.128", "https://notabug.org/jyamihud/VCStudio/wiki/Documenation+%7C+Rendering+%7C+Version+20.128"] + ] + + for tutorial in tutorials: + def do(): + os.system("xdg-open "+tutorial[1]) + UI_elements.roundrect(layer, win, + 110, + current_Y+win.scroll["pm_help"], + win.current["w"]-250, + 40, + 10, + button=do, + icon="scene", + tip=tutorial[1], + clip=[ + 100, + 110, + win.current["w"]-200, + win.current["h"]-260, + ]) + + UI_color.set(layer, win, "text_normal") + layer.move_to(160, current_Y+win.scroll["pm_help"]+25) + layer.set_font_size(20) + layer.show_text(tutorial[0]) + + current_Y = current_Y+50 + + current_Y += 60 # Tutorials about VCStudio.