📄 aphearsayset.h
字号:
/****************************************************************************/
/* */
/* Copyright (C) 2005 SHENZHEN MEIJIN CO.LTD */
/* */
/* FILE NAME: ApHearSay.h */
/* MODULE NAME: AP应用程序Header */
/* DESCRIPTION: 复读机学习AP的函数 Header */
/* */
/* FUNCTIONS: */
/* */
/****************************************************************************/
/* NAME DATE REMARKS */
/* ========== ============ ==============================================*/
/* DennyHan 2006-03-10 First Issue */
/****************************************************************************/
#ifndef _APHEARSAY_SET_H_
#define _APHEARSAY_SET_H_ 1
//设置界面,点坐标
#define APHSSET_TEXT_W (4*12)
#define APHSSET_BTN3_X 1
#define APHSSET_BTN3_H 14
#define APHSSET_BTN3_Y (LCD_SCREEN_HEIGHT-APHSSET_BTN3_H)
#define APHSSET_BTN3_W 20
#define APHSSET_BTN1_2_W 20
#define APHSSET_BTN1_2_H 10
#define APHSSET_BTN1_2_T (BT_TYPE_ICON|((BT_REPEAT_BUTTON)<<8))
#define APHSSET_BTN1_2_SP (APHSSET_BTN1_2_W+APHSSET_TEXT_W) // space for button up and dwon
#define APHSSET_BTN3_T (BT_TYPE_ICON) //BT_TYPE_TEXT)//|(BT_NOINVERT_TEXT<<8))
#define APHSSET_BTN3_SP (36)//(LCD_SCREEN_WIDTH/2-2*APHSSET_BTN3_W-2-4*12) // space for button sure and exit
#define APHSSET_BTN3_TXSP 4
//===================================
// Button for sure and exit
#define APHSSET_BTN31_X APHSSET_BTN3_X
#define APHSSET_BTN31_Y APHSSET_BTN3_Y
#define APHSSET_BTN31_W APHSSET_BTN3_W
#define APHSSET_BTN31_H APHSSET_BTN3_H
#define APHSSET_T31 APHSSET_BTN3_T
#define APHSSET_C31 (CM_USER+4)
#define APHSSET_K31 ('1')
#define APHSSET_BTN32_X (APHSSET_BTN3_X+APHSSET_BTN3_SP+APHSSET_BTN31_W)
#define APHSSET_BTN32_Y APHSSET_BTN3_Y
#define APHSSET_BTN32_W APHSSET_BTN3_W
#define APHSSET_BTN32_H APHSSET_BTN3_H
#define APHSSET_T32 APHSSET_BTN3_T
#define APHSSET_C32 (CM_USER+5)
#define APHSSET_K32 ('2')
//=======================================
// Bar function
INT ApHearsaySetBar11Proc( APGUI_STRUCT *pGui, UINT uEvent, UINT uParam );
INT ApHearsaySetBar12Proc( APGUI_STRUCT *pGui, UINT uEvent, UINT uParam );
INT ApHearsaySetBar21Proc( APGUI_STRUCT *pGui, UINT uEvent, UINT uParam );
INT ApHearsaySetBar22Proc( APGUI_STRUCT *pGui, UINT uEvent, UINT uParam );
INT ApHearsaySetBar31Proc( APGUI_STRUCT *pGui, UINT uEvent, UINT uParam );
INT ApHearsaySetBar32Proc( APGUI_STRUCT *pGui, UINT uEvent, UINT uParam );
#define SET_ICON_W 171
#define SET_ICON_H 80
#define SET_ICON_X ((LCD_SCREEN_WIDTH-SET_ICON_W)/2)
#define SET_ICON_Y ((LCD_SCREEN_HEIGHT-SET_ICON_H)/2)
#define SET_ICON_TX (SET_ICON_X+86+6)
#define SET_ICON_TY (SET_ICON_Y+34)
#ifndef IDB_RPTSETTING
#define IDB_RPTSETTING 0
#endif
#define APHSSET_IDB IDB_RPTSETTING
//================
#endif //_APHEARSAY_SET_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -