⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oandxdefs.h

📁 Symbian OS C++ for Mobile Phones v3 Example Code
💻 H
字号:
// 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

/**
Identifies the hello world application抯 view.
Each view need an unique UID in the application.

@since UIQ 3.0
*/
const TUid KUidOandXView = {0x00000001};

#endif // OANDXDEFS_H

⌨️ 快捷键说明

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