os/kernelhwsrv/kernel/eka/include/winsdef.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kernel/eka/include/winsdef.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,68 @@
     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 the License "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 +// e32\include\winsdef.h
    1.18 +// 
    1.19 +// WARNING: This file contains some APIs which are internal and are subject
    1.20 +//          to change without notice. Such APIs should therefore not be used
    1.21 +//          outside the Kernel and Hardware Services package.
    1.22 +//
    1.23 +
    1.24 +/**
    1.25 + @file
    1.26 + @internalAll
    1.27 +*/
    1.28 +
    1.29 +#ifndef __WINSDEF_H__
    1.30 +#define __WINSDEF_H__
    1.31 +
    1.32 +#include <e32def.h>
    1.33 +
    1.34 +
    1.35 +// flip the emulator window
    1.36 +
    1.37 +enum TEmulatorFlip {EEmulatorFlipRestore,EEmulatorFlipInvert,EEmulatorFlipLeft,EEmulatorFlipRight};
    1.38 +
    1.39 +// emulator multiple color depth capabilities
    1.40 +
    1.41 +enum
    1.42 +	{
    1.43 +	KEmulGray2=				0x00000001,
    1.44 +	KEmulGray4=				0x00000002,
    1.45 +	KEmulGray16=			0x00000004,
    1.46 +	KEmulGray256=			0x00000008,
    1.47 +	KEmulColor16=			0x00000010,
    1.48 +	KEmulColor256=			0x00000020,
    1.49 +	KEmulColor4K=			0x00000040,
    1.50 +	KEmulColor64K=			0x00000080,
    1.51 +	KEmulColor16M=			0x00000100,
    1.52 +
    1.53 +	KEmulMaxNumModes=		30,	//Setting this to max bit index (9) will save a few bytes...
    1.54 +	
    1.55 +	KEmulIsBitMask=			0x40000000,
    1.56 +	
    1.57 +	KEmulColours=			KEmulColor16|KEmulColor256|KEmulColor4K|KEmulColor64K|KEmulColor16M,
    1.58 +	KEmulGrays=				KEmulGray2|KEmulGray4|KEmulGray16|KEmulGray256,
    1.59 +	KEmulModes=				KEmulColours|KEmulGrays,
    1.60 +	
    1.61 +	KEmulPixPerLong32=		KEmulGray2,
    1.62 +	KEmulPixPerLong16=		KEmulGray4,
    1.63 +	KEmulPixPerLong8=		KEmulGray16|KEmulColor16,
    1.64 +	KEmulPixPerLong4=		KEmulGray256|KEmulColor256,
    1.65 +	KEmulPixPerLong2=		KEmulColor4K|KEmulColor64K,
    1.66 +	KEmulPixPerLong1=		KEmulColor16M,
    1.67 +	};
    1.68 +
    1.69 +#endif
    1.70 +
    1.71 +