Computer Science Canada

Gui import

Author:  Velocity [ Mon Dec 05, 2011 10:33 am ]
Post subject:  Gui import

Where's the problem it takes me to the Gui Assert section. I want to import that fille as my splash screen

Turing:


import GUI
var myPic := Pic.FileNew ("ball02.jpg")
GUI.PicDraw (myPic, 300, 300, 300, 300)



Author:  Zren [ Mon Dec 05, 2011 12:05 pm ]
Post subject:  RE:Gui import

Looks like you didn't even bother trying to read the documentation...

GUI.PicDraw (widgetID : int, picID, x, y, mode : int)

GUI.PicDraw (canvas, pic, x, y, picCopy)

There's a full example in this: http://compsci.ca/holtsoft/doc/gui_createhorizontalscrollbarfull.html

Also, why are you using GUI to draw pictures anyways?

Author:  Velocity [ Wed Dec 07, 2011 10:04 pm ]
Post subject:  RE:Gui import

@ Zren i got it to work on my school computer but i just couldnt do it at home because when i click turing reference in turing on my home turing version it says the page was not found and doesnt display anything, ill ignore the first thing you said because i always do, but thanks anyways.


: