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

List:       kde-devel
Subject:    Programmatic use of oxygen palette
From:       Sandro Andrade <sandro.andrade () gmail ! com>
Date:       2010-06-21 22:08:39
Message-ID: AANLkTinaI8tbBs3BkBxW9f7fiIBg0b6NlJntJD08P8f2 () mail ! gmail ! com
[Download RAW message or body]

Hi all,

I've been using some 2D drawing features in KDE Observatory plasmoid
and control flow graph plugin for KDevelop to present data using
charts and graphs.
I've been trying to make them more oxygen-like by doing some
programmatic use of Oxygen palette but I got no success so far.

The goal is to produce random oxygen color maybe with some nice
gradient to represent different data.
I've tryied to use KColorCollection to load oxygen pallete and get
random colors by using color(int index) but I got no visually
attractive results.
What else can I do get some fancy charts ? Since it a palette can I
somehow mix the colors, for example by using KColorUtils ? Will the
resulting
colors be still valid oxygen colors ? What about gradients ? I would
be grateful is someone could point out some code/project using such
features.

TIA,
Sandro
 
>> 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