|
首先很不好意思这么小的问题自己都搞不定,还要麻烦各位 .
事情是这样地,前几天自己定义12宫格(想看下效果怎么样)
#define __MMI_VERSION_2__,关闭了 __MMI_BI_DEGREE_MAIN_MENU_STYLE__
添加了相应的图片 ,和一些常用的菜单, 编译通过后发现了一个小问题,就是屏坐标有点不对, 重新调过之后发现显示正常,但是移动选中的菜单时 发现添加的菜单动话不对,次序都混乱了 反复检查res_mainmenu.c中图片添加并没有发现什么问题...如下: ADD_APPLICATION_IMAGE(MAIN_MENU_PHONEBOOK_ICON, CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_PB.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_MESSAGES_ICON,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_MG.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_FUNANDGAMES_ICON,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_FG.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_ORGANIZER_ICON,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_OR.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_SETTINGS_ICON,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_ST.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_SHORTCUTS_ICON,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_SC.gif");
等等........
添加的动画如下:
ADD_APPLICATION_IMAGE(MAIN_MENU_PHONEBOOK_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_PB_ANI.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_MESSAGES_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_MG_ANI.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_FUNANDGAMES_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_FG_ANI.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_ORGANIZER_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_OR_ANI.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_SETTINGS_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_ST_ANI.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_SHORTCUTS_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_SC_ANI.gif");
ADD_APPLICATION_IMAGE(MAIN_MENU_SERVICES_ANIMATION,CUST_IMG_PATH"\\\\MainLCD\\\\MainMenu\\\\"IMG_DIR(__MMI_MAINMENU_TYPE__)"\\\\MM_SV_ANI.gif");
等等.........
好象没什么问题 所以还请各位达人提点下 小弟是只虚心的菜鸟 哈哈 |
|