cform.h

来自「brew email program ,comfortable for the 」· C头文件 代码 · 共 33 行

H
33
字号
#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 + =
减小字号Ctrl + -
显示快捷键?