Symbian关于自定义皮肤的一点总结
2010-07-21 04:31:00 来源:WEB开发网TUint32 color;
switch (i)
{
case EAknsCIQsnTextColorsCG1: //status area title text
case EAknsCIQsnTextColorsCG2: //navi pane texts
{
//color = 0xFF0000;
color = KRgbRed.Value();
}
break;
case EAknsCIQsnTextColorsCG3: //active tab text
case EAknsCIQsnTextColorsCG4: //passive tab text
{
color = 0x00FF00;
}
break;
case EAknsCIQsnTextColorsCG10: //list highlight list texts
{
color = 0x00FF00;
}
break;
case EAknsCIQsnTextColorsCG13: //control pane general left softkey text
case EAknsCIQsnTextColorsCG14: //control pane general right softkey text
case EAknsCIQsnTextColorsCG15: //control pane idle left softkey text
case EAknsCIQsnTextColorsCG16: //control pane idle right softkey text
{
color=0xFF0000;
}
break;
default:
{
color = colorItemData->ColorRgb(i).Value();
}
break;
}
textColors[i].iIndex=-1;
textColors[i].iRgb=color;
}
colorItemData->SetColorsL(50, textColors);
更多精彩
赞助商链接