📄 jmmscomposeui.c
字号:
SetKeyHandler(mmi_jmms_entry_attachment_insert_vcard, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_attachment_vcalendar
* DESCRIPTION
* highlight fn for menu option attachment->insert->vcalendar
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_attachment_vcalendar(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_attachment_insert_vcalender, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_attachment_insert_vcalender, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_attachment_insert_vcalender, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
#ifdef __MMI_VCARD__
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_attachment_vcard_fm
* DESCRIPTION
* highlight fn for menu option attachment->insert->vcard->file manager
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_attachment_vcard_fm(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_filemgr_insert_vcard, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_filemgr_insert_vcard, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_filemgr_insert_vcard, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_attachment_vcard_phb
* DESCRIPTION
* highlight fn for menu option attachment->insert->vacrd->phonebook
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_attachment_vcard_phb(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_insert_vcard_phb, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_insert_vcard_phb, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_insert_vcard_phb, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_attachment_my_vcard
* DESCRIPTION
* highlight fn for menu option attachment->insert->my vcard
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_attachment_my_vcard(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_insert_my_vcard, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_insert_my_vcard, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_insert_my_vcard, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
#endif /* __MMI_VCARD__ */
#ifdef __MMI_TODOLIST__
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_attachment_vcal_todolist
* DESCRIPTION
* highlight fn for menu option attachment->insert->vaclendar->to do list
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_attachment_vcal_todolist(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_insert_vclndr_tdl, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_insert_vclndr_tdl, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_insert_vclndr_tdl, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
#endif /* __MMI_TODOLIST__ */
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_attachment_vcal_fm
* DESCRIPTION
* highlight fn for menu option attachment->insert->vcalendar->file manager
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_attachment_vcal_fm(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_filemgr_insert_vcalander, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_filemgr_insert_vcalander, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_filemgr_insert_vcalander, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_edit_content_ip_method
* DESCRIPTION
* highlight fn for menu option edit content->input method
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_edit_content_ip_method(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
SetInputMethodAndDoneCaptionIcon(GetRootTitleIcon(MAIN_MENU_MESSAGES_MENUID));
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(EntryInputMethodScreen, KEY_EVENT_UP);
SetKeyHandler(EntryInputMethodScreen, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(EntryInputMethodScreen, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
RegisterInputMethodScreenCloseFunction(mmi_jmms_compose_go_back_history_ip_method);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_edit_content_insert
* DESCRIPTION
* highlight fn for menu option edit content->insert
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_edit_content_insert(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_edit_content_insert, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_edit_content_insert, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_edit_content_insert, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_edit_content_delete
* DESCRIPTION
* highlight fn for menu option edit content->delete
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_edit_content_delete(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_edit_content_delete, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_edit_content_delete, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_edit_content_delete, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_edit_content_replace
* DESCRIPTION
* highlight fn for menu option edit content->replace
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_edit_content_replace(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
ChangeLeftSoftkey(STR_GLOBAL_OK, 0);
ChangeRightSoftkey(STR_GLOBAL_BACK, 0);
SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
SetLeftSoftkeyFunction(mmi_jmms_entry_edit_content_replace, KEY_EVENT_UP);
SetKeyHandler(mmi_jmms_entry_edit_content_replace, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
SetKeyHandler(mmi_jmms_entry_edit_content_replace, KEY_WAP, KEY_EVENT_DOWN);
SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
}
/*****************************************************************************
* FUNCTION
* mmi_jmms_highlight_edit_content_play_audio
* DESCRIPTION
* highlight fn for menu option edit content->play audio
* PARAMETERS
* void
* a(?) [IN/OUT] Nil(?)
* b(?) [IN] Nil(?)
* RETURNS
* void
*****************************************************************************/
void mmi_jmms_highlight_edit_content_play_audio(void)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -