📄 woff.h
字号:
/*===============================================================================
INCLUDES AND VARIABLE DEFINITIONS
=============================================================================== */
#include "AEEModGen.h"
#include "AEEAppGen.h"
#include "AEEShell.h"
#include "AEETelephone.h"
#include "AEEFile.h"
#include "AEEDB.h"
#include "AEENet.h"
#include "AEESound.h"
#include "AEETapi.h"
#include "AEELogger.h"
#include "Aeestdlib.h"
#include "wOff.bid"
#include "AEELngCode.h"
#include "AEETypeface.h"
#define AEECLSID_TYPEFACE 0x01035156
//#define TTF_FONT "fs://shared/fonts/"
//#define TTF_FONT_SIZE 14
typedef struct _wOff {
AEEApplet a ;
AEEDeviceInfo DeviceInfo;
IImage ** m_pDigitImage;
boolean mPos[4];
boolean pMode;
ILogger * m_pLog;
ICallMgr * m_pICallMgr;
ICall * m_pICall;
RGBVAL colorText;
IHFont * m_piAppFont;
IFont * m_piNativeFont;
flg DrawT;
uint32 pLang, time;
int font_size;
char * pLgDir, *ttf_font;
IBitmap * dev;
} wOff;
/*-------------------------------------------------------------------
Function Prototypes
-------------------------------------------------------------------*/
static boolean wOff_HandleEvent(wOff* pMe,
AEEEvent eCode, uint16 wParam,
uint32 dwParam);
boolean wOff_InitAppData(wOff* pMe);
void wOff_FreeAppData(wOff* pMe);
void wOff_Start(wOff* pMe);
void wOff_DrawImg(wOff* pMe);
void wOff_ofline(wOff* pMe);
void wOff_base(wOff* pMe);
void wOff_DrawText(wOff* pMe);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -