本文整理汇总了C++中OSD_ObjOpen函数的典型用法代码示例。如果您正苦于以下问题:C++ OSD_ObjOpen函数的具体用法?C++ OSD_ObjOpen怎么用?C++ OSD_ObjOpen使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了OSD_ObjOpen函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: win_an_set_unkown_act_proc
static PRESULT win_an_set_unkown_act_proc(VACTION act) //guop edit 20101014
{
switch(act)
{
case VACT_SINGLE_SEARCH:
single_multi_srch_flag = 0;
//if(check_node_modified(TYPE_SAT_NODE) )
{
UINT8 back_saved;
win_compopup_init(WIN_POPUP_TYPE_SMSG);
win_compopup_set_msg(NULL, NULL, RS_MSG_SAVING_DATA);
win_compopup_open_ext(&back_saved);
update_data(TYPE_SAT_NODE);
osal_task_sleep(200);
win_compopup_smsg_restoreback();
}
if(OSD_ObjOpen((POBJECT_HEAD)&g_win_sat_srchset, 0xFFFFFFFF) != PROC_LEAVE)
menu_stack_push((POBJECT_HEAD)&g_win_sat_srchset);
wincom_close_help();
break;
case VACT_MULTI_SEARCH:
single_multi_srch_flag = 1;
// if(check_node_modified(TYPE_SAT_NODE) )
{
UINT8 back_saved;
win_compopup_init(WIN_POPUP_TYPE_SMSG);
win_compopup_set_msg(NULL, NULL, RS_MSG_SAVING_DATA);
win_compopup_open_ext(&back_saved);
update_data(TYPE_SAT_NODE);
osal_task_sleep(200);
win_compopup_smsg_restoreback();
}
if(OSD_ObjOpen((POBJECT_HEAD)&g_win_sat_srchset, 0xFFFFFFFF) != PROC_LEAVE)
menu_stack_push((POBJECT_HEAD)&g_win_sat_srchset);
wincom_close_help();
break;
case VACT_TP_SEARCH:
// if(check_node_modified(TYPE_SAT_NODE) )
{
UINT8 back_saved;
win_compopup_init(WIN_POPUP_TYPE_SMSG);
win_compopup_set_msg(NULL, NULL, RS_MSG_SAVING_DATA);
win_compopup_open_ext(&back_saved);
update_data(TYPE_SAT_NODE);
osal_task_sleep(200);
win_compopup_smsg_restoreback();
}
if(OSD_ObjOpen((POBJECT_HEAD)&g_win_tplist, 0xFFFFFFFF) != PROC_LEAVE)
menu_stack_push((POBJECT_HEAD)&g_win_tplist);
break;
}
}
开发者ID:alkap007,项目名称:ali3606,代码行数:58,代码来源:win_antenna_set_motor.c
示例2: win_movefile_open
UINT32 win_movefile_open(FileListHandle move_dirlist, char *move_device)
{
UINT32 hkey;
CONTAINER *pop_win;
TEXT_FIELD *pTxt;
PRESULT ret = PROC_LOOP;
BOOL old_value = ap_enable_key_task_get_key(TRUE);
win_move_dirlist = move_dirlist;
STRCPY(movefile_cur_device, move_device);
move_file_flag = 0;
pop_win = &g_win_mp_move;
OSD_SetContainerFocus(pop_win, 1);
wincom_backup_region(&pop_win->head.frame);
OSD_ObjOpen((POBJECT_HEAD)pop_win, 0);
while(ret != PROC_LEAVE)
{
hkey = ap_get_key_msg();
if(hkey == INVALID_HK || hkey == INVALID_MSG)
continue;
ret = OSD_ObjProc((POBJECT_HEAD)pop_win, (MSG_TYPE_KEY<<16),hkey, 0);
}
wincom_restore_region();
ap_enable_key_task_get_key(old_value);
return move_file_flag;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:30,代码来源:win_mp_move_file.c
示例3: Containerca_set2_callback
static PRESULT Containerca_set2_callback(POBJECT_HEAD pObj, VEVENT event, UINT32 param1, UINT32 param2)
{
PRESULT ret = PROC_PASS;
UINT8 id = 0;
VACTION act;
switch (event)
{
case EVN_UNKNOWN_ACTION:
act = (VACTION)(param1 >> 16);
switch (act)
{
case VACT_ITEM_SELECT:
id = OSD_GetFocusID(pObj);
if (NULL != ca_set_windows_list[id - 1])
{
if (OSD_ObjOpen(ca_set_windows_list[id - 1], 0xFFFFFFFF) != PROC_LEAVE)
menu_stack_push(ca_set_windows_list[id - 1]);
}
break;
default:
break;
}
ret = PROC_LOOP;
break;
default:
break;
}
return ret;
}
开发者ID:jinfeng-geeya,项目名称:3202C,代码行数:30,代码来源:win_ca_set.c
示例4: win_youtube_open
UINT32 win_youtube_open()
{
CONTAINER* win;
PRESULT ret = PROC_LOOP;
UINT32 hkey;
TEXT_FIELD* txt;
UINT16 strID;
BOOL old_value = ap_enable_key_task_get_key(TRUE);
txt = &youtube_opts_title;
strID = RS_YOUTUBE_OPTION;
OSD_SetTextFieldContent(txt, STRING_ID,(UINT32)strID);
win = &win_youtube_opts_con;
OSD_SetContainerFocus(win, MENU_YT_OPTS);
OSD_ObjOpen((POBJECT_HEAD)win, 0);
while(ret != PROC_LEAVE)
{
hkey = ap_get_popup_msg(C_POPUP_MSG_PASS_CI);
if(hkey == INVALID_HK || hkey == INVALID_MSG)
continue;
ret = OSD_ObjProc((POBJECT_HEAD)win, (MSG_TYPE_KEY<<16),hkey, 0);
}
ap_enable_key_task_get_key(old_value);
return youtube_search_ok;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:32,代码来源:win_youtube_options.c
示例5: win_playlist_open
void win_playlist_open(WIN_PLAYLIST_TYPE playlist_type)
{
UINT32 hkey;
VSCR vscr;
CONTAINER *pop_win;
TEXT_FIELD *pTxt;
PRESULT ret = PROC_LOOP;
BOOL old_value = ap_enable_key_task_get_key(TRUE);
cur_playlist_type = playlist_type;
cur_display_playlist = win_play_list[playlist_type];
pop_win = &g_win_usb_playlist;
OSD_SetContainerFocus(pop_win, 1);
wincom_backup_region(&pop_win->head.frame);
OSD_ObjOpen((POBJECT_HEAD)pop_win, 0);
while(ret != PROC_LEAVE)
{
hkey = ap_get_key_msg();
if(hkey == INVALID_HK || hkey == INVALID_MSG)
continue;
ret = OSD_ObjProc((POBJECT_HEAD)pop_win, (MSG_TYPE_KEY<<16),hkey, 0);
}
wincom_restore_region();
ap_enable_key_task_get_key(old_value);
}
开发者ID:alkap007,项目名称:ali3606,代码行数:28,代码来源:win_playlist.c
示例6: win_tpe_open
UINT32 win_tpe_open(UINT32 mode,UINT32 sat_id,UINT32 tp_id)
{
CONTAINER* win;
PRESULT ret = PROC_LOOP;
UINT32 hkey;
TEXT_FIELD* txt;
UINT16 strID;
BOOL old_value = ap_enable_key_task_get_key(TRUE);
txt = &tpe_title;
if(mode == 0)
strID = RS_INFO_EDIT_TP;
else
strID = RS_INFO_ADD_TP;
OSD_SetTextFieldContent(txt, STRING_ID,(UINT32)strID);
win = &g_win_tp_edit;
OSD_SetContainerFocus(win, TP_FREQ_ID);
win_tpe_set_mode(mode,sat_id,tp_id);
OSD_ObjOpen((POBJECT_HEAD)win, 0);
while(ret != PROC_LEAVE)
{
hkey = ap_get_popup_msg(C_POPUP_MSG_PASS_CI);
if(hkey == INVALID_HK || hkey == INVALID_MSG)
continue;
ret = OSD_ObjProc((POBJECT_HEAD)win, (MSG_TYPE_KEY<<16),hkey, 0);
}
ap_enable_key_task_get_key(old_value);
return edit_tp_ok;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:35,代码来源:win_tp_edit.c
示例7: camail_list_item_con_callback
static PRESULT camail_list_item_con_callback(POBJECT_HEAD pObj, VEVENT event, UINT32 param1, UINT32 param2)
{
PRESULT ret = PROC_PASS;
VACTION unact;
POBJECT_HEAD pmenu;
OBJLIST* ol;
TEXT_FIELD* txt;
UINT16 curitem;
switch(event)
{
case EVN_UNKNOWN_ACTION:
unact = (VACTION)(param1>>16);
if(unact == VACT_ENTER)
{
pmenu = OSD_GetContainerNextObj((CONTAINER*)pObj);
txt = (TEXT_FIELD*)OSD_GetObjpNext(pmenu);
if(ComUniStrLen(txt->pString)>0)
{
ol = &mail_olist;
curitem = OSD_GetObjListNewPoint(ol);
pmenu = (POBJECT_HEAD)&g_win_camsg_detail;
if(OSD_ObjOpen(pmenu, MENU_OPEN_TYPE_MENU + curitem) != PROC_LEAVE)
menu_stack_push(pmenu);
}
ret = PROC_LOOP;
}
break;
}
return ret;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:32,代码来源:win_camsg_history.c
示例8: purse_list_item_con_callback
static PRESULT purse_list_item_con_callback(POBJECT_HEAD pObj, VEVENT event, UINT32 param1, UINT32 param2)
{
PRESULT ret = PROC_PASS;
VACTION unact;
UINT8 bID ;
UINT16 icon_id, top;
POBJECT_HEAD submenu;
bID = OSD_GetObjID(pObj);
top = OSD_GetObjListTop(&purse_olist);
cur_purse = bID + top;
switch(event)
{
case EVN_UNKNOWN_ACTION:
unact = (VACTION)(param1>>16);
if(unact == VACT_ENTER)
{
if(0 != purse_cnt)
{
submenu = (POBJECT_HEAD)&win_token_con;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU) != PROC_LEAVE)
menu_stack_push(submenu);
}
}
break;
}
return ret;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:29,代码来源:win_purse.c
示例9: newcamd_unknowact_proc
static PRESULT newcamd_unknowact_proc(POBJECT_HEAD pObj,UINT32 vact)
{
PRESULT ret = PROC_PASS;
switch(vact)
{
case VACT_SETLAN:
//if(OSD_ObjOpen((POBJECT_HEAD)&g_win_localsetting, 0 ) != PROC_LEAVE)
// menu_stack_push((POBJECT_HEAD)&g_win_localsetting);
break;
case VACT_RESTART:
//newcamd_display_info2(TRUE,newcamd_serinfo[g_newcamd_curidx-1].cas_sys_type);
break;
case VACT_EDIT_SERVER:
if(OSD_ObjOpen((POBJECT_HEAD)&g_win_newcamd_setting, 0 ) != PROC_LEAVE)
menu_stack_push((POBJECT_HEAD)&g_win_newcamd_setting);
break;
case VACT_SPECIAL:
#ifdef NEWCAMD_SUPPORT_EXT16_SERVER
newcamd_modify_proc();
#endif
break;
case VACT_CHANNEL_UP: //channel up
break;
case VACT_CHANNEL_DOWN: //channel down
break;
}
return ret;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:35,代码来源:win_newcamd.c
示例10: otaset_btn_callback
static PRESULT otaset_btn_callback(POBJECT_HEAD pObj, VEVENT event, UINT32 param1, UINT32 param2)
{
PRESULT ret = PROC_PASS;
VACTION unact;
POBJECT_HEAD pmenu;
switch(event)
{
case EVN_UNKNOWN_ACTION:
unact = (VACTION)(param1>>16);
if(unact == VACT_ENTER)
{
win_otaset_get_FreqSymbPid_display();
pmenu = (POBJECT_HEAD)&g_win_otaupg ;
if(OSD_ObjOpen(pmenu, MENU_OPEN_TYPE_MENU + EDIT_TP_START_ID) != PROC_LEAVE)
menu_stack_push(pmenu);
ret = PROC_LOOP;
}
break;
}
return ret;
}
开发者ID:Janesak1977,项目名称:ali3602,代码行数:25,代码来源:win_ota_set.c
示例11: win_map_search_input_menu_open
UINT8 win_map_search_input_menu_open(char *string)
{
CONTAINER *win;
PRESULT ret = PROC_LOOP;
UINT32 hkey;
TEXT_FIELD *txt;
EDIT_FIELD *eft;
UINT16 strID;
UINT32 value = 0;
UINT8 input_string[MAP_SEARCH_INPUT_LEN];
BOOL old_value = ap_enable_key_task_get_key(TRUE);
bMapSearchInputOK = FALSE;
txt = &txt_map_search_input_title;
strID = RS_HELP_SEARCH;
OSD_SetTextFieldContent(txt, STRING_ID,(UINT32)strID);
eft = &edt_map_search_input_item;
OSD_SetEditFieldContent(eft, STRING_ANSI, "");
win = &g_win_map_search_input;
OSD_SetContainerFocus(win, 1);
OSD_SetTextFieldContent(&txt_map_search_input_caps,STRING_ANSI,(UINT32)btn_txt_strs[0]);
OSD_SetTextFieldContent(&txt_map_search_input_del,STRING_ANSI,(UINT32)btn_txt_strs[1]);
OSD_SetTextFieldContent(&txt_map_search_input_ok,STRING_ANSI,(UINT32)btn_txt_strs[2]);
OSD_SetTextFieldContent(&txt_map_search_input_cancel,STRING_ANSI,(UINT32)btn_txt_strs[3]);
wincom_backup_region(&(win->head.frame));
OSD_ObjOpen((POBJECT_HEAD)win, 0);
while(ret != PROC_LEAVE)
{
hkey = ap_get_key_msg();
if(hkey == INVALID_HK || hkey == INVALID_MSG)
continue;
ret = OSD_ObjProc((POBJECT_HEAD)win, (MSG_TYPE_KEY<<16),hkey, 0);
}
if (bMapSearchInputOK)
{
eft = &edt_map_search_input_item;
value = OSD_GetEditFieldContent(eft);
ComUniStrToAsc((UINT8 *)value, input_string);
map_search_input_get_string(string, input_string);
}
wincom_restore_region();
ap_enable_key_task_get_key(old_value);
return bMapSearchInputOK;
}
开发者ID:alkap007,项目名称:ali3606,代码行数:59,代码来源:win_map_search_input.c
示例12: win_mpegYTplayer_set_video_vol
static void win_mpegYTplayer_set_video_vol(UINT32 key)
{
UINT32 hkey;
OSD_ObjOpen((POBJECT_HEAD)&g_win_volume, MENU_OPEN_TYPE_KEY + key);
menu_stack_push((POBJECT_HEAD) &g_win_volume);
ap_vk_to_hk(0, key, &hkey);
ap_send_msg(CTRL_MSG_SUBTYPE_KEY, hkey, FALSE);
}
开发者ID:alkap007,项目名称:ali3606,代码行数:8,代码来源:win_youtube_player.c
示例13: mail_unknow_proc
static PRESULT mail_unknow_proc(VACTION act)
{
PRESULT ret = PROC_LOOP;
UINT16 i,sel, cnt;
OBJLIST *ol;
POBJECT_HEAD temp;
UINT8 back_saved;
ol = &mail_ol;
sel = OSD_GetObjListCurPoint(ol);
cnt = OSD_GetObjListCount(ol);
switch (act)
{
case VACT_DELETE_SINGLE:
{
mail_del_type = 0;
//if(email_count > 0)
//{
// win_compopup_init(WIN_POPUP_TYPE_OKNO);
//win_compopup_set_msg(NULL, NULL, RS_MAIL_POP_DEL_CURRENT);
//win_compopup_open_ext(&back_saved);
mail_set_del_flag(sel);
//mail_exec_delete(); //yuanlin change
OSD_TrackObject((POBJECT_HEAD)ol, C_DRAW_SIGN_EVN_FLG | C_UPDATE_ALL);
//}
}
break;
case VACT_DELETE_ALL:
mail_del_type = 1;
{
//win_compopup_init(WIN_POPUP_TYPE_OKNO);
//win_compopup_set_msg(NULL, NULL, RS_MAIL_POP_DEL_ALL);
//win_compopup_open_ext(&back_saved);
mail_set_del_flag(0xffff);//set all to delete
//mail_exec_delete(); //yuanlin change
OSD_TrackObject((POBJECT_HEAD)ol, C_DRAW_SIGN_EVN_FLG | C_UPDATE_ALL);
}; //----yuanlin
break;
case VACT_ENTER:
if (0 == email_count)
break; // ---yuanlin
cur_mail_id = sel;
temp = (POBJECT_HEAD)&g_win_mail_content; //进入到Win_mail_content界面
if (OSD_ObjOpen(temp, 0xFFFFFFFF) != PROC_LEAVE)
{
menu_stack_push(temp);
if(email_head[sel].status)
email_count_unread--;
//MailDrawNum0(); //yuanlin 21013/02/04
}
break;
default:
break;
}
return ret;
}
开发者ID:jinfeng-geeya,项目名称:3202C,代码行数:58,代码来源:win_mail.c
示例14: callback
static void callback(UINT8 type, INT32 wparam, UINT32 lparam)
{
UINT8 row, col, back_saved;
UINT8 winner;
win_popup_choice_t popResult;
switch (type)
{
case TRANCHESS:
row = wparam / 10-1;
col = wparam % 10-1;
draw_chess(row, col, (UINT8)lparam);
break;
case USER_NO_STEP:
break;
case COMPUTER_NO_STEP:
break;
case GAME_OVER:
winner = (UINT8)wparam;
update_status(Class, BlackPoint, WhitePoint);
win_compopup_init(WIN_POPUP_TYPE_OK);
win_compopup_set_frame(GAME_MSG_LEFT, GAME_MSG_TOP, GAME_MSG_WIDTH, GAME_MSG_HEIGHT);
if (winner == COMPUTER_WIN)
{
//"Sorry! You lost!"
win_compopup_set_msg_ext(NULL, NULL, RS_GAME_SORRY_YOU_LOST);
}
else if (winner == USER_WIN)
{
//"You Win!"
win_compopup_set_msg_ext(NULL, NULL, RS_GAME_YOU_WIN);
}
else
{
//"DOGFALL!"
win_compopup_set_msg_ext(NULL, NULL, RS_GAME_DOGFALL);
}
win_compopup_open_ext(&back_saved);
othello_init();
OSD_ObjOpen((POBJECT_HEAD)&game_con, 0xFFFFFFFF) ;
/*
othello_draw_background();
update_status(Class, BlackPoint, WhitePoint,TRUE);
OSD_SetAttr((POBJECT_HEAD) &txt_start, C_ATTR_ACTIVE);
OSD_ChangeFocus((POBJECT_HEAD) &game_con, 1, \
C_UPDATE_FOCUS | C_DRAW_SIGN_EVN_FLG);
*/
break;
}
}
开发者ID:jinfeng-geeya,项目名称:3202C,代码行数:57,代码来源:win_game_othello.c
示例15: win_keyboard_rename_open
BOOL win_keyboard_rename_open(UINT16* set_name,UINT8** ret_name,check_name_func check_func )
{
UINT16 strID;
UINT32 hkey;
PRESULT ret;
TEXT_FIELD *txt;
EDIT_FIELD *edf;
CONTAINER *win;
win = &g_win_find;
wincom_backup_region(&win->head.frame);
set_color_style();
BOOL old_value = ap_enable_key_task_get_key(TRUE);
strID = RS_HELP_RENAME;
win_keyboard_set_title(strID);
name_valid_func = check_func;
check_ok = FALSE;
#ifndef KEYBOARD_SUPPORT
edf = &find_edt1;
MEMSET(input_name_str,0,sizeof(input_name_str));
OSD_SetEditFieldContent(edf, STRING_UNICODE, (UINT32)set_name);
#else
txt = &find_input;
MEMSET(input_name_str,0,sizeof(input_name_str));
OSD_SetTextFieldContent(txt, STRING_UNICODE,(UINT32)set_name);
#endif
win = &g_win_find;
set_keyboard_flag(TRUE);
find_init_keys();
find_set_key_display();
ret = OSD_ObjOpen((POBJECT_HEAD)win, 0);
while(ret != PROC_LEAVE)
{
hkey = ap_get_key_msg();
if(hkey == INVALID_HK || hkey == INVALID_MSG)
continue;
ret = OSD_ObjProc((POBJECT_HEAD)win, (MSG_TYPE_KEY<<16),hkey, 0);
}
if(check_ok)
{
*ret_name = (UINT8*)input_name_str;
}
else
{
*ret_name = NULL;
}
set_keyboard_flag(FALSE);
wincom_restore_region();
ap_enable_key_task_get_key(old_value);
return (check_ok);
}
开发者ID:alkap007,项目名称:ali3606,代码行数:57,代码来源:win_find.c
示例16: operator_info_enter_detail
static void operator_info_enter_detail(ID id)
{
POBJECT_HEAD temp = NULL;
UINT8 a=1;
switch(id)
{
case OPINFO_SERVICE_ENTITLE:
temp = (POBJECT_HEAD)&g_win_service_entitle;
break;
case OPINFO_WALLET_INFO:
temp = (POBJECT_HEAD)&g_win_walletinfo;
break;
case OPINFO_IPPV_INFO:
temp = (POBJECT_HEAD)&g_win_IPPVinfo;
break;
case OPINFO_CHILD_PARENT_CARD:
// From_op_info_menu = 1;
temp = (POBJECT_HEAD)&g_win_feedcard;
break;
case OPINFO_DETITLE:
temp = (POBJECT_HEAD)&g_win_detitle;
break;
case OPINFO_AREA_CODE:
temp = (POBJECT_HEAD)&g_win_eigenvalue_info;
break;
default:
break;
}
if(temp != NULL)
{
//OSD_ObjClose((POBJECT_HEAD)&g_win_operator_info_detail, C_CLOSE_CLRBACK_FLG);
//wincom_close_help(1);
if (OSD_ObjOpen(temp, 0xFFFFFFFF)!= PROC_LEAVE)
{
menu_stack_push(temp);
}
else
{
OSD_ObjOpen((POBJECT_HEAD)&g_win_operator_info_detail, 0xFFFFFFFF);
}
}
}
开发者ID:jinfeng-geeya,项目名称:3202C,代码行数:43,代码来源:win_ca_operator_info_detail.c
示例17: cti_PPID_detail_info_display
static void cti_PPID_detail_info_display()
{
POBJECT_HEAD submenu;
UINT8 PPID_id[3];
char pin[9];
cas_pin_t casPIN;
int ret=0;
UINT32 PPID=0;
UINT8 back_saved;
//check PIN
if(!win_pin_open(NULL,0))
{
return;
}
win_compopup_init(WIN_POPUP_TYPE_SMSG);
//win_compopup_set_msg("Reading PPID detail info.",NULL, 0);
win_compopup_set_msg(NULL,NULL, RS_CTI_READING_PPID_DETAIL);
win_compopup_open_ext(&back_saved);
memcpy(PPID_id,cti_PPID_list.info[g_PPID_itemIdx-1].id,3);
win_pin_get_input(pin, sizeof(pin));
memcpy(casPIN.pin_code,pin,8);
casPIN.pin_len = STRLEN(casPIN.pin_code);
memset(&cti_PPID_detInfo,0,sizeof(cas_PPID_detailed_info_t));
ret=cas_get_sc_PPID_detailed(PPID_id, &casPIN, &cti_PPID_detInfo);
//osal_task_sleep(1000);
win_compopup_smsg_restoreback();
//soc_printf("qjzheng---PPID.id = %02x%02x%02x,pin=%s,len=%d\n",PPID_id[0],PPID_id[1],PPID_id[2],casPIN.pin_code,casPIN.pin_len);
if(ret!=0)
{
//soc_printf("qjzheng--to get PPID detail info error =%d\n",ret);
osal_task_sleep(500);
win_compopup_init(WIN_POPUP_TYPE_SMSG);
//win_compopup_set_msg("Read PPID detail info error!",NULL, 0);
win_compopup_set_msg(NULL,NULL, RS_CTI_READ_PPID_DETAIL_ERROR);
win_compopup_open_ext(&back_saved);
osal_task_sleep(1000);
win_compopup_smsg_restoreback();
return;
}
//to enter PPID_info detail
submenu = (POBJECT_HEAD)&g_win_cti_PPID_info;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU|g_PPID_curID) != PROC_LEAVE)
{
menu_stack_push(submenu);
}
}
开发者ID:alkap007,项目名称:ali3606,代码行数:54,代码来源:win_cti_ppid.c
示例18: enter_sub_menu
static void enter_sub_menu(POBJECT_HEAD* menus, UINT32 idx)
{
POBJECT_HEAD sub_menu_win;
sub_menu_win = menus[idx];
if(sub_menu_win != NULL)
{
if(OSD_ObjOpen(sub_menu_win,MENU_OPEN_TYPE_MENU + idx + C_SUBMENU_ID_BASE) != PROC_LEAVE)
menu_stack_push(sub_menu_win);
}
}
开发者ID:Janesak1977,项目名称:ali3602,代码行数:11,代码来源:win_mainmenu_submenu.c
示例19: cti_item_callback
static PRESULT cti_item_callback(POBJECT_HEAD pObj, VEVENT event, UINT32 param1, UINT32 param2)
{
PRESULT ret = PROC_PASS;
VACTION unact;
UINT8 bID;
POBJECT_HEAD submenu;
bID = OSD_GetObjID(pObj);
switch(event)
{
case EVN_UNKNOWN_ACTION:
unact = (VACTION)(param1>>16);
if(unact == VACT_ENTER )//&&Correct_card==1)
{
switch(bID)
{
case CTI_CARD_INFO_ID:
submenu = (POBJECT_HEAD)&g_win_cti_cardinfo;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU | bID) != PROC_LEAVE)
menu_stack_push(submenu);
break;
case CTI_PPID_INFO_ID:
submenu = (POBJECT_HEAD)&g_win_cti_PPID;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU | bID) != PROC_LEAVE)
menu_stack_push(submenu);
break;
case CTI_MATURITY_RATING_ID:
submenu = (POBJECT_HEAD)&g_win_cti_set_maturity;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU | bID) != PROC_LEAVE)
menu_stack_push(submenu);
break;
case CTI_CARD_PIN_ID:
submenu = (POBJECT_HEAD)&g_win_cti_pin;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU | bID) != PROC_LEAVE)
menu_stack_push(submenu);
break;
case CTI_BMAIL_ID:
submenu = (POBJECT_HEAD)&g_win_cti_mail;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU | bID) != PROC_LEAVE)
menu_stack_push(submenu);
break;
///*
case CTI_USER_VIEW:
submenu = (POBJECT_HEAD)&g_win_cti_userview;
if(OSD_ObjOpen(submenu, MENU_OPEN_TYPE_MENU | bID) != PROC_LEAVE)
menu_stack_push(submenu);
break;
//*/
}
}
break;
default:
;
}
return ret;
}
开发者ID:Janesak1977,项目名称:ali3602,代码行数:57,代码来源:win_condition_access.c
示例20: BackToFullScrPlay
void BackToFullScrPlay()
{
OSD_RECT rect;
UINT16 cur_channel;
UINT8 no_channel = 0, back_saved;
ap_clear_all_menus();
menu_stack_pop_all();
cur_channel = sys_data_get_cur_group_cur_mode_channel();
recreate_prog_view(VIEW_ALL | PROG_TVRADIO_MODE , 0);
if (get_prog_num(VIEW_ALL | PROG_TV_MODE, 0) == 0)
{
no_channel = 1;
}
if (get_prog_num(VIEW_ALL | PROG_RADIO_MODE, 0) > 0)
{
if (no_channel)
sys_data_set_cur_chan_mode(RADIO_CHAN);
no_channel = 0;
}
if (no_channel)
{
if (OSD_ObjOpen((POBJECT_HEAD) &g_win_mainmenu, MENU_OPEN_TYPE_STACK) != PROC_LEAVE)
menu_stack_push((POBJECT_HEAD) &g_win_mainmenu);
}
else
{
hde_set_mode(VIEW_MODE_FULL);
vpo_ioctl(g_vpo_dev, VPO_IO_DIRECT_ZOOM, 0);
/* Clear OSD */
OSD_GetRectOnScreen(&rect);
OSDDrv_RegionFill((HANDLE)g_osd_dev, 0, &rect, OSD_TRANSPARENT_COLOR);
/* show mute & pause status*/
ShowMuteOnOff();
ShowPauseOnOff();
// ap_cas_message_show();
/* show channel index */
key_pan_display_channel(cur_channel);
if(GetChannelParrentLock())
{
api_play_channel(cur_channel,TRUE,TRUE,FALSE);
}
//--{{{退到全屏播放的时候,弹出INFO BAR
ap_send_msg(CTRL_MSG_SUBTYPE_CMD_ENTER_ROOT, (UINT32)CHANNEL_BAR_HANDLE, TRUE);
}
}
开发者ID:alkap007,项目名称:ali3606,代码行数:49,代码来源:win_cti_cas_proc.c
注:本文中的OSD_ObjOpen函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论