📄 markablegridcontainer.h
字号:
#ifndef MARKABLEGRIDCONTAINER_H
#define MARKABLEGRIDCONTAINER_H
// INCLUDES
// System includes
#include <coecntrl.h> // CCoeControl
#include <eiklbo.h> // MEikListBoxObserver
// FORWARD DECLARATIONS
class CMarkableGridGamesGrid;
// CLASS DECLARATION
/**
*
* @class CMarkableGridContainer MarkableGridContainer.h
* @brief This is the container class for a grid example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CMarkableGridContainer : public CCoeControl, MEikListBoxObserver
{
public: // Constructors and destructor
static CMarkableGridContainer* NewL(const TRect& aRect);
static CMarkableGridContainer* NewLC(const TRect& aRect);
~CMarkableGridContainer();
public: // members
void PlaySelectedGame();
void DeleteSelectedL();
void HandleMarkCommandL(TInt aCommand);
public: // constructor
void ConstructL(const TRect& aRect);
private: // from MEikListBoxObserver
void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aListBoxEvent);
private: // from CoeControl
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
void Draw(const TRect& aRect) const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
private: //data
CMarkableGridGamesGrid* iGamesGrid; // the games grid
};
#endif // #ifndef MARKABLEGRIDCONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -