epoc32/include/mw/aknfontidoffsets.hrh
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files

/*
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* 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
* which accompanies this distribution, and is available
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Constants and offsets for Scalable and Encoded Font IDs
*
*/



#ifndef AKNFONTIDOFFSETS_H
#define AKNFONTIDOFFSETS_H

/**
* Constants and Offsets for Scalable and Encoded Font IDs
*/

// Constant to form the base value for the definition of Logical fonts
#define KAknHighestFixedLayoutFont (0x100-1)
// This constant is retained for binary compatibility
#define KHighestFixedLayoutFont (KAknHighestFixedLayoutFont)

/**
* Number of reserved Avkon logical font IDs.
* @since S60 3.2
*/
#define KAknNumberOfReservedLogicalFonts (0x200)

#define KAknLowestScalableLayoutFont (0x1000)
#define KAknHighestLogicalFont (KAknLowestScalableLayoutFont-1)
enum {EScalableFontIdOffset = KAknLowestScalableLayoutFont };

// "Lowest" is defined in an unsigned context
#define KAknLowestEncodedFontId (0x80000000)
#define KAknHighestScalableLayoutFont (KAknLowestEncodedFontId-1)

// Define lowest end of range of IDs to be generated by toolchain
// Start at Scalable ID offset, but leave space for all the "lay scaled" IDs
#define KAknLowestGeneratedFontId  (KAknLowestScalableLayoutFont+KAknHighestFixedLayoutFont+1) 

#endif
// End of File