📄 wgui_categories_mms.c
字号:
#ifdef __MMI_WALLPAPER_ON_BOTTOM__
MMI_multiline_inputbox.flags |= UI_MULTI_LINE_INPUT_BOX_TRANSPARENT_BACKGROUND;
dm_get_scr_bg_image(&editor_scr_bg_ID, &editor_scr_bg_filename, &editor_scr_bg_x, &editor_scr_bg_y, &editor_scr_bg_opacity);
dm_set_scr_bg_image(editor_scr_bg_ID, editor_scr_bg_filename, editor_scr_bg_x, editor_scr_bg_y, MMI_EDITOR_BG_OPACITY);//100605 editor opacity Calvin
#endif
/* 070505 Calvin End */
pixtel_UI_unlock_double_buffer();
/* Setup standard category handler */
ExitCategoryFunction=ExitCategory275Screen;
dm_setup_category_functions(dm_redraw_category_screen,GetCategory275History,GetCategory275HistorySize);
dm_data.s32ScrId = (s32)GetActiveScreenId();
dm_data.s32CatId = MMI_CATEGORY275_ID;
dm_data.s32flags = DM_CLEAR_SCREEN_BACKGROUND;
dm_data.s32flags|=DM_SHOW_VKPAD;
dm_setup_data(&dm_data);
dm_register_category_controlled_callback(DrawCate275CategoryControlArea);
dm_register_vkpad_callback(cat275_virtual_keypad_callback);
dm_redraw_category_screen();
}
/*----------------------------------------------------------------------------
Function: ExitCategory275Screen
Description: Exits the category275 screen
Input Parameters: none
Output Parameters: none
Returns: void
----------------------------------------------------------------------------*/
void ExitCategory275Screen(void)
{
/* Reset UI */
set_MMI_current_input_type();
reset_softkeys();
reset_multitaps();
wgui_close_inputbox();
/* 070505 Calvin Start */
#ifdef __MMI_WALLPAPER_ON_BOTTOM__
//dm_set_scr_bg_image(editor_scr_bg_ID, editor_scr_bg_filename, editor_scr_bg_x, editor_scr_bg_y, editor_scr_bg_opacity);//092005 grayscale Calvin
dm_set_scr_bg_image_no_draw(editor_scr_bg_ID, editor_scr_bg_filename, editor_scr_bg_x, editor_scr_bg_y, editor_scr_bg_opacity);
#endif
/* 070505 Calvin End */
/* Release context after other deinitialization routine
* because they might refer to CAT275_CTX
*/
MMI_multiline_inputbox.normal_filler = CAT275_CTX->backup_normal_filler;
current_multitap_input_theme->f = CAT275_CTX->backup_multitap_filler;
set_MMI_multitap_theme();
OslMfree(g_mmi_gui_cat275_context_p);
g_mmi_gui_cat275_context_p = NULL;
}
/*----------------------------------------------------------------------------
Function: GetCategory275HistorySize
Description: Gets the size of the history buffer for category275 screen
Input Parameters: none
Output Parameters: none
Returns: size in U8s of the history buffer
----------------------------------------------------------------------------*/
S32 GetCategory275HistorySize(void)
{
return sizeof(multiline_inputbox_category_history);
}
/*----------------------------------------------------------------------------
Function: GetCategory275History
Description: Gets the history buffer for category275 screen
Input Parameters: history_buffer is the buffer into which the history data is stored (pre-allocated)
Output Parameters: none
Returns: Pointer to the history buffer
----------------------------------------------------------------------------*/
U8* GetCategory275History(U8* history_buffer)
{
get_multiline_inputbox_category_history(MMI_CATEGORY275_ID, history_buffer, MMI_current_input_type);
return history_buffer;
}
#if defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__) || defined(__MMI_SMART_MESSAGE_MT__)
/* under construction !*/
/* under construction !*/
#if defined(__MMI_TOUCH_SCREEN__)
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __MMI_T9__
/* under construction !*/
#elif defined __MMI_ZI__
/* under construction !*/
#elif defined __MMI_KA__
/* under construction !*/
#elif defined __MMI_ITAP__
/* under construction !*/
#elif defined(__MMI_GB__)//InuptMethodEnterCategory5
GBInputMethodEnterCategory5();
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__MMI_FULL_SCREEN_EDITOR__)
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__MMI_FULL_SCREEN_EDITOR__)
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __MMI_WALLPAPER_ON_BOTTOM__
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
#if defined(__MMI_SMART_MESSAGE_MT__)
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __MMI_WALLPAPER_ON_BOTTOM__
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if 0
#if defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
#if defined(__MMI_SMART_MESSAGE_MT__)
/* under construction !*/
/* under construction !*/
#endif
#endif
/* under construction !*/
#if defined(__MMI_FULL_SCREEN_EDITOR__)
/* under construction !*/
#endif
/* under construction !*/
#if !defined(__MMI_FULL_SCREEN_EDITOR__)
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -