00001 // 00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 00003 // All rights reserved. 00004 // This component and the accompanying materials are made available 00005 // under the terms of the License "Eclipse Public License v1.0" 00006 // which accompanies this distribution, and is available 00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00008 // 00009 // Initial Contributors: 00010 // Nokia Corporation - initial contribution. 00011 // 00012 // Contributors: 00013 // 00014 // Description: 00015 // 00016 00017 #ifndef OANDXDEFS_H 00018 #define OANDXDEFS_H 00019 00020 // Generic board data 00021 static const TInt KTilesPerRow = 3; 00022 static const TInt KTilesPerCol = 3; 00023 static const TInt KNumberOfTiles = (KTilesPerRow*KTilesPerCol); 00024 00025 // OandX-specific data 00026 static const TInt KTilesPerSide = 3; 00027 00028 enum TTileState 00029 { 00030 ETileBlank = 0, 00031 ETileNought = 1, 00032 ETileCross = 4 00033 }; // Values chosen so that: 00034 // KTilesPerRow*ETileNought < ETileCross 00035 // KTilesPerCol*ETileNought < ETileCross 00036 00037 static const TInt KStatusWinHeight = 20; // in pixels 00038 00039 #endif // OANDXDEFS_H