sl@0: // Copyright (c) 1998-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: // Header for TDisplayMode. sl@0: // sl@0: sl@0: #ifndef DISPLAYMODE_H sl@0: #define DISPLAYMODE_H sl@0: sl@0: /** Display modes. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TDisplayMode sl@0: { sl@0: /** No display mode */ sl@0: ENone, sl@0: /** Monochrome display mode (1 bpp) */ sl@0: EGray2, sl@0: /** Four grayscales display mode (2 bpp) */ sl@0: EGray4, sl@0: /** 16 grayscales display mode (4 bpp) */ sl@0: EGray16, sl@0: /** 256 grayscales display mode (8 bpp) */ sl@0: EGray256, sl@0: /** Low colour EGA 16 colour display mode (4 bpp) */ sl@0: EColor16, sl@0: /** 256 colour display mode (8 bpp) */ sl@0: EColor256, sl@0: /** 64,000 colour display mode (16 bpp) */ sl@0: EColor64K, sl@0: /** True colour display mode (24 bpp) */ sl@0: EColor16M, sl@0: /** (Not an actual display mode used for moving buffers containing bitmaps) */ sl@0: ERgb, sl@0: /** 4096 colour display (12 bpp). */ sl@0: EColor4K, sl@0: /** True colour display mode (32 bpp, but top byte is unused and unspecified) */ sl@0: EColor16MU, sl@0: /** Display mode with alpha (24bpp colour plus 8bpp alpha) */ sl@0: EColor16MA, sl@0: /** Pre-multiplied Alpha display mode (24bpp color multiplied with the alpha channel value, plus 8bpp alpha) */ sl@0: EColor16MAP, sl@0: //Any new display mode should be insterted here! sl@0: //There might be up to 255 display modes, so value of the last sl@0: //inserted EColorXXX enum item should be less than 256 - sl@0: //BC reasons! sl@0: EColorLast sl@0: }; sl@0: sl@0: #endif /* DISPLAYMODE_H */