retroleaftileset.h
来自「symbian系统上的2D图形游戏」· C头文件 代码 · 共 39 行
H
39 行
////////////////////////////////////////////////////////////////////////
//
// 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?