Your Digital Media Has Never Looked So Good

 
rsromeo
Topic Author
Posts: 103
Joined: Wed Jun 02, 2010 4:25 pm

Changing Background Color

Tue Nov 14, 2017 6:55 am

Hi, I'm learning SG and am using the videoplayer-master-channel sample.  I have been trying to change the background color for the channel from gray and cannot get it to work.  I've gone into the VideoScene.xml and changed Rectangle color, I've looked in CategoryScene.xml but don't see any background color settings.  I checked manifest.  Can anyone possibly point me in the right direction here?  I basically want all my scenes to have same background color.  With the old SDK, I used roAppManager to do this.
 
User avatar
squirreltown
Posts: 747
Joined: Sun Apr 21, 2013 2:20 pm

Re: Changing Background Color

Tue Nov 14, 2017 7:59 am

rsromeo wrote:
  I basically want all my scenes to have same background color.  With the old SDK, I used roAppManager to do this.


m.top.backgroundColor = "0x000000FF" 
m.top.backgroundURI = "



Should be in the init() functions in your .brs files.
Kinetics Screensaver (kineticsscreensaver), Kinetics³ Screensaver(kinetics3), Kinetics Painter Screensaver (kineticspainter), Kinetics Splash Screensaver (kineticssplash)
 
rsromeo
Topic Author
Posts: 103
Joined: Wed Jun 02, 2010 4:25 pm

Re: Changing Background Color

Tue Nov 14, 2017 11:11 am

awesome!!  thanks!!  worked perfectly.

Who is online

Users browsing this forum: No registered users and 5 guests