Ejemplo n.º 1
0
/*****************************************************************************
 * FUNCTION
 *  mmi_idle_highlight_dial_pad_option_input
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_idle_highlight_dial_pad_option_input(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    /* change left and right soft key */
    ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
    ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);

    /* set left and right soft key handler */
    SetLeftSoftkeyFunction(EntryAPRequiredInputMethodScreen, KEY_EVENT_UP);
    SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
    RegisterInputMethodScreenCloseFunction(mmi_voip_go_back_2_history);
}
Ejemplo n.º 2
0
static void mmiapi_enter_resume_fullscreen_editor(void)
{
    U8* guiBuffer = NULL;    
    
    EntryNewScreen (MMIAPI_SCREEN_FULLSCREEN_EDITOR, 0, mmiapi_enter_resume_fullscreen_editor, NULL);
    guiBuffer = GetCurrGuiBuffer (MMIAPI_SCREEN_FULLSCREEN_EDITOR);      
    
    ShowCategory5Screen (0, 0,
        STR_GLOBAL_OPTIONS, 0,
        STR_GLOBAL_BACK, 0,
        mmiapi_fullscreen_editor_input_type,
        (U8*) mmiapi_fullscreen_editor_input_buffer,
        mmiapi_fullscreen_editor_input_buffer_max_len,
        guiBuffer);
    
#ifdef __MMI_GB__
    GBSetInputboxLSKFunction (mmiapi_goto_fullscreen_editor_option);
#endif

    SetLeftSoftkeyFunction (mmiapi_goto_fullscreen_editor_option, KEY_EVENT_UP);
    SetCategory5RightSoftkeyFunction (CancelGotoJavaSreen, KEY_EVENT_UP);
	RegisterInputMethodScreenCloseFunction (GoBackHistory );
}