UiFm.h
资源名称:SDK_M5661.rar [点击查看]
上传用户:hjhsjcl
上传日期:2020-09-25
资源大小:11378k
文件大小:2k
源码类别:
压缩解压
开发平台:
C++ Builder
- /*==========================================================================
- Copyright (c) 2004 ALi Corporation. All Rights Reserved
- File: UiCommon.h
- content: user interface for FM module
- History: Created by TNE 2004/8/17
- ==========================================================================*/
- #define UI_FM_PRESET_DELAY_TIME 29
- #define UI_FM_PRESET_SAVE_TIME 0x4300
- #define UI_FM_PRESET_SCROLL_TIME 0x1700
- #define UI_FM_PRESET_BLOCK_PAGE 4
- #define UI_FM_PRESET_BLOCK_COLNUM 55
- //add by tne 2004/11/12
- #define UI_FM_PRESET_START_PAGE 4
- #define OLED_FM_PRESET_START_PAGE PAGE4
- #define UI_FM_PRESET_START_COLUMN 4
- #define UI_FM_PRESET_WIDTH_SPACE 15
- //add by tne 2004/12/18 #1
- #define UI_FM_FREQ1_PAGE 5
- #define UI_FM_FREQ2_PAGE 6
- #define OLED_FM_FREQ1_PAGE 86
- #define OLED_FM_FREQ2_PAGE PAGE6
- //tne 2007/01/11 #1 start
- #define UI_FM_FREQ_COL 16
- #define UI_FM_FREQ_ROW 56
- #define UI_FM_FREQ_SPACE 2
- #define UI_FM_FREQ_NUM_WIDTH 16
- #define UI_FM_FREQ_BAR_COL 0
- #define UI_FM_FREQ_BAR_ROW 136
- #define UI_FM_FREQ_BAR_WIDTH 119
- #define UI_FM_STEREO_ICON_COL 5
- #define UI_FM_STEREO_ICON_ROW 90
- #define FM_FREQNUM_ICON_OFFSET (IM_RADIO_NUMBER_1-IM_RADIO_NUMBER_0)
- #define UI_FM_FREQ_DOT_COL (UI_FM_FREQ_COL+3*(UI_FM_FREQ_NUM_WIDTH+UI_FM_FREQ_SPACE))
- #define UI_FM_LOW_FREQ_NUM_COL (UI_FM_FREQ_DOT_COL+8)
- #define UI_PRESET_ICON_COL 28
- #define UI_PRESET_ICON_ROW 28
- #define UI_FM_NORMAL_MENU_MAX_ITEM 2
- #define UI_FM_PRESET_MENU_MAX_ITEM 2
- //tne 2007/01/11 #1 end
- //tne 2007/01/12 #3 start
- #define FM_AUTO_SCAN_PREST_DELAY_TIME 18
- #define FM_SEARCH_USER_BREAK 2
- #define FM_FREQ_SEARCH_UP TRUE
- #define FM_FREQ_SEARCH_DOWN FALSE
- #define FM_FREQ_SEARCH_SAVE_PRESET_MODE TRUE
- #define FM_FREQ_SEARCH_NORMAL_MODE FALSE
- //tne 2007/01/12 #3 end
- #ifdef _UI_FM_H_
- #define EXTERN
- #else
- #define EXTERN extern
- #endif
- #if(FM_MODULE==2) // WHH070322
- EXTERN XWORD gxbPreSattion;
- #endif
- EXTERN XWORD gxwPresetData[FM_MAX_PRESET+1+20]; //Dennis060517#1
- EXTERN API void UiDispCtrl(BYTE) reentrant; //Tne051228#reentrant
- EXTERN API void UiGoNoMenu(void);
- EXTERN API void UiShowWakeUp(void) large;
- #undef EXTERN
English
