bcoding
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2015
11:27 AM
working with two screens
Hi, is there a way that I can use two screens one at the top of another. I believe this can be done with by creating multiple objects of roImageCanvas. However, I want the second screen to only cover a fraction of the whole display so that the previous screen underneath is visible in the background but I only want the top screen to be listening to events.
Thanks.
Thanks.
2 REPLIES 2
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2015
02:22 PM
Re: working with two screens
I've used multiple image canvases at the same time. Just use TargetRect to draw to whatever area you desire. I believe the default behavior is that only the top screen will receive events, but I just assigned the same message port to all image canvases and didn't really care which one was getting the event; I was going to perform the same actions no matter what.
-JT
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
bcoding
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2015
07:12 AM
Re: working with two screens
"renojim" wrote:
I've used multiple image canvases at the same time. Just use TargetRect to draw to whatever area you desire. I believe the default behavior is that only the top screen will receive events, but I just assigned the same message port to all image canvases and didn't really care which one was getting the event; I was going to perform the same actions no matter what.
-JT
thank you for the information.