Changeset 6100
- Timestamp:
- Jun 9, 2008, 10:45:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/PiecesView.m
r6099 r6100 39 39 [fBack lockFocus]; 40 40 CTGradient * gradient = [CTGradient gradientWithBeginningColor: [NSColor colorWithCalibratedWhite: 0.0 alpha: 0.4] 41 endingColor: [NSColor colorWithCalibratedWhite: 0.2 5alpha: 0.4]];41 endingColor: [NSColor colorWithCalibratedWhite: 0.2 alpha: 0.4]]; 42 42 [gradient fillRect: [self bounds] angle: 90.0]; 43 43 [fBack unlockFocus]; … … 162 162 163 163 if (showAvailablity) 164 { if (index==0) NSLog(@"%d", pieces[index]);164 { 165 165 int piece = pieces[index]; 166 166 if (piece == -1) … … 212 212 } 213 213 else 214 { if (index==0) NSLog(@"%f", piecesPercent[index]);214 { 215 215 float piecePercent = piecesPercent[index]; 216 216 if (piecePercent >= 1.0)
Note: See TracChangeset
for help on using the changeset viewer.