[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: changing desktop colors
From:       Luciano Montanaro <luciano.montanaro () consulenti ! fastweb ! it>
Date:       2004-02-17 17:42:17
Message-ID: 200402171842.17217.luciano.montanaro () consulenti ! fastweb ! it
[Download RAW message or body]

On Monday 16 February 2004 20:03, Jason Harris wrote:
> Hello,
>
> I'd like to be able to adjust the user's desktop colors temporarily in
> KStars. We have a color scheme called "Night Vision" that uses only red
> colors because red light does not cause pupil dilation in otherwise dark
> conditions. However, if the rest of the desktop is not made red also,
> there's no real benefit.
>
> Anyway, my question is, how can I change desktop colors programatically?  I
> don't think I need to adjust the KConfig objects, because this change will
> only be temporary while KStars runs (unless KWin queries the config object
> every time it draws?).  I looked around the API docs a bit, but I couldn't
> find anything.
>
> thanks for any help,
> Jason

Check the KColorScheme::save function in the colors kcm module...

However, wouldn't it suffice to simply add an extra color scheme?
The user would need to select the scheme outside of kstars, but is that really 
a problem?

Luciano
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic