1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/graphics/graphicsdeviceinterface/gdi/inc/displaymode.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,61 @@
1.4 +// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Header for TDisplayMode.
1.18 +//
1.19 +
1.20 +#ifndef DISPLAYMODE_H
1.21 +#define DISPLAYMODE_H
1.22 +
1.23 +/** Display modes.
1.24 +@publishedAll
1.25 +@released
1.26 +*/
1.27 +enum TDisplayMode
1.28 + {
1.29 + /** No display mode */
1.30 + ENone,
1.31 + /** Monochrome display mode (1 bpp) */
1.32 + EGray2,
1.33 + /** Four grayscales display mode (2 bpp) */
1.34 + EGray4,
1.35 + /** 16 grayscales display mode (4 bpp) */
1.36 + EGray16,
1.37 + /** 256 grayscales display mode (8 bpp) */
1.38 + EGray256,
1.39 + /** Low colour EGA 16 colour display mode (4 bpp) */
1.40 + EColor16,
1.41 + /** 256 colour display mode (8 bpp) */
1.42 + EColor256,
1.43 + /** 64,000 colour display mode (16 bpp) */
1.44 + EColor64K,
1.45 + /** True colour display mode (24 bpp) */
1.46 + EColor16M,
1.47 + /** (Not an actual display mode used for moving buffers containing bitmaps) */
1.48 + ERgb,
1.49 + /** 4096 colour display (12 bpp). */
1.50 + EColor4K,
1.51 + /** True colour display mode (32 bpp, but top byte is unused and unspecified) */
1.52 + EColor16MU,
1.53 + /** Display mode with alpha (24bpp colour plus 8bpp alpha) */
1.54 + EColor16MA,
1.55 + /** Pre-multiplied Alpha display mode (24bpp color multiplied with the alpha channel value, plus 8bpp alpha) */
1.56 + EColor16MAP,
1.57 + //Any new display mode should be insterted here!
1.58 + //There might be up to 255 display modes, so value of the last
1.59 + //inserted EColorXXX enum item should be less than 256 -
1.60 + //BC reasons!
1.61 + EColorLast
1.62 + };
1.63 +
1.64 +#endif /* DISPLAYMODE_H */