sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef GLYPHLUTAB_H_ sl@0: #define GLYPHLUTAB_H_ sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: /** sl@0: Outline colour index used to get percentage of outline colour. This is used to get the final colour from the lookup table. sl@0: */ sl@0: const TInt KOutlineColorIndex = 0; sl@0: sl@0: /** sl@0: Shadow colour index used to get percentage of shadow colour. This is used to get the final colour from the lookup table. sl@0: */ sl@0: const TInt KShadowColorIndex = 1; sl@0: sl@0: /** sl@0: Fill colour index used to get percentage of fill colour. This is used to get the final colour from the lookup table. sl@0: */ sl@0: const TInt KFillColorIndex = 2; sl@0: sl@0: /** sl@0: Background colour index used to get percentage of background colour. This is used to get the final colour from the lookup table. sl@0: */ sl@0: const TInt KBackgroundColorIndex = 3; sl@0: sl@0: /** sl@0: Lookup table used for outline and shadow fonts. sl@0: */ sl@0: GLREF_D const TInt FourColorBlendLookup[256][4]; sl@0: sl@0: /** sl@0: The structure of a compound font. sl@0: */ sl@0: struct TCompoundFont sl@0: { sl@0: TInt iOutline; sl@0: TInt iShadow; sl@0: TInt iFill; sl@0: TInt iBackground; sl@0: }; sl@0: sl@0: #endif