I have the following:
'Resolution-specific settings:
mode=CreateObject("roDeviceInfo").GetDisplayType()
If mode="HDTV"
layout={
full: {x:0,y:0,w:canvas.GetWidth(),h:canvas.GetHeight()}
top: { x: 0, y: 0, w:1280, h: 130 }
left: { x: 249, y: 177, w: 391, h: 291 }
right: { x: 700, y: 177, w: 350, h: 291 }
bottom: { x: 249, y: 500, w: 780, h: 300 }
}
'background="pkg:/images/back-hd.jpg"
headerfont=fonts.Get("lmroman10 caps",50,50,FALSE)
Else
layout={
full: {x:0,y:0,w:canvas.GetWidth(),h:canvas.GetHeight()}
top: { x: 0, y: 0, w: 720, h: 80 }
left: { x: 100, y: 100, w: 280, h: 210 }
right: { x: 400, y: 100, w: 220, h: 210 }
bottom: { x: 100, y: 340, w: 520, h: 140 }
}
'background="pkg:/images/back-sd.jpg"
headerfont=fonts.Get("lmroman10 caps",30,50,FALSE)
End If
And have the following with the bitmap image that I want to use that is in my images folder.
bmp=createobject("roBitmap","pkg:/images/.png")
bmp.setAlphaEnable(true)
canvas.drawobject(0,0,bmp)
canvas.swapbuffers()
startupcomplete=false
In the first set of code above, what does the back-sd.jpg refer too? It's not an image that I have. Is it just the background that the bitmap is being drawn over?
http://www.victoryNOWfilmsandtv.com