打印

MTK如何更换主菜单背景

[复制链接]
3641|10
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
3B1105|  楼主 | 2010-5-22 14:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
6019实验室| | 2010-5-22 14:16 | 只看该作者
idlescreen.

使用特权

评论回复
板凳
6019赵文| | 2010-5-22 14:19 | 只看该作者
在文件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.

使用特权

评论回复
地板
huzixian| | 2010-5-22 14:21 | 只看该作者
very good,tks!

使用特权

评论回复
5
bit6019| | 2010-5-22 14:25 | 只看该作者
OK,i know,thanks!

使用特权

评论回复
6
linux1| | 2010-5-22 14:28 | 只看该作者
我一向是直接换图片的

使用特权

评论回复
7
LPC300| | 2010-5-22 14:32 | 只看该作者
牛人

使用特权

评论回复
8
LPC300| | 2010-5-22 14:36 | 只看该作者
也是办法,呵呵

使用特权

评论回复
9
maoyanketi| | 2010-5-22 14:39 | 只看该作者
牛人,谢谢了!看看先!能用,哈哈!

使用特权

评论回复
10
S3C2440| | 2010-5-22 14:43 | 只看该作者
不错呀

使用特权

评论回复
11
zhangjiwei2007| | 2010-5-22 15:18 | 只看该作者
还行吧。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

315

主题

1645

帖子

4

粉丝