📄 eqtapsmartenglish.h
字号:
// eQTapSmartEnglish.h: interface for the CeQTapSmartEnglish class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_EQTAPSMARTENGLISH_H__084F14A8_E1DB_46B5_83DC_FA827300E56B__INCLUDED_)
#define AFX_EQTAPSMARTENGLISH_H__084F14A8_E1DB_46B5_83DC_FA827300E56B__INCLUDED_
#if !defined(__E32BASE_H__)
#include <E32BASE.H>
#endif
#if !defined(__W32STD_H__)
#include <W32STD.H>
#endif
#if !defined(__FRMTLAY_H__)
#include <FRMTLAY.H>
#endif
#if !defined(__COEMAIN_H__)
#include <COEMAIN.H>
#endif
#if !defined(__COECNTRL_H__)
#include <COECNTRL.H>
#endif
#if !defined(__FEPBASE_H__)
#include <FEPBASE.H>
#endif
#if !defined(__FEPITFR_H__)
#include <FEPITFR.H>
#endif
#if !defined(__EIKDIALG_H__)
#include <EIKDIALG.H>
#endif
#if !defined(__AKNLISTS_H__)
#include <AKNLISTS.H>
#endif
#if !defined(__EIKMOBS_H__)
#include <EIKMOBS.H>
#endif
#if !defined(__AKNEDSTSOBS_H__)
#include <AKNEDSTSOBS.H>
#endif
#include <e32base.h>
#include <e32std.h>
#include "W32Std.h"
#include "Coedef.h"
#include "eQTapIMBase.h"
#include "pattree.h"
#include "stdlib.h"
class CeQTapSmartEnglish : public CCoeControl, CeQTapIMBase
{
public:
CeQTapSmartEnglish();
virtual ~CeQTapSmartEnglish();
/*process the KeyEvent*/
virtual int OnKeyEventProc(int nParameter1, int nParameter2);
/*Draw itself*/
virtual int OnDrawIMWindow();
static CeQTapSmartEnglish* NewL(CeQTapControl* pControl);
CeQTapSmartEnglish(CeQTapControl* pControl);
void Active(TBool bActive);
void ConstructL();
void OpenDictionary();
TKeyResponse OfferKeyEventInOKModeENL(TUint keyCode);
void ResetValue();
void ActiveSEWindow(TBool aActive);
void SwitchToSmartEnglish();
void DrawSmartEnglish() const;
TBool CurrentChange();
void DrawArrow(int Style) const;
void DrawUpDownArrow() const;
TBool UpisActive(void) const;
TBool DownisActive(void) const;
void DrawCandWithNumber() const;
void DrawCand() const;
TKeyResponse OnKeyMoveUp(const TKeyEvent& aKeyEvent);
TKeyResponse OnKeyMoveDown(const TKeyEvent& aKeyEvent);
void OnLostFocus();
TKeyResponse DoFunctionKeys(TInt keycode);
private:
enum TKeyMode
{
EMoveLRUD,
ENoMove
};
int * m_pDictionaryEnglish;
OUTBUFFER * m_pSentenceEnglish;
TBool m_bSelectMode;
TKeyMode m_bKeyMode;
TBool m_bCurrentWordIsNull;
};
#endif // !defined(AFX_EQTAPSMARTENGLISH_H__084F14A8_E1DB_46B5_83DC_FA827300E56B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -