jkard
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011
02:00 PM
Background Image
Hey Gang,
What is the best way to do a background image? I would like to put one on a Poster and Springboard screen, and am not really finding a conclusive way to do it. I keep seeing mention of the roImageCanvas, but not sure if the discussions (viewtopic.php?f=34&t=43667&p=297578&hilit=image#p297578) are doing specifically what I need.
What is the "proper" or "best" method for putting an image behind a Poster and Springboard screen? Can it be done without creating a whole customized canvas?
Thanks
Jay
What is the best way to do a background image? I would like to put one on a Poster and Springboard screen, and am not really finding a conclusive way to do it. I keep seeing mention of the roImageCanvas, but not sure if the discussions (viewtopic.php?f=34&t=43667&p=297578&hilit=image#p297578) are doing specifically what I need.
What is the "proper" or "best" method for putting an image behind a Poster and Springboard screen? Can it be done without creating a whole customized canvas?
Thanks
Jay
7 REPLIES 7


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011
02:26 PM
Re: Background Image
"jkard" wrote:
What is the best way to do a background image? I would like to put one on a Poster and Springboard screen, and am not really finding a conclusive way to do it. I keep seeing mention of the roImageCanvas, but not sure if the discussions (viewtopic.php?f=34&t=43667&p=297578&hilit=image#p297578) are doing specifically what I need.
What is the "proper" or "best" method for putting an image behind a Poster and Springboard screen? Can it be done without creating a whole customized canvas?
It's not possible to change the background of a roPosterScreen or a roSpringboardScreen to anything other than a solid color. To accomplish something like that, you would have to build your own screen type from scratch using roImageCanvas (or roScreen on 3.0 and up).
jkard
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011
02:36 PM
Re: Background Image
Thanks Chris,
What is the roScreen? I'm not seeing it referenced in my 3.0 documentation. I looked in the Compontent Reference and the Brightscript 3.0 Reference and it's not mentioned.
Any pointers?
Thanks
J
What is the roScreen? I'm not seeing it referenced in my 3.0 documentation. I looked in the Compontent Reference and the Brightscript 3.0 Reference and it's not mentioned.
Any pointers?
Thanks
J


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011
02:49 PM
Re: Background Image
"jkard" wrote:
What is the roScreen? I'm not seeing it referenced in my 3.0 documentation. I looked in the Compontent Reference and the Brightscript 3.0 Reference and it's not mentioned.
Assuming you have the 3.0 SDK (viewtopic.php?f=34&t=39272), it's section 11 of the BrightScript Reference.
jkard
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011
02:55 PM
Re: Background Image
Got it, thanks!
koshermetal
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011
12:26 PM
Re: Background Image
"RokuChris" wrote:
It's not possible to change the background of a roPosterScreen or a roSpringboardScreen to anything other than a solid color.
This is what I'm trying to figure out. How do I change the background(s) from gray to black? I'm used to working with HTML so my eyes are trained to look for things like <background color="000000">
Anyone know how I can change the default background color? I'm using the videoplayer example and SDK 29
Thanks!
Free 24/7 Metal radio via web or smartphone
www.koshermetal.com
www.koshermetal.com
brocker
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011
01:20 PM
Re: Background Image
To change the background color you only need to set the "BackgroundColor" of the roAppManager. For example
Most of the example projects have this code set in the InitTheme or InitializeTheme methods.
Hope that helps!
Bud
app = CreateObject("roAppManager")
theme = CreateObject("roAssociativeArray")
theme.BackgroundColor = "#000000"
app.SetTheme(theme)
Most of the example projects have this code set in the InitTheme or InitializeTheme methods.
Hope that helps!
Bud
koshermetal
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011
01:33 PM
Re: Background Image
Thanks Bud! I will try that out.
Free 24/7 Metal radio via web or smartphone
www.koshermetal.com
www.koshermetal.com