📄 csnowjggcontrol.h
字号:
#ifndef __CSNOWJGGCONTROL_H__
#define __CSNOWJGGCONTROL_H__
// INCLUDES
#include <aknview.h>
class CHsgGriddingView;
class CSnowJGGControl : public CCoeControl
{
public:
TInt GetCurrentIndex() {return iSnowChoice;}
void SetCurrentIndex(TInt& aIndex);
void SnowSetGridPicture(CFbsBitmap* aSrc,CFbsBitmap* aMask,CFbsBitmap* aSrcL,CFbsBitmap* aMaskL);
void SnowSetGridText(TInt aMapNum, const TDesC& aSrc);
public: // Constructors and destructor
CSnowJGGControl();
virtual ~CSnowJGGControl();
void ConstructL(const TRect& aRect);
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private: // Functions from base classes
void Draw( const TRect& aRect ) const;
private:
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
// CFbsBitmap* iLargeImage;
// CFbsBitmap* iLargeImageMask;
// CFbsBitmap* iSmallImage;
// CFbsBitmap* iSmallImageMask;
//小图标和遮罩
RPointerArray<CFbsBitmap> iSnowImageArr;
RPointerArray<CFbsBitmap> iSnowImageMaskArr;
//大图标和遮罩
RPointerArray<CFbsBitmap> iSnowLargeImageArr;
RPointerArray<CFbsBitmap> iSnowLargeImageMaskArr;
//相应图标的
RPointerArray<HBufC> iSnowTextArr;
//选中ID
TInt iSnowChoice;
//CHsgGriddingView* iSnowGriddingView;
};
/*
class CItem : public CBase
{
TInt iImageIndex;
HBufC* iText;
};
*/
#endif // __FIRSTGRID_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -