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