⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loadchannels.h

📁 关于嵌入式PCB板UI的程序
💻 H
字号:
#ifndef __LOADCHANNELS_H
#define __LOADCHANNELS_H

#include "usif.h"
/* Exported Constants ------------------------------------------------------- */


/* Exported Types ---------------------------------------------------------- */


/* Exported Variables ------------------------------------------------------- */
extern MENU_DATA_STRUCT *pstAvailableMenuDataHead,*pstAvailableMenuDataTail;
extern MENU_DATA_STRUCT *pstFavoriteMenuDataHead,*pstFavoriteMenuDataTail;
extern MENU_DATA_STRUCT *pstTransponderMenuDataHead,*pstTransponderMenuDataTail;

extern MENU_DATA_STRUCT *pstCurAvailableChannel;
extern MENU_DATA_STRUCT *pstCurFavoriteChannel;
extern MENU_DATA_STRUCT *pstCurTransponder;

extern short int sProgIndex;
extern int iProgNumber;
extern int iFavProgNumber;
extern short int sFavProgIndex;


extern int iNoOfAvailableMenuElements;
extern int iNoOfFavoriteMenuElements;
extern int iNoOfTransponderMenuElements;

/* Exported Macros ---------------------------------------------------------- */
#define INDEX_FAVORITE_FLAG	50
#define INDEX_LOCKED_FLAG  		52

/* Exported Functions -------------------------------------------------------- */
int 	getTransponders(int iMaxItemsOnScreen);
int 	transponderPrevKeyFunc(int iNoOfValidItems,int iNoOfItemsInScreen);
int 	transponderNextKeyFunc(int iNoOfValidItems);
void transponderSelectKeyFunc(int iItemOffPassed, int iNoOfValidItems );

int  	getChannels(int iNoOfItemsInScreen);
int 	channelPrevKeyFunc(int iNoOfValidItems,int iNoOfItemsInScreen);
int 	channelNextKeyFunc(int iNoOfValidItems);
void channelSelectKeyFunc(int iItemOffPassed, int iNoOfValidItems );

int 	getFavoriteChannels(int iNoOfItemsInScreen);
int 	favoriteChannelPrevKeyFunc(int iNoOfValidItems,int iNoOfItemsInScreen);
int 	favoriteChannelNextKeyFunc(int iNoOfValidItems);
void favoriteChannelSelectKeyFunc(int iItemOffPassed, int iNoOfValidItems );

SHORT  	PositionProgInfoNeg ( int iOffset );

//int	getChannelsInChManageDialog(int iNoOfItemsInScreen);

#endif
/*--------------------------------------------EOF---------------------------------------------*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -