Ignore:
Timestamp:
Nov 7, 2009, 10:58:14 PM (13 years ago)
Author:
livings124
Message:

tiny changes I have sitting around

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/ProgressGradients.m

    r7659 r9491  
    4646{
    4747    if (!fProgressWhiteGradient)
    48         fProgressWhiteGradient = [[[self class] progressGradientForRed: 0.95f green: 0.95f blue: 0.95f] retain];
     48        fProgressWhiteGradient = [[[self class] progressGradientForRed: 0.95 green: 0.95  blue: 0.95] retain];
    4949    return fProgressWhiteGradient;
    5050}
     
    5454{
    5555    if (!fProgressGrayGradient)
    56         fProgressGrayGradient = [[[self class] progressGradientForRed: 0.7f green: 0.7f blue: 0.7f] retain];
     56        fProgressGrayGradient = [[[self class] progressGradientForRed: 0.7 green: 0.7  blue: 0.7] retain];
    5757    return fProgressGrayGradient;
    5858}
     
    6262{
    6363    if (!fProgressLightGrayGradient)
    64         fProgressLightGrayGradient = [[[self class] progressGradientForRed: 0.87f green: 0.87f blue: 0.87f] retain];
     64        fProgressLightGrayGradient = [[[self class] progressGradientForRed: 0.87 green: 0.87  blue: 0.87] retain];
    6565    return fProgressLightGrayGradient;
    6666}
     
    7070{
    7171    if (!fProgressBlueGradient)
    72         fProgressBlueGradient = [[[self class] progressGradientForRed: 0.35f green: 0.67f blue: 0.98f] retain];
     72        fProgressBlueGradient = [[[self class] progressGradientForRed: 0.35 green: 0.67  blue: 0.98] retain];
    7373    return fProgressBlueGradient;
    7474}
     
    7878{
    7979    if (!fProgressDarkBlueGradient)
    80         fProgressDarkBlueGradient = [[[self class] progressGradientForRed: 0.616f green: 0.722f blue: 0.776f] retain];
     80        fProgressDarkBlueGradient = [[[self class] progressGradientForRed: 0.616 green: 0.722  blue: 0.776] retain];
    8181    return fProgressDarkBlueGradient;
    8282}
     
    8686{
    8787    if (!fProgressGreenGradient)
    88         fProgressGreenGradient = [[[self class] progressGradientForRed: 0.44f green: 0.89f blue: 0.40f] retain];
     88        fProgressGreenGradient = [[[self class] progressGradientForRed: 0.44 green: 0.89  blue: 0.40] retain];
    8989    return fProgressGreenGradient;
    9090}
     
    9494{
    9595    if (!fProgressLightGreenGradient)
    96         fProgressLightGreenGradient = [[[self class] progressGradientForRed: 0.62f green: 0.99f blue: 0.58f] retain];
     96        fProgressLightGreenGradient = [[[self class] progressGradientForRed: 0.62 green: 0.99  blue: 0.58] retain];
    9797    return fProgressLightGreenGradient;
    9898}
     
    102102{
    103103    if (!fProgressDarkGreenGradient)
    104         fProgressDarkGreenGradient = [[[self class] progressGradientForRed: 0.627f green: 0.714f blue: 0.639f] retain];
     104        fProgressDarkGreenGradient = [[[self class] progressGradientForRed: 0.627 green: 0.714  blue: 0.639] retain];
    105105    return fProgressDarkGreenGradient;
    106106}
     
    110110{
    111111    if (!fProgressRedGradient)
    112         fProgressRedGradient = [[[self class] progressGradientForRed: 0.902f green: 0.439f blue: 0.451f] retain];
     112        fProgressRedGradient = [[[self class] progressGradientForRed: 0.902 green: 0.439  blue: 0.451] retain];
    113113    return fProgressRedGradient;
    114114}
     
    118118{
    119119    if (!fProgressYellowGradient)
    120         fProgressYellowGradient = [[[self class] progressGradientForRed: 0.933f green: 0.890f blue: 0.243f] retain];
     120        fProgressYellowGradient = [[[self class] progressGradientForRed: 0.933 green: 0.890  blue: 0.243] retain];
    121121    return fProgressYellowGradient;
    122122}
Note: See TracChangeset for help on using the changeset viewer.