00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKNSITEMID_H
00021 #define AKNSITEMID_H
00022
00023
00024 #include <e32std.h>
00025 #include <e32base.h>
00026
00027
00028
00034 enum TAknsItemType
00035 {
00039 EAknsITUnknown =0,
00040
00044 EAknsITBitmap =1,
00045
00050 EAknsITMaskedBitmap =2,
00051
00056 EAknsITColorTable =3,
00057
00062 EAknsITImageTable =4,
00063
00067 EAknsITImage =5,
00068
00072 EAknsITBmpAnim =6,
00073
00079 EAknsITString =7,
00080
00086 EAknsITEffectQueue =8,
00087
00091 EAknsITAnimation =9
00092 };
00093
00099 enum TAknsImageAttribute
00100 {
00105 EAknsImageAttributeNone =0x00,
00106
00112 EAknsImageAttributeCoords =0x01,
00113
00119 EAknsImageAttributeSize =0x02,
00120
00126 EAknsImageAttributeStretch =0x04,
00127
00132 EAknsImageAttributeTile =0x08,
00133
00138 EAknsImageAttributeAlign =0x10,
00139
00146 EAknsImageAttributeScale =0x20,
00147
00152 EAknsImageAttributeTileX =0x40,
00153
00158 EAknsImageAttributeTileY =0x80,
00159
00166 EAknsImageAttributeNBC =0x100
00167 };
00168
00174 enum TAknsImageAlignment
00175 {
00176 EAknsImageAlignNone =0x00,
00177 EAknsImageAlignVTop =0x01,
00178 EAknsImageAlignVBottom =0x02,
00179 EAknsImageAlignVCenter =0x04,
00180 EAknsImageAlignHLeft =0x08,
00181 EAknsImageAlignHRight =0x10,
00182 EAknsImageAlignHCenter =0x20,
00183 EAknsImageAlignTL =EAknsImageAlignVTop|EAknsImageAlignHLeft,
00184 EAknsImageAlignTR =EAknsImageAlignVTop|EAknsImageAlignHRight,
00185 EAknsImageAlignTC =EAknsImageAlignVTop|EAknsImageAlignHCenter,
00186 EAknsImageAlignBL =EAknsImageAlignVBottom|EAknsImageAlignHLeft,
00187 EAknsImageAlignBR =EAknsImageAlignVBottom|EAknsImageAlignHRight,
00188 EAknsImageAlignBC =EAknsImageAlignVBottom|EAknsImageAlignHCenter,
00189 EAknsImageAlignCL =EAknsImageAlignVCenter|EAknsImageAlignHLeft,
00190 EAknsImageAlignCR =EAknsImageAlignVCenter|EAknsImageAlignHRight,
00191 EAknsImageAlignCC =EAknsImageAlignVCenter|EAknsImageAlignHCenter,
00192 EAknsImageAlignVMask =EAknsImageAlignVTop|EAknsImageAlignVBottom|
00193 EAknsImageAlignVCenter,
00194 EAknsImageAlignHMask =EAknsImageAlignHLeft|EAknsImageAlignHRight|
00195 EAknsImageAlignHCenter
00196 };
00197
00198
00199
00200
00201 class CFbsBitmap;
00202
00203
00204
00216 class TAknsItemID
00217 {
00218 public:
00219
00227 inline void Set( const TInt aMajor, const TInt aMinor );
00228
00237 inline void Set( const TUid aMajor, const TInt aMinor );
00238
00244 inline void Set( const TAknsItemID& aID );
00245
00266 IMPORT_C static TInt LinearOrder(
00267 const TAknsItemID& aFirst, const TAknsItemID& aSecond );
00268
00269 public:
00270
00271 TInt iMajor;
00272 TInt iMinor;
00273
00274 };
00275
00276
00277
00281 typedef RArray<TAknsItemID> RAknsItemIDArray;
00282
00283
00284
00296 inline TBool operator==( const TAknsItemID& aFirst, const TAknsItemID& aSecond );
00297
00309 inline TBool operator!=( const TAknsItemID& aFirst, const TAknsItemID& aSecond );
00310
00311
00312
00313 #include "AknsItemID.inl"
00314
00315
00316 #endif
00317
00318