×
Namespaces

Variants
Actions

不支持S60主题界面颜色的改变

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

文章
hoolee 在 11 Mar 2008 创建
最后由 hamishwillee 在 15 Dec 2011 编辑
  • 开发伙伴平台:

S60 3rd Edition


  • 详细描述

Extensions plug-in package for S60 3rd Edition SDK包括一个个性化和皮肤设置的API,可以用来控制当前主题的颜色变化。


但是无论怎么改变这个键值,都无法看到主题界面的颜色有任何变化。这是因为S60第三版尚未支持此功能。


  • 如何重演
    #include <centralrepository.h>
 
#include <AknSkinsInternalCRKeys.h>
 
CRepository* cenRep = CRepository::NewLC( KCRUidPersonalisation );
 
TInt value = 0; // 0: Nokia "Classic" blue
 
//Try to change the color scheme
 
User::LeaveIfError( cenRep->Set( KPslnColorPalette, value ) );
 
CleanupStack::PopAndDestroy(); // cenRep


  • 解决方案

暂无解决方案

This page was last modified on 15 December 2011, at 05:51.
216 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×