graphicsdeviceinterface/gdi/inc/displaymode.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Header for TDisplayMode.
       
    15 //
       
    16 
       
    17 #ifndef DISPLAYMODE_H
       
    18 #define DISPLAYMODE_H
       
    19 
       
    20 /** Display modes. 
       
    21 @publishedAll
       
    22 @released
       
    23 */
       
    24 enum TDisplayMode
       
    25 	{
       
    26 	/** No display mode */
       
    27 	ENone,
       
    28 	/** Monochrome display mode (1 bpp) */
       
    29 	EGray2,
       
    30 	/** Four grayscales display mode (2 bpp) */
       
    31 	EGray4,
       
    32 	/** 16 grayscales display mode (4 bpp) */
       
    33 	EGray16,
       
    34 	/** 256 grayscales display mode (8 bpp) */
       
    35 	EGray256,
       
    36 	/** Low colour EGA 16 colour display mode (4 bpp) */
       
    37 	EColor16,
       
    38 	/** 256 colour display mode (8 bpp) */
       
    39 	EColor256,
       
    40 	/** 64,000 colour display mode (16 bpp) */
       
    41 	EColor64K,
       
    42 	/** True colour display mode (24 bpp) */
       
    43 	EColor16M,
       
    44 	/** (Not an actual display mode used for moving buffers containing bitmaps) */
       
    45 	ERgb,
       
    46 	/** 4096 colour display (12 bpp). */
       
    47 	EColor4K,
       
    48 	/** True colour display mode (32 bpp, but top byte is unused and unspecified) */
       
    49 	EColor16MU,
       
    50 	/** Display mode with alpha (24bpp colour plus 8bpp alpha) */
       
    51 	EColor16MA,
       
    52 	/** Pre-multiplied Alpha display mode (24bpp color multiplied with the alpha channel value, plus 8bpp alpha) */
       
    53 	EColor16MAP,
       
    54 	//Any new display mode should be insterted here!
       
    55 	//There might be up to 255 display modes, so value of the last
       
    56 	//inserted EColorXXX enum item should be less than 256 -
       
    57 	//BC reasons!
       
    58 	EColorLast
       
    59 	};
       
    60 
       
    61 #endif /* DISPLAYMODE_H */