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

📄 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, // Values chosen so that:
	ETileNought = 1, // KTilesPerRow*ETileNought < ETileCross
	ETileCross  = 4, // KTilesPerCol*ETileNought < ETileCross
	ETileDraw   = 16 // Added for History view (> KTilesPerCol*ETileCross)
	};

static const TInt KStatusWinHeight = 20; // in pixels

static const TInt KStatsBufSize = 30;
static const TInt KFormatBufSize = 40;
static const TInt KNumHistoryRecords = 6;


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

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

// Message IDs for use when activating history view 
enum { EHistoryViewDisplayHistory, EHistoryViewDisplayStats } ;


#endif // OANDXDEFS_H

⌨️ 快捷键说明

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