Changeset 163
- Timestamp:
- 03/16/08 12:42:43 (4 months ago)
- Location:
- Mulberry/branches/v4.1d1/MacOS/Sources
- Files:
-
- 6 modified
-
Application/Address_Book_Manager/CAdbkManagerTable.cp (modified) (2 diffs)
-
Application/Calendar/Calendar_View/Calendar_Store_View/CCalendarStoreTable.cp (modified) (2 diffs)
-
Application/Calendar/Calendar_View/ToDo_View/CToDoItem.cp (modified) (1 diff)
-
Application/Preferences_Dialog/CPrefsAccount.cp (modified) (1 diff)
-
More ATSUI/ATSUTextConversion.cp (modified) (2 diffs)
-
More ATSUI/MoreATSUnicodeFonts.cp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Address_Book_Manager/CAdbkManagerTable.cp
r97 r163 302 302 outEnabled = true; 303 303 outUsesMark = true; 304 outMark = adbk->GetProtocol()->IsLoggedOn() ? checkMark :noMark;304 outMark = adbk->GetProtocol()->IsLoggedOn() ? (UInt16)checkMark : (UInt16)noMark; 305 305 ::GetIndString(outName, STRx_Standards, !outMark ? str_Logon : str_Logoff); 306 306 } … … 322 322 outEnabled = true; 323 323 outUsesMark = true; 324 outMark = !adbk->GetProtocol()->IsDisconnected() ? checkMark :noMark;324 outMark = !adbk->GetProtocol()->IsDisconnected() ? (UInt16)checkMark : (UInt16)noMark; 325 325 ::GetIndString(outName, STRx_Standards, !outMark ? str_Logon : str_Logoff); 326 326 } -
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Store_View/CCalendarStoreTable.cp
r160 r163 281 281 outEnabled = true; 282 282 outUsesMark = true; 283 outMark = node->GetProtocol()->IsLoggedOn() ? checkMark :noMark;283 outMark = node->GetProtocol()->IsLoggedOn() ? (UInt16)checkMark : (UInt16)noMark; 284 284 ::GetIndString(outName, STRx_Standards, !outMark ? str_Logon : str_Logoff); 285 285 } … … 301 301 outEnabled = true; 302 302 outUsesMark = true; 303 outMark = !node->GetProtocol()->IsDisconnected() ? checkMark :noMark;303 outMark = !node->GetProtocol()->IsDisconnected() ? (UInt16)checkMark : (UInt16)noMark; 304 304 ::GetIndString(outName, STRx_Standards, !outMark ? str_Logon : str_Logoff); 305 305 } -
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/ToDo_View/CToDoItem.cp
r111 r163 212 212 outEnabled = (mType == eToDo); 213 213 outUsesMark = true; 214 outMark = mIsCompleted ? checkMark :noMark;214 outMark = mIsCompleted ? (UInt16)checkMark : (UInt16)noMark; 215 215 break; 216 216 -
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Preferences_Dialog/CPrefsAccount.cp
r150 r163 449 449 } 450 450 acct->SetName(new_name); 451 mCopyPrefs->mRemoteAccounts.Value().push_back( acct);451 mCopyPrefs->mRemoteAccounts.Value().push_back((COptionsAccount*)acct); 452 452 mCopyPrefs->mRemoteAccounts.SetDirty(); 453 453 insert_pos = mCopyPrefs->mMailAccounts.GetValue().size() + -
Mulberry/branches/v4.1d1/MacOS/Sources/More ATSUI/ATSUTextConversion.cp
r74 r163 652 652 returnValue = ATSUFindFontFromName( fontName, 653 653 theSize, 654 3, // kFontUniqueName, (constant missing from SFNTTypes.h)655 -1, // kFontNoPlatform, (constant missing from SFNTTypes.h)656 -1, // kFontNoScript, (constant missing from SFNTTypes.h)657 -1, // kFontNoLanguage, (constant missing from SFNTTypes.h)654 kFontUniqueName, 655 kFontNoPlatformCode, 656 kFontNoScriptCode, 657 kFontNoLanguageCode, 658 658 &theFontID ); 659 659 if ( returnValue == noErr && theFontID != kATSUInvalidFontID ) { … … 831 831 if ( returnValue != kATSUNoCorrespondingFontErr && theFontID != kATSUInvalidFontID ) 832 832 returnValue = ATSUFindFontName( theFontID, 833 3, // kFontUniqueName, (constant missing from SFNTTypes.h)834 -1, // kFontNoPlatform, (constant missing from SFNTTypes.h)835 -1, // kFontNoScript, (constant missing from SFNTTypes.h)836 -1, // kFontNoLanguage, (constant missing from SFNTTypes.h)833 kFontUniqueName, 834 kFontNoPlatformCode, 835 kFontNoScriptCode, 836 kFontNoLanguageCode, 837 837 kMaximumNameLength, 838 838 Ptr( fontName ), -
Mulberry/branches/v4.1d1/MacOS/Sources/More ATSUI/MoreATSUnicodeFonts.cp
r74 r163 874 874 // First see if there are any names at all with the given code. 875 875 // Remember the info for that name - it'll be our first guess. 876 status = ATSUFindFontName( theFont, iNameCode, kFontNoPlatform , kFontNoScript, kFontNoLanguage,876 status = ATSUFindFontName( theFont, iNameCode, kFontNoPlatformCode, kFontNoScriptCode, kFontNoLanguageCode, 877 877 0, NULL, NULL, &bestIndex ); 878 878 if ( status == noErr ) {