Hello people,

I was looking in the API and couldn't find any way to get the colors that the system actually uses.

I think it is useful when performing custom painting to have an API just like java.awt.SystemColor <http://java.sun.com/javase/6/docs/api/java/awt/SystemColor.html>.

I think it won't be too much work to implement it, as you internally use some code that works just like java.awt.SystemColor fields, so a com.sun.star.awt.SystemColor will be easy to get from:

GetSettings().GetStyleSettings().GetWindowColor()
GetSettings().GetStyleSettings().GetHighlightColor()
GetSettings().GetStyleSettings().GetHighlightTextColor()
GetSettings().GetStyleSettings().GetFaceColor()
GetSettings().GetStyleSettings().GetLightColor(
GetSettings().GetStyleSettings().GetShadowColor()
...


Bye and thanks


--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.arielconstenlahaile.com.ar/ooo/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to