List Info

Thread: Re: Getting the System Colors (missing feature in the AWT module?)




Re: Getting the System Colors (missing feature in the AWT module?)
user name
2007-09-03 07:36:30
Ariel Constenla-Haile wrote:
> 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/a
wt/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()
> ...
> 
Hi Ariel,

You're right that this feature is missing in the AWT module.
I already 
know the fact and try to find some time to implement this
"feature". You 
can write me (cd) an issue (set the issue type to FEATURE).

Regards,
Carsten

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )