"brocker" wrote:
Thanks folks,
So yes, I changed the images to be my own, but posted the demo code so it would be familiar. Sorry for the confusion.
Destruk - What is the routine to set the theme? I was guessing that the "initTheme()" simply tells the Roku box what the images are, but that there then is a method that sets the theme to the UI when called. It's that second piece that I'm not fully understanding.
I see in the demos, there is a method called "showHomeScreen" that has different logic in each project, so not 100% positive of the SIMPLEST way to set the theme.
Is that something you can point me to?
Thanks!
Bud
I'm not destruk, but... typically, the call to initTheme() should be the first call in your Main/RunUserInterface routine. In the SimpleVideoPlayer example, you'll see that call on line 8 of appMain.brs.
The name "initTheme" isn't inherent or special. It's just what the example author chose to call it, because that's what it does. The same is true for the "showHomeScreen" method. It's just a descriptive name that the author chose, that in most of the examples contains the code that displays the main screen of the channel/app.
Aside from the entry points Main, RunUserInterface, RunScreenSaver, and RunScreenSaverSettings (see section 2.5 of the component reference), any functions you define in your code need to be explicitly called by your code.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)