Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


tips:feelslike

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:feelslike [2015/01/27 21:39]
jt3 [Explanation]
tips:feelslike [2015/01/27 21:58] (current)
jt3
Line 29: Line 29:
   - Display   - Display
  
-Then, simply edit the Opacity field of the two objects with the applicable example.  What this does is create the appearance of a single text object.  The Opposing opacity values ensure that the two objects will never both show at the same time.  If there is a HeatIndex, then the HeatIndex text object will show.  If not, then the Wind Chill text object will show.  Yes, that means it will show if there is neither Heatindex nor Wind Chill, but that's okay, because at that point, the Wind Chill object display Actual Temperature anyway, which is what we want.+Then, simply edit the Opacity field of the two objects with the applicable example.  What this does is create the appearance of a single text object.  The Opposing opacity values ensure that the two objects will never both show at the same time.  If there is a HeatIndex, then the HeatIndex text object will show.  If not, then the Wind Chill text object will show.  Yes, that means that the Wind Chill object will show when there is neither Heatindex nor Wind Chill, but that's okay, because at that point, the Wind Chill object displays Actual Temperature anyway, which is what we want.
  
-Having said all that, let's go back to that lenghty list of fields that need to be identical.  Notice color wasn't among them?  It's fine to have them be different colors; say, Red for Heatindex and Blue for Wind Chill.  Just keep in mind that Wind Chill will be shown even if there's currently neither modifier in play.  If you elect to use different colors, you may want to conditionally change the colors of the Wind Chill object so that it's (running with our previous examples) blue when there's a wind chill and white when there isn't.  This will prevent you from having to create a third text object just to keep your color scheme.  In this case, the formula would be placed under the Tint section of the text object, and would look something like:+Having said all that, let's go back to that lengthy list of fields that need to be identical.  Notice color wasn't among them?  It's fine to have them be different colors; say, Red for Heatindex and Blue for Wind Chill.  Just keep in mind that Wind Chill will be shown even if there's currently neither modifier in play.  If you elect to use different colors, you may want to conditionally change the colors of the Wind Chill object so that it's (running with our previous examples) blue when there's a wind chill and white when there isn't.  This will prevent you from having to create a third text object just to keep your color scheme.  In this case, the formula would be placed under the Tint section of the text object, and would look something like:
  
    {wt}>50 and 'FFFFFF' or {wws}<3.1 and 'FFFFFF' or '0000FF'     {wt}>50 and 'FFFFFF' or {wws}<3.1 and 'FFFFFF' or '0000FF' 
tips/feelslike.txt ยท Last modified: 2015/01/27 21:58 by jt3