找回密码
 注册
搜索
查看: 485|回复: 0

[资料] 主题样式的载入过程

[复制链接]
发表于 2009-3-18 15:27:23 | 显示全部楼层 |阅读模式
1.函数InitializeResourceVariables()读入主题地址
MMI_themes《=image2ndJumpTbl[2]《=mtk_MMI_themes
mtk_MMI_themes的定义如下:
const MMI_theme *mtk_MMI_themes[MAX_MMI_THEMES]={
(MMI_theme *)&theme_defaultTheme,
(MMI_theme *)&theme_1Theme,
(MMI_theme *)&theme_2Theme
};
2.函数wgui_init()设置当前主题
set_MMI_theme((MMI_theme*) MMI_themes[0]); //则当前主题为theme_defaultTheme
高级模式
B Color Image Link Quote Code Smilies

本版积分规则

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

GMT+8, 2025-1-23 12:00 , Processed in 0.047311 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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