Changeset 111 for Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Free_Busy_View/CFreeBusyTable.cp
- Timestamp:
- 10/28/07 23:29:14 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Free_Busy_View/CFreeBusyTable.cp
r97 r111 138 138 139 139 // Red for busy, green for free, blue for tentative, grey for unavailable 140 float red = 0. 5;141 float green = 0. 5;142 float blue = 0. 5;140 float red = 0.0; 141 float green = 0.0; 142 float blue = 0.0; 143 143 switch((*iter).first) 144 144 { … … 150 150 break; 151 151 case iCal::CICalendarFreeBusy::eBusyUnavailable: 152 red = 0. 75;153 green = 0. 75;154 blue = 0. 75;152 red = 0.25; 153 green = 0.25; 154 blue = 0.25; 155 155 break; 156 156 case iCal::CICalendarFreeBusy::eBusy: … … 158 158 break; 159 159 } 160 CGUtils:: UnflattenColours(red, green, blue);160 CGUtils::LightenColours(red, green, blue); 161 161 162 162 // Draw it … … 193 193 ::CGContextSetGrayStrokeColor(inContext, (inCell.col > 2) ? 0.75 : 0.5, 1.0); 194 194 ::CGContextStrokePath(inContext); 195 ::CGContextClosePath(inContext);195 //::CGContextClosePath(inContext); 196 196 197 197 // Right-side only for last column … … 203 203 ::CGContextSetGrayStrokeColor(inContext, 0.5, 1.0); 204 204 ::CGContextStrokePath(inContext); 205 ::CGContextClosePath(inContext);205 //::CGContextClosePath(inContext); 206 206 } 207 207 … … 212 212 ::CGContextSetGrayStrokeColor(inContext, 0.5, 1.0); 213 213 ::CGContextStrokePath(inContext); 214 ::CGContextClosePath(inContext);214 //::CGContextClosePath(inContext); 215 215 216 216 // Bottom-side for last row … … 222 222 ::CGContextSetGrayStrokeColor(inContext, 0.5, 1.0); 223 223 ::CGContextStrokePath(inContext); 224 ::CGContextClosePath(inContext);224 //::CGContextClosePath(inContext); 225 225 } 226 226