Exemple #1
0
 private Color clipColor(TimeMaschineClipEvent clipEvent)
 {
     if (clipEvent == TimeMaschineClipEvent.PAUSE)
     {
         return(pauseColor);
     }
     else
     {
         return(throughColor);
     }
 }
Exemple #2
0
    private Color onEndClipColor(TimeMaschineClipEvent clipEvent)
    {
        Color c;

        if (clipEvent == TimeMaschineClipEvent.PAUSE)
        {
            c = pauseColor;
        }
        else
        {
            c = throughColor;
        }

        c.a = 0.3f;

        return(c);
    }