I am using the videoplayer example code for the springboard in a simple channel. My main screen is a grid that goes to a springboard screen when a video is selected. My main screen has a particular company logo at the top left corner along with a overhang color. When I go to the springboard screen my logo and overhang is replaced by a blue banner across the top. I have looked thru out the code of the springboard and see no where to set or change the element. I am setting its attributes by the following
item= {
SDPosterUrl:logoName
HDPosterUrl:logoName
Stream: streamName
Title: chanName
exten: extName
}
showSpringboardScreen(item)
Once called it enters the following
Function showSpringboardScreen(item as object) As Boolean
port = CreateObject("roMessagePort")
screen = CreateObject("roSpringboardScreen")
print "showSpringboardScreen"
screen.SetMessagePort(port)
screen.AllowUpdates(false)
if item <> invalid and type(item) = "roAssociativeArray"
screen.SetContent(item)
endif
screen.SetDescriptionStyle("generic")
screen.ClearButtons()
screen.AddButton(1,"Play")
screen.AddButton(2,"Go Back")
screen.AddButton(3,"Add Favorite")
screen.SetStaticRatingEnabled(false)
screen.AllowUpdates(true)
screen.Show()
downKey=3
selectKey=6
while true
msg = wait(0, screen.GetMessagePort())
if type(msg) = "roSpringboardScreenEvent"
if msg.isScreenClosed()
print "Screen closed"
exit while
else if msg.isButtonPressed()
print "Button pressed: "; msg.GetIndex(); " " msg.GetData()
if msg.GetIndex() = 1 'PLAY STREAM
playcontent (item.stream, item.chanName, item.exten) 'SEND INFO TO PLAYER
else if msg.GetIndex() = 2
return true
endif
else
closeout()
print "Unknown event: "; msg.GetType(); " msg: "; msg.GetMessage()
endif
else
print "wrong type.... type=";msg.GetType(); " msg: "; msg.GetMessage()
endif
end while
return true
End Function
Not really seeing where the blue banner stripe across the top is coming from.