Jump to content
AVIC411.com

clock color day/night


Recommended Posts

There is a bNightMode variable with a boolean model of screen.nightmode

 

So this should work:

 

Copy the line that draws the clock (something like this:

 

Change visiblemodel to visiblemodel="gps.current_time.valid&!screen.nightmode"

 

This will be the clock that is displayed when you have GPS signal AND NOT in night colors.

 

Copy the line, paste it right after the original and chnage visiblemodel to be

visiblemodel="gps.current_time.valid&screen.nightmode"

 

This will be shown if the map is using night colors.

Link to post
Share on other sites

I'll have to experiment with it... You may want to make sure that you give them different names (i.e. txtTimeDay and txtTimeNight).

 

Since screen.nightmode comes straight from one of AVIC's variable definition files, we should have this function, so it's probably a syntax error somewhere.

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...