Upload files to 'project_manager'
This commit is contained in:
parent
f4f70dc8d4
commit
1970a836de
1 changed files with 104 additions and 8 deletions
|
@ -130,17 +130,18 @@ def layer(win):
|
|||
|
||||
|
||||
links = {
|
||||
"NotABug":"https://notabug.org/jyamihud/VCStudio",
|
||||
"Devtalk":"https://devtalk.blender.org/u/blenderdumbass",
|
||||
"GitHub":"https://github.com/JYamihud",
|
||||
"Telegram 1":"https://t.me/blenderorganizer",
|
||||
"Telegram 2":"https://t.me/blenderdumbasschat",
|
||||
"Telegram 3":"https://t.me/moriasrace",
|
||||
"Patreon":"https://www.patreon.com/blenderdumbass",
|
||||
"Twitter":"https://twitter.com/blenderdumbass",
|
||||
#"GitHub":"https://github.com/JYamihud",
|
||||
"Telegram":"https://t.me/blenderorganizer",
|
||||
#"Telegram 2":"https://t.me/blenderdumbasschat",
|
||||
#"Telegram 3":"https://t.me/moriasrace",
|
||||
#"Patreon":"https://www.patreon.com/blenderdumbass",
|
||||
#"Twitter":"https://twitter.com/blenderdumbass",
|
||||
"Bl-chat":"https://blender.chat/channel/blenderorganizer_vcstudio",
|
||||
"LBRY":"https://lbry.tv/$/invite/@BlenderDumbass:c",
|
||||
"LBRY":"https://open.lbry.com/@blender-organizer:5?r=2caeB3mkHkXkQXAjxGXoKNPifSv91N58",
|
||||
"Music":"https://open.lbry.com/@J.Y.AmihudMusic:c?r=GLhXoQ3zcpvm6rzd9Z6dAyasTpmk1FUY",
|
||||
"Movies":"https://open.lbry.com/@VCS:7?r=GLhXoQ3zcpvm6rzd9Z6dAyasTpmk1FUY"
|
||||
#"Movies":"https://open.lbry.com/@VCS:7?r=GLhXoQ3zcpvm6rzd9Z6dAyasTpmk1FUY"
|
||||
}
|
||||
|
||||
tileY = 50
|
||||
|
@ -187,6 +188,74 @@ def layer(win):
|
|||
|
||||
current_Y = current_Y+200
|
||||
|
||||
# Secondary credits / thanks. Unrelated to this project.
|
||||
|
||||
|
||||
UI_color.set(layer, win, "text_normal")
|
||||
layer.move_to(120, current_Y+win.scroll["pm_help"])
|
||||
layer.set_font_size(20)
|
||||
layer.show_text(talk.text("help_indirect_credits"))
|
||||
|
||||
current_Y += 30
|
||||
|
||||
credits = {
|
||||
"Richard Stallman":[
|
||||
"project_manager/help_images/stallman.png",
|
||||
"https://www.gnu.org/",
|
||||
talk.text("help_stallman")
|
||||
],
|
||||
"Linus Torvalds":[
|
||||
"project_manager/help_images/torvalds.png",
|
||||
"https://www.linuxfoundation.org/",
|
||||
talk.text("help_torvalds")
|
||||
],
|
||||
"Ton Roosendaal":[
|
||||
"project_manager/help_images/roosendaal.png",
|
||||
"https://www.blender.org/",
|
||||
talk.text("help_roosendaal")
|
||||
]
|
||||
}
|
||||
|
||||
tileX = 150
|
||||
for credit in credits:
|
||||
UI_elements.image(layer, win, credits[credit][0], tileX,
|
||||
current_Y+win.scroll["pm_help"] )
|
||||
|
||||
UI_color.set(layer, win, "text_normal")
|
||||
layer.move_to(tileX, current_Y+win.scroll["pm_help"]+150)
|
||||
layer.set_font_size(15)
|
||||
layer.show_text(credit)
|
||||
|
||||
def do():
|
||||
os.system("xdg-open "+credits[credit][1])
|
||||
UI_elements.roundrect(layer, win,
|
||||
tileX-20,
|
||||
current_Y+win.scroll["pm_help"]-10,
|
||||
170,
|
||||
200,
|
||||
10,
|
||||
button=do,
|
||||
fill=False,
|
||||
tip=credits[credit][2],
|
||||
clip=[
|
||||
100,
|
||||
110,
|
||||
win.current["w"]-200,
|
||||
win.current["h"]-260,
|
||||
])
|
||||
layer.stroke()
|
||||
|
||||
tileX += 250
|
||||
if tileX > win.current["w"]-300:
|
||||
current_Y += 250
|
||||
tileX = 150
|
||||
|
||||
|
||||
current_Y += 250
|
||||
|
||||
# Movies
|
||||
|
||||
|
||||
movies = {
|
||||
"I'm Not Even Human":[
|
||||
"2018/05/01",
|
||||
|
@ -247,6 +316,33 @@ def layer(win):
|
|||
|
||||
current_Y = current_Y+400
|
||||
|
||||
# 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,
|
||||
])
|
||||
|
||||
UI_color.set(layer, win, "text_normal")
|
||||
layer.move_to(160, current_Y+win.scroll["pm_help"])
|
||||
layer.set_font_size(20)
|
||||
layer.show_text(talk.text("help_read_wiki"))
|
||||
|
||||
current_Y += 60
|
||||
|
||||
# Tutorials about VCStudio.
|
||||
UI_color.set(layer, win, "text_normal")
|
||||
layer.move_to(120, current_Y+win.scroll["pm_help"])
|
||||
|
|
Loading…
Reference in a new issue