Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Gui import
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Velocity




PostPosted: 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)


Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: 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?
Velocity




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: