
-----------------------------------
Hyugun
Thu May 08, 2008 11:16 pm

Background Picture
-----------------------------------
I'm trying  to put a background image inside my program, how do I do that? Basically like a background image in html which you can write text on the window.

-----------------------------------
lordroba
Fri May 09, 2008 12:23 am

Re: Background Picture
-----------------------------------
if you mean just basically having a picture set in the back then just go like this...



var picID : int
var x, y : int
picID := Pic.FileNew ("background.jpg")
x := 0
y := 0
Pic.Draw (picID, x, y, picCopy)


replace background.jpg with whatever name and extension your picture is.

-----------------------------------
Tony
Fri May 09, 2008 12:31 am

RE:Background Picture
-----------------------------------
if you then want to write text on a transparent background (so to see the image behind the text), you'd need to use Font.Draw()
