Your Digital Media Has Never Looked So Good

 
ravi
Topic Author
Posts: 12
Joined: Wed Mar 17, 2010 6:15 am

Regarding filter banner in roPosterScreen

Wed Jun 09, 2010 12:08 am

Hi,

I have three items in filter banner like Menu1,Menu2,Menu3
If the focus is on Menu2 then filter banner is perfectly filled or we can see all the three items.
But if focus is on Menu1 we can see only two items Menu1 and Menu2 there is a space on the left side of Menu1.
same when focusing on Menu3 can see only two items Menu2 and Menu3 there is space on the right side of Menu3.

When I am on "Menu 1" Is there a way to display "Menu3" on the left of "Menu 1"
And...
When I am on "Menu 3" can I display "Menu 1" on the right of the "Menu 3"?
In other words, I want these menus to move in a "circular motion" that way anytime user is on one "Menu" item
they can see others on the side.

Hope you understand my issue, really appreciate a quick help.

Ravi Pulluri.
 
greubel
Posts: 708
Joined: Wed Feb 10, 2010 4:21 pm

Re: Regarding filter banner in roPosterScreen

Mon Jun 14, 2010 3:08 pm

This should work. Just duplicate the first and last item.

port = CreateObject("roMessagePort")
ps = CreateObject("roPosterScreen")
ps.SetMessagePort(port)
ps.SetListStyle( "arced-portrait" )
ps.SetListDisplayMode( "scale-to-fit" )

ps.SetListNames( ["3","1","2","3","1"] )

ps.SetFocusedList( 2 )
ps.Show()

while true
msg = wait( 0, port )
i = msg.GetIndex()
if msg.isScreenClosed() then
exit while
else if msg.isListFocused()
if i = 0 i = 3
if i = 4 i = 1
ps.SetFocusedList( i )
end if
end while
stop
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: Regarding filter banner in roPosterScreen

Fri Jun 18, 2010 9:08 am

There is no way to change this behavior of the filter bar.... It behaves as a circular list with an "empty slot" marking the end of the list. This is so users have visual feedback on where the end of the list is.

--Kevin

Who is online

Users browsing this forum: No registered users and 1 guest