Update contrib.
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Demonstration handwriting class
18 #if !defined(__HNDLODR_H__)
21 #if !defined(__E32STD_H__)
24 #if !defined(__E32BASE_H__)
27 #if !defined(__W32STD_H__)
30 #if !defined(__HANDCMD_H__)
35 class RHandWritingAnim : public RAnim
38 inline RHandWritingAnim(RAnimDll& aDll) :RAnim(aDll) {}
39 TInt Construct(const RWsSprite& aDevice);
42 TInt SpriteMaskChange(TBool aUsingSeparateMask);
43 void SetDrawData(const THandwritingDrawData& aDrawData);
44 TInt GetLastGeneratedCharacter();
47 class CHandWriting : public CBase
50 CHandWriting(RWsSession& aSession);
51 void ConstructL(TSize aScreenSize,RWindowGroup& aGroup,TBool aUseSeparateMask);
53 void SetMaskL(TBool aUseSeparateMask);
56 void CreateSpriteL(TSize aScreenSize,RWindowGroup& aGroup,TBool aUseSeparateMask);
58 void FillInSpriteMember(TSpriteMember& aMember);
62 RHandWritingAnim iAnim;
65 CFbsBitmap *iMaskBitmap;