1.1 --- a/epoc32/include/mw/aknfontidoffsets.hrh Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/aknfontidoffsets.hrh Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,51 @@
1.4 -aknfontidoffsets.hrh
1.5 +/*
1.6 +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Constants and offsets for Scalable and Encoded Font IDs
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +
1.24 +#ifndef AKNFONTIDOFFSETS_H
1.25 +#define AKNFONTIDOFFSETS_H
1.26 +
1.27 +/**
1.28 +* Constants and Offsets for Scalable and Encoded Font IDs
1.29 +*/
1.30 +
1.31 +// Constant to form the base value for the definition of Logical fonts
1.32 +#define KAknHighestFixedLayoutFont (0x100-1)
1.33 +// This constant is retained for binary compatibility
1.34 +#define KHighestFixedLayoutFont (KAknHighestFixedLayoutFont)
1.35 +
1.36 +/**
1.37 +* Number of reserved Avkon logical font IDs.
1.38 +* @since S60 3.2
1.39 +*/
1.40 +#define KAknNumberOfReservedLogicalFonts (0x200)
1.41 +
1.42 +#define KAknLowestScalableLayoutFont (0x1000)
1.43 +#define KAknHighestLogicalFont (KAknLowestScalableLayoutFont-1)
1.44 +enum {EScalableFontIdOffset = KAknLowestScalableLayoutFont };
1.45 +
1.46 +// "Lowest" is defined in an unsigned context
1.47 +#define KAknLowestEncodedFontId (0x80000000)
1.48 +#define KAknHighestScalableLayoutFont (KAknLowestEncodedFontId-1)
1.49 +
1.50 +// Define lowest end of range of IDs to be generated by toolchain
1.51 +// Start at Scalable ID offset, but leave space for all the "lay scaled" IDs
1.52 +#define KAknLowestGeneratedFontId (KAknLowestScalableLayoutFont+KAknHighestFixedLayoutFont+1)
1.53 +
1.54 +#endif
1.55 +// End of File