📄 cform.h
字号:
#if !defined(CForm_h)
#define CForm_h
#include "AEEForm.h"
#include "AEEAppGen.h"
#undef RELEASEIF
#define RELEASEIF( _interface ) { if ( _interface ) { IBASE_Release( (IBase *)_interface ); _interface = NULL; } }
#ifndef FREEIF
#define FREEIF( _p ) { if ( _p ) { FREE( _p ); _p = 0; } };
#endif
class CForm
{
public:
IForm* pIForm;
AEEApplet* pAEEApplet;
CForm(AEEApplet* p);
~CForm();
int getWidget(CForm *po, uint16 wid, IWidget **ppo);
void setHandler(CForm *p, HandlerDesc *pd);
int setResText(CForm *p, uint16 f, const char *r, uint16 i);
int setSoftkeys(CForm *po, const char *pszResFile, uint16 idSoftkey1, uint16 idSoftkey2);
int setText(CForm *po, uint16 fid, AECHAR *txt);
int setWidget(CForm *po, uint16 wid, IWidget *ppo);
protected:
private:
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -