uiacceltk/hitchcock/CommonInc/huiwscanvascommands.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 07:56:43 +0200
changeset 0 15bf7259bb7c
child 3 d8a3531bc6b8
permissions -rw-r--r--
Revision: 201003

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   
*
*/



#ifndef HUIWSCANVASCOMMANDS_H_
#define HUIWSCANVASCOMMANDS_H_


enum TSgcCanvasCommands
     {
     EAlfSendSyncDataBlock = 1,
     EAlfDrawCommandsStart,
     EAlfCommandEndMarker,
     EAlfSendEndMarker,

     EAlfBitBlt,
     EAlfBitBltRect,
     EAlfBitBltMasked,
     EAlfBitBltMaskedPoint,
     EAlfCombinedBitBlitMasked,
     
     //10
     EAlfResetClippingRegion,
     EAlfClear,
     EAlfClearRect,
     EAlfResetBrushPattern,
     EAlfResetFont,
     EAlfDrawArc,
     EAlfDrawPie,
     EAlfDrawBitmap1,
     EAlfDrawBitmap2,
     EAlfDrawBitmap3,

     //20
     EAlfDrawBitmapMasked,
     EAlfDrawRoundRect,
     EAlfDrawPolyLine,
     EAlfDrawPolyLineNoEndPoint,
     EAlfDrawPolygon,
     EAlfDrawEllipse,
     EAlfDrawLine,
     EAlfDrawLineTo,
     EAlfDrawLineBy,
     EAlfDrawRect,

     //30
     EAlfDrawText1,
     EAlfDrawText2,
     EAlfDrawText3,
     EAlfDrawText4,
     EAlfDrawText5,
     EAlfDrawTextVertical1,
     EAlfDrawTextVertical2,
     EAlfDrawTextVertical3,
     EAlfDrawTextVertical4,
     EAlfDrawTextVertical5,

     //40
     EAlfMoveTo,
     EAlfMoveBy,
     EAlfPlot,
     EAlfReset,
     EAlfSetBrushColor,
     EAlfSetBrushOrigin,
     EAlfSetBrushStyle,
     EAlfSetClippingRegion,
     EAlfSetDrawMode,
     EAlfSetOrigin,
     
     //50
     EAlfSetPenColor,
     EAlfSetPenStyle,
     EAlfSetPenSize,
     EAlfSetTextShadowColor,
     EAlfSetCharJustification,
     EAlfSetWordJustification,
     EAlfSetUnderlineStyle,
     EAlfSetStrikethroughStyle,
     EAlfSetBrushPattern,
     EAlfSetBrushPattern2,

     //60
     EAlfSetFont,
     EAlfCopyRect,
     EAlfUpdateJustification,
     EAlfUpdateJustificationVertical,
     EAlfSetFontNoDuplicate,
     EAlfHasBrushPattern,
     EAlfHasFont,
     EAlfBrushColor,
     EAlfPenColor,
     EAlfTextShadowColor,
 
     //70
      EAlfCopySettings,
     EAlfSetClippingRect,
     EAlfCancelClippingRect,
     EAlfSetFaded,
     EAlfSetFadingParameters,
     EAlfFadeArea,
     EAlfMapColors,
     EAlfSetUserDisplayMode,
     EAlfUseFont,
     EAlfSetUpdateRegion,

     // 80
     EAlfSetShapeRegion,
     
     EAlfContentTag,
     EAlfFrameFlags,
    
     EAlfPacketReady,
     EAlfPacketNotReady,
     EAlfPacketPadding,
     EAlfDrawCommandsEnd,
     EAlfSetWindowId,
     EAlfWindowInactivateWindow,
     EAlfWrap,
     EAlfJumpToAnotherChunk,
	 EAlfDestroyChunk,

     // 90
     EAlfSetExtent,
     EAlfNodeCreated,
     EAlfNodeReleased,
     EAlfNodeActivated,
     EAlfNodeExtentChanged,
     EAlfNodeSiblingOrderChanged,
     EAlfNodeFlagChanged,
     EAlfNodeAttributeChanged,
     EAlfNodeFadeCountChanged,
     EAlfNodeTransparentRegionChanged,

     // 100
     EAlfNodeLayerAdded,
     EAlfNodeMovedToWindowGroup,
     EAlfNodeWindowGroupChained,
     EAlfNodeWindowGroupChainBrokenAfter,
     EAlfCommandNotInitialized,
     EAlfCommitBatch,
     EAlfFrameContainsUnsupportedCommands,
     EAlfDebugTrackNode,
     EAlfNodeLayerExtentChanged,
     EAlfNodeLayerUsesAlphaFlagChanged,
     EAlfNodeFadeAllChildren,
     EAlfCommandIndexArray,
     EAlfCommandIndexArrayHeader,
     // This must be kept as last command!
     EAlfLastCommand
     };

enum TAlfSendBufferFrameFlags
        {
        EAlfTransparentContent = 0x01,
        EAlfTransparentContentFlush = 0x02
        };

#endif /* HUIWSCANVASCOMMANDS_H_ */