For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2006 > Color scheme on Windows Mobile 5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Color scheme on Windows Mobile 5
Scewbedew

2006-01-14, 7:57 am

Anyone with a clue to the color scheme settings in Windows Mobile 5 (...or is
it QVGA)? The home.xml and scheme.xml files may include a number of color
codes that is interpreted by the system. The interpretation of these codes
seems to have changed, and I cannot find any documents anywhere on the
current state.

In particular, the settings for the menu buttons has changed. In Smartphone
2003 and Classic display, the COLOR_BTNFACE controlled the menu button
background while COLOR_TRAYGRADLEFT and COLOR_TRAYGRADRIGHT controlled the
gradient on the icon bar.

Now (Windows Mobile 5 on QVGA), COLOR_TRAYGRADLEFT seems to be the only
color handled, and it is used as base for both the menu buttons and the icon
bar. I say "base", because it isn't really using the color right out of the
box; instead it invents a gradient from "rather light" in the center to
"somewhat darker" towards the edges. Nowhere in the gradient is "my" color
represented. If I configured COLOR_TRAYGRADLEFT to #000000, I will get a
gradient ranging from #636363 to #9C9C9C.

COLOR_BTNFACE doesn't seem to be used any more and neither is
COLOR_TRAYGRADRIGHT.

Are there new color codes I can use to control the colors with a scheme.xml
file on the WM5/AVGA screen?

/S
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com