Ignore:
Timestamp:
08/26/13 05:25:20 (8 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, Servo, Tab_Interface, pyramid
Children:
d31bab4
Parents:
a5b7548
Message:

UI:

  • Attention progress bar color set to red
  • Meditation progress bar color set to blue
  • Attention and Meditation slider background colors set to grey
  • Default Meditation setting to 0
  • Attention and Meditation sliders will have no effect on Hover power level when set to 0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iOS/Orbit/Orbit/SignalConverter.m

    r8a0f920f rba2b6ff  
    231231- (float) currentPowerLevel 
    232232{ 
    233     float powerLevel = attentionPower[attentionLevel] + meditationPower[meditationLevel]; 
     233    
     234    float attentionScore = attentionPower[attentionLevel]; 
     235    float meditationScore = meditationPower[meditationLevel]; 
     236     
     237    if (attentionThreshold < 0.0) { 
     238        attentionScore = 0; 
     239    } 
     240     
     241    if (meditationThreshold == 0.0) { 
     242        meditationScore = 0; 
     243    } 
     244 
     245    float powerLevel = attentionScore + meditationScore; 
    234246    if (powerLevel > 1) { 
    235247        return 1.0; 
Note: See TracChangeset for help on using the changeset viewer.