本文整理汇总了C++中SetRightSoftkeyFunction函数的典型用法代码示例。如果您正苦于以下问题:C++ SetRightSoftkeyFunction函数的具体用法?C++ SetRightSoftkeyFunction怎么用?C++ SetRightSoftkeyFunction使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了SetRightSoftkeyFunction函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: HighlightGPRSCount
/*****************************************************************************
* FUNCTION
* HighlightGPRSCount
* DESCRIPTION
*
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
void HighlightGPRSCount(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
#ifdef __MMI_GPRS_UNIT_TEST__
gprsTotalSent = 0;
gprsTotalReceived = 1025;
gprsLastSent = 1048533;
gprsLastReceived = 11048576;
SetKeyHandler(EntryScrGPRSCounter, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
SetLeftSoftkeyFunction(EntryScrGPRSCounter, KEY_EVENT_UP);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
#else /* __MMI_GPRS_UNIT_TEST__ */
SetKeyHandler(GetGPRSCountersRequest, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
SetLeftSoftkeyFunction(GetGPRSCountersRequest, KEY_EVENT_UP);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
#endif /* __MMI_GPRS_UNIT_TEST__ */
return;
}
示例2: game_simu_highlight
void game_simu_highlight(void)
{
SetLeftSoftkeyFunction(EntryRomList, KEY_EVENT_UP);
SetKeyHandler(EntryRomList, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
示例3: HighlightCHISTDeleteAllRecvd
/*****************************************************************************
* FUNCTION
* HighlightCHISTDeleteAllRecvd
* DESCRIPTION
* Recd call list option Delete All handler
* NA
*
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
void HighlightCHISTDeleteAllRecvd(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
chis_p->isDeleteAll = FALSE;
/* Check if the number of received calls is zero or not */
if (chis_p->nRecvdCalls != 0)
{
/* received calls count is non zero */
/* Change left soft key icon and label */
ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
/* Register function for left soft key */
SetLeftSoftkeyFunction(EntryCHISTDeleteAllRecvdConfirm, KEY_EVENT_UP);
}
else
{
/* received calls count is zero then disable left soft key */
ChangeLeftSoftkey(0, 0);
}
/* Change right soft key icon and label */
ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
/* Register function for right soft key */
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
return;
}
示例4: mmi_java_entry_force_terminate_dialog
/*****************************************************************************
* FUNCTION
* mmi_java_entry_force_terminate_dialog
* DESCRIPTION
* The entry function to ask if user real want to terminate java? (can not pause)
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
void mmi_java_entry_force_terminate_dialog(void) /* called by JAVA adaptor, also in mmi task */
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
EntryNewScreen(SCR_JAVA_FORCE_TERMINATE_DIALOG, NULL, mmi_java_entry_force_terminate_dialog, NULL);
ShowCategory74Screen(
STR_JAVA_TERMINATE,
mmi_java_get_title_icon(),
STR_GLOBAL_YES,
IMG_GLOBAL_YES,
STR_GLOBAL_NO,
IMG_GLOBAL_NO,
(PU8) GetString(STR_JAVA_FORCE_TERMINATE),
mmi_ucs2strlen(GetString(STR_JAVA_FORCE_TERMINATE)),
NULL);
SetLeftSoftkeyFunction(mmi_java_force_terminate_dialog_yes_hdlr, KEY_EVENT_UP);
SetRightSoftkeyFunction(mmi_java_force_terminate_dialog_no_hdlr, KEY_EVENT_UP);
}
示例5: mmi_java_entry_cb_terminate_dialog_internal
/*****************************************************************************
* FUNCTION
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
void mmi_java_entry_cb_terminate_dialog_internal(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
U8 *guiBuffer;
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
EntryNewScreen(SCR_JAVA_TERMINATE_DIALOG2, NULL, mmi_java_entry_cb_terminate_dialog_internal, NULL);
guiBuffer = GetCurrGuiBuffer(SCR_JAVA_TERMINATE_DIALOG2);
ShowCategory74Screen(
STR_SCR_JAVA_CAPTION,
mmi_java_get_title_icon(),
STR_GLOBAL_YES,
IMG_GLOBAL_YES,
STR_GLOBAL_NO,
IMG_GLOBAL_NO,
(PU8) cb_terminate_string,
mmi_ucs2strlen((PS8) cb_terminate_string),
NULL);
SetLeftSoftkeyFunction(mmi_java_cb_terminate_dialog_yes_hdlr, KEY_EVENT_UP);
SetRightSoftkeyFunction(mmi_java_cb_terminate_dialog_no_hdlr, KEY_EVENT_UP);
}
示例6: EntryBMIResultScreen
void EntryBMIResultScreen(void)
{
U8 *guiBuffer;
DOUBLE bmiValue;
U8 * bmiBuf;
U8 percentageValue;
U16 FolwerIndex;
U8 LB,UB;
memset(g_bmi_cntx->ResultBuf,0,sizeof(g_bmi_cntx->ResultBuf));
guiBuffer = GetCurrGuiBuffer(SCR_BMI_RESULT);
EntryNewScreen(SCR_BMI_RESULT, NULL, EntryBMIResultScreen, NULL);
bmiValue = g_bmi_cntx->Weight/(g_bmi_cntx->Height*g_bmi_cntx->Height)*10000;
coolsand_UI_float_string(bmiValue, 2, g_bmi_cntx->ResultBuf);
if(g_bmi_cntx->Gender == 0)
{
LB = BMI_MALE_LB;
UB = BMI_MALE_UB;
FolwerIndex = IMG_BMI_BLUE_FLOWER;
}
else
{
LB = BMI_FEMALE_LB;
UB = BMI_FEMALE_UB;
FolwerIndex = IMG_BMI_RED_FLOWER;
}
coolsand_UI_itoa(LB, (U16*)g_bmi_cntx->LBBuf, 10);
coolsand_UI_itoa(UB, (U16*)g_bmi_cntx->UBBuf, 10);
if(bmiValue > UB)
{
bmiBuf = (U8*) GetString(STR_BMI_FAT);
percentageValue = 2;
}
else if(bmiValue < LB)
{
bmiBuf = (U8*) GetString(STR_BMI_THIN);
percentageValue = 0;
}
else
{
bmiBuf = (U8*) GetString(STR_BMI_NORMAL);
percentageValue = 1;
}
ShowCategory122Screen(STR_BMI_RESULT_CAPTION, GetRootTitleIcon(ORGANIZER_HEALTH_MENU),
0, 0,
STR_GLOBAL_BACK, IMG_GLOBAL_BACK,
STR_BMI_BMI_TEXT,percentageValue,
guiBuffer, g_bmi_cntx->ResultBuf,bmiBuf,
FolwerIndex,(U8*)g_bmi_cntx->LBBuf,(U8*)g_bmi_cntx->UBBuf);
SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);
}
示例7: EntryBMIWelcomeScreen
/*****************************************************************************
* FUNCTION
* EntryBMIWelcomeScreen
* DESCRIPTION
* Display welcome screen of BMI application
* PARAMETERS
* None
* RETURNS
* None
* GLOBALS AFFECTED
* None
*****************************************************************************/
void EntryBMIWelcomeScreen(void)
{
U8 *guiBuffer;
EntryNewScreen(SCR_BMI_WELCOME, NULL, EntryBMIWelcomeScreen, NULL);
guiBuffer = GetCurrGuiBuffer(SCR_BMI_WELCOME);
if(g_bmi_cntx == NULL)
g_bmi_cntx = OslMalloc(sizeof(bmi_context_struct));
memset(g_bmi_cntx, 0, sizeof(bmi_context_struct));
ShowCategory129Screen((U8*)get_string(STR_BMI_WELCOME_CAPTION), GetRootTitleIcon(ORGANIZER_HEALTH_MENU),
STR_GLOBAL_OK, IMG_GLOBAL_OK, STR_GLOBAL_BACK, IMG_GLOBAL_BACK,
IMG_BMI_WELCOME_SCREEN, guiBuffer);
SetLeftSoftkeyFunction(EntryBMIInputScreen ,KEY_EVENT_UP);
SetRightSoftkeyFunction(BmiFreeMemAndGoBack,KEY_EVENT_UP);
#ifdef __MMI_NOKIA_STYLE_N800__
ClearKeyHandler( KEY_LSK, KEY_EVENT_DOWN);
ClearKeyHandler( KEY_RSK, KEY_EVENT_DOWN);
SetKeyHandler(EntryBMIInputScreen , KEY_LSK, KEY_EVENT_UP);
SetKeyHandler(BmiFreeMemAndGoBack , KEY_RSK, KEY_EVENT_UP);
#endif
}
示例8: EntryCALLSETBarringOption
/**************************************************************
FUNCTION NAME : EntryCALLSETBarringOption(void)
PURPOSE : entry function for call barring option menu
INPUT PARAMETERS : nil
OUTPUT PARAMETERS : nil
RETURNS : void
**************************************************************/
void EntryCALLSETBarringOption(void)
{
//micha1229
// U16 nDispAttribute; /* Stores display attribue */
U8* guiBuffer; /* Buffer holding history data */
U16 nNumofItem;
U16 nStrItemList[MAX_SUB_MENUS];
EntryNewScreen(SCR_ID_CALLSET_BARRING_OPTION, NULL, EntryCALLSETBarringOption, NULL);
/* Get current screen info into gui buffer for history purposes*/
guiBuffer = GetCurrGuiBuffer(SCR_ID_CALLSET_BARRING_OPTION);
/* Retrieve no of child of menu item to be displayed */
nNumofItem = GetNumOfChild(MENU_BARRING_OPTION);
/* Get attribute of menu to be displayed */
// nDispAttribute = GetDispAttributeOfItem(MENU_BARRING_OPTION);
/* Retrieve string ids in sequence of given menu item to be displayed */
GetSequenceStringIds(MENU_BARRING_OPTION, nStrItemList);
/* Set current parent id*/
SetParentHandler(MENU_BARRING_OPTION );
/* Register highlight handler to be called in menu screen */
RegisterHighlightHandler(ExecuteCurrHiliteHandler);
/* Display Category Screen */
ShowCategory15Screen( STR_MENU_BARRING_OPTION, MAIN_MENU_TITLE_SETTINGS_ICON,
STR_GLOBAL_OK, IMG_GLOBAL_OK,
STR_GLOBAL_BACK, IMG_GLOBAL_BACK,nNumofItem, nStrItemList,
(U16 *)gIndexIconsImageList,1,0,guiBuffer);
/* Register function with right softkey */
SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW,KEY_EVENT_DOWN);
/* Register Exit handler */
return;
}
示例9: mmi_idle_entry_change_dial_mode
/*****************************************************************************
* FUNCTION
* mmi_idle_entry_change_dial_mode
* DESCRIPTION
*
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
void mmi_idle_entry_change_dial_mode(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
g_idle_context.DigitScreenDialMode = (g_idle_context.DigitScreenDialMode) ? 0 : 1; /* 0: GSM, 1: WLAN */
sprintf(g_idle_context.DialPadCallBuffer, "");
g_idle_context.IdleScreenDigitKeyCode = -1;
IdleScreenDigitHandler();
DeleteScreenIfPresent(IDLE_SCREEN_DIGIT_OPTIONS_ID);
DeleteScreenIfPresent(IDLE_SCREEN_DIGIT_HANDLER_ID);
DeleteScreenIfPresent(SCR_ID_VOIP_CALL_EDITOR);
if (mmi_netset_get_active_preferred_mode() == P_WLAN_PREFERRED || mmi_idle_get_dial_mode() == 0)
{
/* enter VoIP dialer screen first then change dialer mode to digit dialer */
/* restore RSK/LSK handers because they are changed to disable long press */
SetLeftSoftkeyFunction(mmi_idle_entry_dial_pad_option, KEY_EVENT_UP);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
}
}
示例10: Draw_MobileEdenScreen
/*****************************************************************************
FUNCTION NAME : Draw_MobileEdenScreen
PURPOSE :draw Level1.
INPUT PARAMETERS : void
OUTPUT PARAMETERS : void
RETURNS :
Entry_MobileEden Entry_SP_Level1 SP_Pre_Entry_Level2
| | |
| /Level1/ | /Level2/ |
Mobile Paradise | | | | |
->New Style World | |
---->Joke
-------->Request
-------->Price Explanation
...
<----- <-----
SP_EDEN_GoBackHistory SP_Level1_GoBackHistory
******************************************************************************/
void Draw_MobileEdenScreen(void)
{
U16 nStrItemList[5];
U16 nTempStrItemList[5];
int i = 0;
U16 nNumofItem = 0; /* Stores no of children in the submenu*/
U8* guiBuffer = NULL; /* Buffer holding history data */
mmi_trace(g_sw_SP,"niej Draw_MobileEdenScreen");
EntryNewScreen(SCR_SP_MOBILE_EDEN, NULL, Draw_MobileEdenScreen, NULL);
guiBuffer = GetCurrGuiBuffer(SCR_SP_MOBILE_EDEN);
GetSequenceStringIds_Ext(MENU_ID_SP_MOBILE_EDEN,nTempStrItemList);
/*in the submenu of MENU_ID_SP_MOBILE_EDEN,
the first 3 items support China Telecom, the last item support China Unicom*/
if(sp_network_name == SP_NETWORK_CU)
{
mmi_trace(g_sw_SP,"niej sp_network_name is SP_NETWORK_CU");
nNumofItem = 1;
nStrItemList[0] = nTempStrItemList[3];
// SetLeftSoftkeyFunction(Entry_Fun_Interact_CU,KEY_EVENT_UP);
}
else if (sp_network_name == SP_NETWORK_CT)
{
mmi_trace(g_sw_SP,"niej sp_network_name is SP_NETWORK_CT nNumofItem[%d]", nNumofItem);
nNumofItem = 3;
for(i=0; i<nNumofItem; i++)
{
nStrItemList[i] = nTempStrItemList[i];
mmi_trace(g_sw_SP,"niej nStrItemList[%d]:[%d]",i, nStrItemList[i]);
}
RegisterHighlightHandler(ExecuteCurrHiliteHandler);
}
else
{
mmi_trace(g_sw_SP,"niej sp_network_name[%d] can't support this function", sp_network_name);
}
SetParentHandler(MENU_ID_SP_MOBILE_EDEN);
mmi_trace(g_sw_SP,"niej ShowCategory52Screen ");
ShowCategory52Screen(STR_MOBILE_EDEN,MAIN_MENU_TITLE_FUNANDGAMES_ICON,
STR_GLOBAL_OK, IMG_GLOBAL_OK,
STR_GLOBAL_BACK, IMG_GLOBAL_BACK,
nNumofItem,nStrItemList,(PU16)gIndexIconsImageList,
NULL,
0,0,guiBuffer);
if(sp_network_name == SP_NETWORK_CU)
{
SetLeftSoftkeyFunction(Entry_Fun_Interact_CU,KEY_EVENT_UP);
}
SetRightSoftkeyFunction(SP_EDEN_GoBackHistory,KEY_EVENT_UP);
SetKeyHandler(SP_EDEN_GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
示例11: Entry_SP_Level2
/*****************************************************************************
FUNCTION NAME : Entry_SP_Level2
PURPOSE : From level2 go to next screen .
SP_Pre_Entry_Level2 will do some preparation for SP_Pre_Entry_Level2.
INPUT PARAMETERS : void
OUTPUT PARAMETERS : void
RETURNS :
Entry_MobileEden Entry_SP_Level1 SP_Pre_Entry_Level2
| | |
| /Level1/ | /Level2/ |
Mobile Paradise | | | | |
->New Style World | |
---->Joke
-------->Request
-------->Price Explanation
...
<----- <-----
SP_EDEN_GoBackHistory SP_Level1_GoBackHistory
******************************************************************************/
void Entry_SP_Level2(void)
{
U16 nStrItemList[SP_MAX_SUB_MENUS]; /* Stores the strings id of submenus returned */
U16 nNumofItem = 0; /* Stores no of children in the submenu*/
U8* guiBuffer = NULL; /* Buffer holding history data */
U16 ScrId = sp_level1_scr.sp_scr_id+sp_level_2_index+1;
U16 MenuId = sp_level1_scr.sp_menu_id+sp_level_2_index+1;
EntryNewScreen(ScrId, NULL, Entry_SP_Level2, NULL);
guiBuffer = GetCurrGuiBuffer(ScrId);
nNumofItem = GetNumOfChild(MenuId);
GetSequenceStringIds_Ext(MenuId, nStrItemList);
SetParentHandler(MenuId);
RegisterHighlightHandler(ExecuteCurrHiliteHandler);
ShowCategory52Screen(GetStringIdOfItem(MenuId),
MAIN_MENU_TITLE_FUNANDGAMES_ICON,
STR_GLOBAL_OK, IMG_GLOBAL_OK,
STR_GLOBAL_BACK, IMG_GLOBAL_BACK,
nNumofItem,nStrItemList,(PU16)gIndexIconsImageList,
NULL,
0,0,guiBuffer);
SetRightSoftkeyFunction(GoBackHistory,KEY_EVENT_UP);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
示例12: Entry_SP_Level1
/*****************************************************************************
FUNCTION NAME : void Entry_SP_Level1(void)
PURPOSE : From level1 go to next screen .
The association between entry function and menu as following
Entry_MobileEden Entry_SP_Level1 SP_Pre_Entry_Level2
| | |
| /Level1/ | /Level2/ |
Mobile Paradise | | |
->New Style World |
---->Joke
-------->Request
-------->Price Explanation
...
<----- <-----
SP_EDEN_GoBackHistory SP_Level1_GoBackHistory
eg. when into Mobile Paradise ->New Style World->, this function will be
called.
INPUT PARAMETERS : void
OUTPUT PARAMETERS : void
RETURNS : void
******************************************************************************/
void Entry_SP_Level1(void)
{
U16 nStrItemList[SP_MAX_SUB_MENUS]; /* Stores the strings id of submenus returned */
U16 nNumofItem; /* Stores no of children in the submenu*/
U8* guiBuffer; /* Buffer holding history data */
mmi_trace(g_sw_SP,"niej Entry_SP_Level1 sp_level1_scr.sp_scr_id[%d],sp_level1_scr.sp_menu_id[%d]",
sp_level1_scr.sp_scr_id, sp_level1_scr.sp_menu_id);
EntryNewScreen(sp_level1_scr.sp_scr_id, NULL, Entry_SP_Level1, NULL);
guiBuffer = GetCurrGuiBuffer(sp_level1_scr.sp_scr_id);
nNumofItem = GetNumOfChild(sp_level1_scr.sp_menu_id);
GetSequenceStringIds_Ext(sp_level1_scr.sp_menu_id, nStrItemList);
SetParentHandler(sp_level1_scr.sp_menu_id);
RegisterHighlightHandler (SP_Level_2_Get_Index);
ShowCategory52Screen(GetStringIdOfItem(sp_level1_scr.sp_menu_id),
MAIN_MENU_TITLE_FUNANDGAMES_ICON,
STR_GLOBAL_OK, IMG_GLOBAL_OK,
STR_GLOBAL_BACK, IMG_GLOBAL_BACK,
nNumofItem,nStrItemList,(PU16)gIndexIconsImageList,
NULL,
0,0,guiBuffer);
SetLeftSoftkeyFunction (SP_Pre_Entry_Level2, KEY_EVENT_UP);
SetKeyHandler (SP_Pre_Entry_Level2, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetRightSoftkeyFunction(SP_Level1_GoBackHistory,KEY_EVENT_UP);
SetKeyHandler(SP_Level1_GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
示例13: SP_Entry_Make_Call
/*****************************************************************************
FUNCTION NAME : SP_Entry_Make_Call
PURPOSE :when the sp service is IVR, question call or don't call.
INPUT PARAMETERS : void
OUTPUT PARAMETERS : void
RETURNS :
******************************************************************************/
void SP_Entry_Make_Call (void)
{
S8 textbuf[SP_CODE_LENGTH*ENCODING_LENGTH];
SP_SMS_Service_Code_Struct sp_level2_service_code;
mmi_trace(g_sw_SP,"niej SP_Entry_Make_Call");
SP_Get_Level2_Service_Code(sp_level1_scr.sp_menu_id,
sp_level1_scr.sp_menu_id+sp_level_2_index+1,
&sp_level2_service_code);
EntryNewScreen(SCR_ID_MSG_CONFIRMATION, Sp_Exit_Make_Call, NULL, NULL);
memset(textbuf, 0, SP_CODE_LENGTH*ENCODING_LENGTH);
memset(g_msg_cntx.smsPhoneNumber, 0, (MAX_DIGITS+1)*ENCODING_LENGTH);
AnsiiToUnicodeString(textbuf, (S8*)sp_level2_service_code.Code_Subscribe);
mmi_trace(g_sw_SP, "niej Code_Subscribe[%s]", sp_level2_service_code.Code_Subscribe);
pfnUnicodeStrcpy(g_msg_cntx.smsPhoneNumber, textbuf);
mmi_trace(1, "g_msg_cntx.smsPhoneNumber[%s]", g_msg_cntx.smsPhoneNumber);
ShowCategory154Screen(0, 0,
STR_GLOBAL_YES, IMG_SMS_COMMON_NOIMAGE,
STR_GLOBAL_NO, IMG_SMS_COMMON_NOIMAGE,
(PU8)get_string_lang (STR_GLOBAL_DIAL, SSC_SCHINESE),
(PU8)g_msg_cntx.smsPhoneNumber,
IMG_GLOBAL_QUESTION, NULL);
SetLeftSoftkeyFunction (Sp_Make_Call, KEY_EVENT_UP);
SetRightSoftkeyFunction (GoBackHistory, KEY_EVENT_UP);
playRequestedTone(WARNING_TONE);
}
示例14: I51_mmi_menu_highlight
void I51_mmi_menu_highlight (void)
{
SetLeftSoftkeyFunction (I51_menu_entry,KEY_EVENT_UP);
SetKeyHandler (I51_menu_entry,KEY_RIGHT_ARROW,KEY_EVENT_DOWN);
SetRightSoftkeyFunction (GoBackHistory, KEY_EVENT_UP);
SetKeyHandler (GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
示例15: mmi_java_entry_reset_rms_res
/*****************************************************************************
* FUNCTION
* mmi_java_entry_reset_rms_res
* DESCRIPTION
* Reset RMS Confirm screen Entry Function
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
void mmi_java_entry_reset_rms_res(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
U8 *guiBuffer;
U8 *str;
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
EntryNewScreen(SCR_JAVA_RESET_RMS_CONFIRM, NULL, mmi_java_entry_reset_rms_res, NULL);
/* playRequestedTone(WARNING_TONE); */
guiBuffer = GetCurrGuiBuffer(SCR_JAVA_RESET_RMS_CONFIRM);
//mmi_asc_to_ucs2 ((PS8)gJavaPrintableStr,
//"Do you want the new version application to be able to use the information stored by the old version application?");
str = (U8*) get_string(STR_JAVA_RESET_RMS_ASK);
ShowCategory74Screen(
STR_JAVA_KEEP_RMS,
mmi_java_get_title_icon(),
STR_GLOBAL_YES,
IMG_GLOBAL_YES,
STR_GLOBAL_NO,
IMG_GLOBAL_NO,
(PU8) str,
mmi_ucs2strlen((PS8) str),
NULL);
SetLeftSoftkeyFunction(mmi_java_send_reset_rms_res_yes, KEY_EVENT_UP);
SetRightSoftkeyFunction(mmi_java_send_reset_rms_res_no, KEY_EVENT_UP);
}