oandxdefs.h

来自「Symbian OS C++ for Mobile Phones v3 Exam」· C头文件 代码 · 共 26 行

H
26
字号
// Copyright (c) 2004 - 2006, Symbian Software Ltd. All rights reserved.

#ifndef OANDXDEFS_H
#define OANDXDEFS_H

// Generic board data
static const TInt KTilesPerRow = 3;
static const TInt KTilesPerCol = 3;
static const TInt KNumberOfTiles = (KTilesPerRow*KTilesPerCol);

// OandX-specific data
static const TInt KTilesPerSide = 3;

enum TTileState
	{
	ETileBlank  = 0,
	ETileNought = 1,
	ETileCross  = 4
	}; // Values chosen so that:
	   // KTilesPerRow*ETileNought < ETileCross
	   // KTilesPerCol*ETileNought < ETileCross

static const TInt KStatusWinHeight = 20; // in pixels

#endif // OANDXDEFS_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?