www.pudn.com > 2DGameAnimS60C_v1_0.zip > RetroLeafTileset.h


//////////////////////////////////////////////////////////////////////// 
// 
// RetroLeafTileset.h 
// 
// Copyright (c) 2003 Nokia Mobile Phones Ltd.  All rights reserved. 
// 
//////////////////////////////////////////////////////////////////////// 
 
#ifndef __RETROLEAFTILESET_H 
#define __RETROLEAFTILESET_H 
 
#include "Tileset.h" 
 
//////////////////////////////////////////////////////////////////////// 
 
class CRetroLeafTileset : public CTileset  
	{ 
public: 
	static CRetroLeafTileset* NewL(CFbsBitmap& aSourceImage); 
	~CRetroLeafTileset(); 
 
protected: 
	CRetroLeafTileset(); 
    void ConstructL(CFbsBitmap& aSourceImage); 
	void BuildTile(CFbsBitmap& aSourceImage,TInt frame_no,CFbsBitGc* aGc); 
 
	enum { KRightIsForeground		= 1 }; 
	enum { KLeftIsForeground		= 2 }; 
	enum { KIsTopLeftBottomRight	= 4 }; 
 
private: 
	TSize iSize; 
	}; 
 
//////////////////////////////////////////////////////////////////////// 
 
#endif