下载此文档

MTK菜单处理.doc


文档分类:IT计算机 | 页数:约5页 举报非法文档有奖
1/5
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/5 下载此文档
文档列表 文档介绍
MTK创建菜单的过程
//Step 1, Create menu
create_fixed_list();
Create_fixed_matrix();
//step2, Create menuitems();
create_fixed_text_menuitems();
create_fixed_icontext_menuitems();
create_fixed_icontext_list_menuitems();
create_fixed_twostate_menuitems();
//step3, Associate menu and menuitems
associate_fixed_icontext_list();
associate_fixed_icontext_list_list();
associate_fixed_icontext_list_matrix();
associate_fixed_icontext_matrix();
associate_fixed_multirow_list_list();
associate_fixed_text_list();
associate_fixed_text_matrix();
associate_fixed_twostate_list();
associate_fixed_twostate_matrix();
//step4, Set menuitems date
For(i=0;i<number_of_items;i++)
add_fixed_icontext_item(list_of_items[i],list_of_icon[i]);
add_fixed_icontext_items();
add_location_fixed_icontext_item();
add_fixed_text_item();
add_fixed_text_items();
add_location_fixed_text_item();
add_fixed_twostate_item();
add_fixed_twostate_items();
add_location_fixed_twostate_item();
add_fixed_icontext_list_item_icon();
add_fixed_icontext_list_item_text();
//step5, Register menu key handler
register_fixed_list_keys();
register_fixed_list_shortcut_handler();
register_fixed_matrix_keys();
register_fixed_matrix_shortcut_handler();
//step6, Rigister menu highlight handler
register_fixed_list_highlight_handler(standard_list_highlight_handler);
register_fixed_list_unhighlight_handler

MTK菜单处理 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数5
  • 收藏数0 收藏
  • 顶次数0
  • 上传人luciferios04
  • 文件大小56 KB
  • 时间2017-07-23