📄 responsescreen.h
字号:
#ifndef _RESPONSESCREEN__H_
#define _RESPONSESCREEN__H_
#include "AEEModGen.h"
#include "AEEAppGen.h"
#include "AEEShell.h"
#include "AEERootForm.h"
#include "AEEForm.h"
#include "AEETabWidget.h"
#include "AEEHtmlWidget.h"
#include "AEEMenuModel.h"
#include "AEEImageStaticWidget.h"
#include "AEEVectorModel.h"
#include "AEEStaticWidget.h"
#include "AEEPropContainer.h"
#include "AEEListWidget.h"
//Application bid file
#include "bid\AEECLSID_ROOTFORM.bid"
#include "bid\AEECLSID_FORM.bid"
#include "bid\AEECLSID_TABWIDGET.bid"
#include "bid\AEECLSID_HTMLWIDGET.bid"
#include "bid\AEECLSID_MENUMODEL.bid"
#include "bid\AEECLSID_IMAGESTATICWIDGET.bid"
#include "bid\AEECLSID_VECTORMODEL.bid"
#include "bid\AEECLSID_XYCONTAINER.bid"
#include "bid\AEECLSID_STATICWIDGET.bid"
#include "bid\AEECLSID_LISTWIDGET.bid"
#include "bid\AEECLSID_PROPCONTAINER.bid"
#include "bid\AEECLSID_SCROLLBARWIDGET.bid"
#include "sendphotomobileapp.bid"
#include "sendphotomobileapp.brh"
#define RES_FILE "sendphotomobileapp.bar"
#define HOME_PAGE "http://localhost:5571/SPMProxyServer/ShowThumbnail.htm"
#define RGB_BACKCOLOR MAKE_RGBA(166,166,255,255)
#define RGB_FORECOLOR MAKE_RGBA(255,255,255,255)
#define RGB_ITEMBACKCOLOR MAKE_RGBA(255,255,206,255)
#define RGB_BORDERCOLOR MAKE_RGBA(128,0,0,255)
#define RGB_SELECTEDCOLOR MAKE_RGBA(202,202,255,255)
#define RGB_SELBORDERCOLOR MAKE_RGBA(0,0,255,255)
typedef struct _responsescreen
{
IShell *pIShell;
IDisplay *pIDisplay;
AEEDeviceInfo DeviceInfo;
IRootForm *pIRootForm;
IForm *pIForm;
IWidget *pIWTab;
IWidget *pIWHtml;
IVectorModel *pIVectorModel;
ModelListener pIListenre;
HandlerDesc responsescreenHandler;
//Variables for the HtmlWidget
IWeb *pIWeb;
IDocModel* pIDocModel;
IHtmlViewModel *pIHtmlViewModel;
ModelListener pIHtmlView;
ModelListener pIHtmlDoc;
IWebResp *pIWebResp;
AEECallback callback;
ISource *pISource;
ISourceUtil *pISourceUtil;
char *m_BodyBuffer;
int m_BodySize;
int m_BodyAllocSize;
//User Menu Control variables
IPropContainer *pIPropContainer;
IWidget *pIWList;
IMenuModel *pIMenuModel;
}responsescreen;
extern void spm_resposeformInit(IRootForm *pIRootForm,IShell *pIShell,IDisplay *pIDisplay);
extern void spm_createresponseScreen(responsescreen *pMe);
extern void spm_tabListener(responsescreen *pMe,ModelEvent *eEvent);
extern int spm_responsescreenEventHandler(responsescreen *pMe,AEEEvent eCode,uint16 wParam,uint32 dwParam);
extern void spm_freeresponsescreenData(responsescreen *pMe);
extern void spm_loadhtmlfile(responsescreen *pMe,const char *url);
extern void spm_htmlviewlistener(responsescreen *pMe,ModelEvent *pEv);
extern void spm_htmldoclistener(responsescreen *pMe,ModelEvent *pEv);
extern void spm_WebReadCB(void *ptr);
extern void spm_sethtmlfile(responsescreen *pMe);
extern void spm_createUserMenu(responsescreen *pMe);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -