[Bug 207877] A18Y: do not use hardcoded values for default (color scheme incompatibility)
Maciej Pilichowski
bluedzins at wp.pl
Mon Sep 28 13:51:46 BST 2009
https://bugs.kde.org/show_bug.cgi?id=207877
--- Comment #5 from Maciej Pilichowski <bluedzins wp pl> 2009-09-28 14:51:43 ---
Learning how to compile and make patches is on my to do list, so sorry but not
now (yet).
Please take a look:
static const QColor defaultColor[ numColorNames ] = {
scheme.foreground( KColorScheme::NeutralText ).color(), // *quoted l1
scheme.foreground( KColorScheme::NeutralText ).color(), // *quoted l2
scheme.foreground( KColorScheme::NeutralText ).color(), // *quoted l3
scheme.foreground( KColorScheme::LinkText ).color(), // link
scheme.foreground( KColorScheme::VisitedText ).color(),// visited link
scheme.foreground( KColorScheme::NegativeText ).color(), // misspelled
words
scheme.foreground( KColorScheme::ActiveText ).color(), // *new msg
scheme.foreground( KColorScheme::NeutralText ).color(), // *unread mgs
scheme.foreground( KColorScheme::NegativeText ).color(), //* important msg
scheme.foreground( KColorScheme::LinkText ).color(), // action item mgs
scheme.foreground( KColorScheme::InactiveText ).color(), // *pgp encrypted
scheme.background( KColorScheme::PositiveBackground ).color(), // pgp ok,
trusted key
scheme.foreground( KColorScheme::NeutralText ).color(), // *pgp ok,
untrusted key
scheme.foreground( KColorScheme::NeutralText ).color(), // *pgp unchk
scheme.foreground( KColorScheme::NegativeText ).color(), // *pgp bad
scheme.foreground( KColorScheme::NegativeText ).color(), //* warning text
color
scheme.foreground( KColorScheme::NegativeText ).color(), // close to quota
scheme.foreground( KColorScheme::NormaBackground ).color(), //* colorbar
plain bg
scheme.foreground( KColorScheme::NormalText ).color(), //* colorbar
plain fg
scheme.foreground( KColorScheme::NormalBackground ).color(), //
*colorbar html bg
scheme.foreground( KColorScheme::NormalText ).color() //* colorbar
html fg
changed colors are marked with "*" after //. Such set maybe is not beautiful,
but safe and useful -- i.e. it always work no matter what scheme is set for
entire KDE.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list