os/kernelhwsrv/kernel/eka/include/winsdef.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 the License "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
// e32\include\winsdef.h
sl@0
    15
// 
sl@0
    16
// WARNING: This file contains some APIs which are internal and are subject
sl@0
    17
//          to change without notice. Such APIs should therefore not be used
sl@0
    18
//          outside the Kernel and Hardware Services package.
sl@0
    19
//
sl@0
    20
sl@0
    21
/**
sl@0
    22
 @file
sl@0
    23
 @internalAll
sl@0
    24
*/
sl@0
    25
sl@0
    26
#ifndef __WINSDEF_H__
sl@0
    27
#define __WINSDEF_H__
sl@0
    28
sl@0
    29
#include <e32def.h>
sl@0
    30
sl@0
    31
sl@0
    32
// flip the emulator window
sl@0
    33
sl@0
    34
enum TEmulatorFlip {EEmulatorFlipRestore,EEmulatorFlipInvert,EEmulatorFlipLeft,EEmulatorFlipRight};
sl@0
    35
sl@0
    36
// emulator multiple color depth capabilities
sl@0
    37
sl@0
    38
enum
sl@0
    39
	{
sl@0
    40
	KEmulGray2=				0x00000001,
sl@0
    41
	KEmulGray4=				0x00000002,
sl@0
    42
	KEmulGray16=			0x00000004,
sl@0
    43
	KEmulGray256=			0x00000008,
sl@0
    44
	KEmulColor16=			0x00000010,
sl@0
    45
	KEmulColor256=			0x00000020,
sl@0
    46
	KEmulColor4K=			0x00000040,
sl@0
    47
	KEmulColor64K=			0x00000080,
sl@0
    48
	KEmulColor16M=			0x00000100,
sl@0
    49
sl@0
    50
	KEmulMaxNumModes=		30,	//Setting this to max bit index (9) will save a few bytes...
sl@0
    51
	
sl@0
    52
	KEmulIsBitMask=			0x40000000,
sl@0
    53
	
sl@0
    54
	KEmulColours=			KEmulColor16|KEmulColor256|KEmulColor4K|KEmulColor64K|KEmulColor16M,
sl@0
    55
	KEmulGrays=				KEmulGray2|KEmulGray4|KEmulGray16|KEmulGray256,
sl@0
    56
	KEmulModes=				KEmulColours|KEmulGrays,
sl@0
    57
	
sl@0
    58
	KEmulPixPerLong32=		KEmulGray2,
sl@0
    59
	KEmulPixPerLong16=		KEmulGray4,
sl@0
    60
	KEmulPixPerLong8=		KEmulGray16|KEmulColor16,
sl@0
    61
	KEmulPixPerLong4=		KEmulGray256|KEmulColor256,
sl@0
    62
	KEmulPixPerLong2=		KEmulColor4K|KEmulColor64K,
sl@0
    63
	KEmulPixPerLong1=		KEmulColor16M,
sl@0
    64
	};
sl@0
    65
sl@0
    66
#endif
sl@0
    67
sl@0
    68