loadchannels.h

来自「关于嵌入式PCB板UI的程序」· C头文件 代码 · 共 56 行

H
56
字号
#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 + =
减小字号Ctrl + -
显示快捷键?