Changeset 118
- Timestamp:
- 11/17/07 21:30:41 (9 months ago)
- Location:
- Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Window
- Files:
-
- 2 modified
-
CCalendarEventBase.cp (modified) (6 diffs)
-
CCalendarEventBase.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Window/CCalendarEventBase.cp
r111 r118 61 61 mNextLink = NULL; 62 62 mColour = 0; 63 mIsInbox = false; 63 64 } 64 65 … … 141 142 mColour = calstore::CCalendarStoreManager::sCalendarStoreManager->GetCalendarColour(cal); 142 143 } 144 145 // Check for inbox 146 const calstore::CCalendarStoreNode* node = calstore::CCalendarStoreManager::sCalendarStoreManager->GetNode(cal); 147 mIsInbox = node->IsInbox(); 148 143 149 } 144 150 … … 371 377 372 378 ::CGContextSetLineWidth(inContext, 0.75); 379 if (mIsInbox) 380 { 381 // Dashed line 382 float dashes[2] = { 6.0, 6.0 }; 383 ::CGContextSetLineDash(inContext, 0.0, dashes, 2); 384 } 385 373 386 if (!mAllDay) 374 387 ::CGContextSetShouldAntialias(inContext, false); … … 379 392 380 393 ::CGContextSetLineWidth(inContext, 1.0); 394 if (mIsInbox) 395 { 396 // Continuous line 397 ::CGContextSetLineDash(inContext, 0.0, NULL, 0); 398 } 381 399 382 400 // Check for now marker … … 542 560 else 543 561 ::CGContextSetLineWidth(inContext, 0.5); 562 if (mIsInbox) 563 { 564 // Dashed line 565 float dashes[2] = { 6.0, 6.0 }; 566 ::CGContextSetLineDash(inContext, 0.0, dashes, 2); 567 } 544 568 545 569 ::CGContextAddPath(inContext, path); … … 547 571 548 572 ::CGContextSetLineWidth(inContext, 1.0); 573 if (mIsInbox) 574 { 575 // Continuous line 576 ::CGContextSetLineDash(inContext, 0.0, NULL, 0); 577 } 549 578 550 579 // Check for now marker -
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Window/CCalendarEventBase.h
r97 r118 143 143 uint32_t mColour; 144 144 iCal::CICalendarPeriod mPeriod; 145 bool mIsInbox; 145 146 146 147 virtual void FinishCreateSelf();