123456789101112131415161718192021222324252627282930313233 |
- /********************************************************************************
- * Function Describe: Radio.c declare module
- * Relate Module: Gui.c
- * Writer: Shliangwen
- * Date: 2016-1-8
- *******************************************************************************/
- struct SUT_RADIO
- {
- unsigned char itemnum; //item number
- unsigned char handle; //current item
- unsigned char width; //item max width
- unsigned short x; //position x
- unsigned char y; //position y
- char **item; //Radio items
- unsigned char rows; //row number
- unsigned char focus; //input focus
- };
- void RadioInit //initialize struct
- (
- struct SUT_RADIO *p,
- unsigned short x,
- unsigned char y,
- char **item,
- unsigned char rows
- );
- void RadioShow(struct SUT_RADIO *p);
- unsigned char RadioGetHandle(struct SUT_RADIO *p);
- unsigned char RadioResponse(struct SUT_RADIO *p);
- /********************************************************************************
- * End of Module
- *******************************************************************************/
|