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

List:       kde-core-devel
Subject:    KColorScheme API change (addition) request
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2007-08-31 22:39:34
Message-ID: fba5b7$7ho$1 () sea ! gmane ! org
[Download RAW message or body]

I'd like to add the following static method to KColorScheme:

static void applyStateEffects (
     QList<QColor> &backgroundColors,
     QList<QColor> &foregroundColors,
     KSharedConfigPtr = KSharedConfigPtr()
)

This will be used by the KColorSchemePrivate ctor, the "preview" for 
widget state effects in the color kcm, and (hopefully I will be able to 
make it work :-)) eventually by katepart. It is also useful for anyone 
that cares about applying proper state-dependent coloring to apps using 
custom colors (e.g. katepart, possibly kdevelop, almost certainly others).

Otherwise I can add it to KColorSchemePrivate and copy the code for the 
kcm, and consider making it public in KDE 4.1.

If there are no objections, I will plan to make this change Monday, 
September 10.

-- 
Matthew
"I can hear you / just barely hear you / I can just barely hear you"
   -- "I Can Hear You", by They Might Be Giants

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

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