/***************************************************************************** * FUNCTION * mmi_brw_address_list_entry_enter_url * DESCRIPTION * Entry function for full screen editor to enter the url. * PARAMETERS * void * RETURNS * void *****************************************************************************/ void mmi_brw_address_list_entry_enter_url(void) { /*----------------------------------------------------------------*/ /* Local Variables */ /*----------------------------------------------------------------*/ U8 *guiBuffer; /*----------------------------------------------------------------*/ /* Code Body */ /*----------------------------------------------------------------*/ EntryNewScreen(SCR_ID_BRW_ENTER_URL, NULL, mmi_brw_address_list_entry_enter_url, NULL); guiBuffer = GetCurrGuiBuffer(SCR_ID_BRW_ENTER_URL); /*it saves the current screen as the browser top most screen*/ mmi_brw_set_top_screen_id(); SetHiliteHandler(MENU_ID_BRW_EDITOR_OPTION_DONE, mmi_brw_address_list_enter_url_editor_done_option_highlight_hdlr); ShowCategory5Screen( STR_ID_BRW_ENTER_ADDRESS, GetRootTitleIcon(SERVICES_WAP_MENU_ID), STR_GLOBAL_OPTIONS, 0, STR_GLOBAL_BACK, 0, INPUT_TYPE_ALPHANUMERIC_LOWERCASE | INPUT_TYPE_OVERRIDE_DEFAULT | INPUT_TYPE_USE_ONLY_ENGLISH_MODES, (U8*) g_brw_hist_selected_url, BRW_ADDRESS_LIST_URL_LENGTH, guiBuffer); SetLeftSoftkeyFunction(mmi_brw_editor_entry_option, KEY_EVENT_UP); SetCategory5RightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP); }
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 ); }