/////////////////////////////////////////////////////////////////////////////////////////////////////// // The following are same for Keyboard or mobile style input. static void input_callback(UINT8* string) { UINT32 prog_num = 0; UINT16* unistr; P_NODE p_node; UINT32 find_cnt; find_cnt = win_find_prog_num; unistr = (UINT16*)string; if(ComUniStrLen(unistr) == 0) win_find_prog_num = 0; else win_find_prog_num = find_prog_by_name(string,&p_node); if(win_find_prog_num == 0) { if( find_cnt!=0) OSD_ClearObject((POBJECT_HEAD)&g_win_com_lst, C_UPDATE_ALL); } else { win_findprog_set_display(); OSD_TrackObject((POBJECT_HEAD)&g_win_com_lst, C_DRAW_SIGN_EVN_FLG | C_UPDATE_ALL); } }
// The following are same for Keyboard or mobile style input. static void input_callback(UINT8* string) { UINT32 prog_num = 0; UINT16* unistr; P_NODE p_node; UINT32 find_chanlist_cnt; find_chanlist_cnt = win_find_chanlist_prog_num; unistr = (UINT16*)string; if(ComUniStrLen(unistr) == 0) win_find_chanlist_prog_num = 0; else win_find_chanlist_prog_num = find_prog_by_name(string,&p_node); if(win_find_chanlist_prog_num == 0) { if( find_chanlist_cnt!=0) { OSD_ClearObject((POBJECT_HEAD)&g_win_com_lst, C_UPDATE_ALL); #ifdef ORDER_GZ1011001 wincom_restore_region1(); #endif } } else { #ifdef ORDER_GZ1011001 { struct OSDRect rW; OSD_SetRect(&rW,W_PROG_L,W_PROG_T, W_PROG_W,W_PROG_H); wincom_backup_region1(&rW); } #endif win_find_chanlistprog_set_display(); OSD_TrackObject((POBJECT_HEAD)&g_win_com_lst, C_DRAW_SIGN_EVN_FLG | C_UPDATE_ALL); } }