找回密码
 注册
搜索
查看: 1732|回复: 14

MTK如何更换主菜单背景

[复制链接]
发表于 2008-9-12 17:23:58 | 显示全部楼层 |阅读模式
MTK更换主菜单背景
本文来自:我爱研发网(52RD.com) 详细出处:http://www.52rd.com/bbs/post.asp?action=new&boardid=5
发表于 2008-10-2 09:19:46 | 显示全部楼层
idlescreen.
点评回复

使用道具 举报

发表于 2008-10-2 23:03:05 | 显示全部楼层
在文件wgui_draw_manager.c当中有这样一个函数, 该函数能改变main menu and sub menu background, that is: UI_filled_area* dm_get_current_scr_bg_filler(void);

by the way, this function just return the current screen's background. If you want to change it, finally, you should modify this file: themecomponents.h, in this file, you can find the definition:

CONST_HARDWARE UI_filled_area main_menu_background_filler_defaultTheme={
UI_FILLED_AREA_TYPE_COLOR,
UI_IMAGE_ID_NULL,
NULL,
{206,206,206,100},
{0,0,0,100},
{0,0,0,100},
{0,0,0,100},
0};

here, the main menu background is just a color filling, you can use image as background instead.
点评回复

使用道具 举报

发表于 2009-8-17 14:38:20 | 显示全部楼层
very good,tks!
点评回复

使用道具 举报

发表于 2009-8-25 10:45:32 | 显示全部楼层
OK,i know,thanks!
点评回复

使用道具 举报

发表于 2009-8-28 10:58:26 | 显示全部楼层
换图片有一点需要注意就是图片转成数组的时候,前面要加一个8字节的头。可以使用我做的一个工具来进行转换


【文件名】:09828@52RD_image2res.rar
【格 式】:rar
【大 小】:8K
【简 介】:MTK图片转数组,自动添加8字节头
【目 录】:EXE工具


点评回复

使用道具 举报

发表于 2009-8-29 11:11:04 | 显示全部楼层
我一向是直接换图片的
点评回复

使用道具 举报

发表于 2010-5-19 17:11:12 | 显示全部楼层
牛人,谢谢了!
点评回复

使用道具 举报

发表于 2010-5-19 22:50:30 | 显示全部楼层
以下是引用dickjunge在2009-8-29 11:11:04的发言:
我一向是直接换图片的


也是办法,呵呵
[em01]
点评回复

使用道具 举报

发表于 2010-5-20 09:33:36 | 显示全部楼层
牛人,谢谢了!看看先!能用,哈哈!
点评回复

使用道具 举报

发表于 2010-5-22 10:36:20 | 显示全部楼层
谢谢,6楼的。[em01]
点评回复

使用道具 举报

发表于 2010-5-22 14:00:45 | 显示全部楼层
[em01][em01][em0不错呀
点评回复

使用道具 举报

发表于 2010-6-9 14:03:54 | 显示全部楼层
牛人,谢谢了!看看先!
点评回复

使用道具 举报

发表于 2010-11-14 19:48:59 | 显示全部楼层
很强大很受用 真是牛人
点评回复

使用道具 举报

发表于 2011-3-29 19:03:04 | 显示全部楼层
不知道怎么样,如果好,就再顶下
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-10-8 03:44 , Processed in 0.064345 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表