📄 liancontainer.h
字号:
/*
* ============================================================================
* Name : CLianContainer from LianContainer.h
* Part of : Lian
* Created : 2006-3-15 by
* Description:
* Declares container control for application.
* Version :
* Copyright:
* ============================================================================
*/
#ifndef LIANCONTAINER_H
#define LIANCONTAINER_H
// INCLUDES
#include <coecntrl.h>
#include "data.h"
#include "map.h"
#include "MdaImageConverter.h"
class CSound;
class CLianContainer : public CCoeControl, MCoeControlObserver
{
public: // Constructors and destructor
void ConstructL(const TRect& aRect);
~CLianContainer();
TKeyResponse OfferKeyEventL(const TKeyEvent& aEvent,TEventCode aCode);
private: // Functions from base classes
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
void Draw(const TRect& aRect) const;
void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
private: //data
CMap* iCMap;
CData* iCData;
TInt iX;
TInt iY;
TInt iOldX;
TInt iOldY;
TInt iLen;
TInt iW;
TInt iH;
TInt iNum;
public:
void StartGame(TInt iW,TInt iH);
TBool beStart;
CFbsBitmap* iWelcome;
CSound* iSound1,*iSound2;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -