cat /dev/maxilys

A glance in the mind of a KDE/Linux developer to see how ideas turn into code.

2006-10-01

KDE: Nightshift

Just a few lines before to go to bed. It's already tomorrow morning, well, today morning... If you see what I mean. ;-)

I still haven't that new gradient to go with the Milky Way colorscheme but I crushed another tiny bug, or rather a glitch. I was testing Pixel, the new commercial Photoshop clone for Linux (amongst others). I hated it but that's a detail. I also launched Krita to compare and that's how I found the glitch.

For some reason, the toolbar item separators hadn't the normal background. I found a new approach to retrieve what widget it was: I knew it was a PE_DockWindowSeparator in the style jargon. So I searched in Qt sources which widget calls style().drawPrimitive() to draw this primitive element. --I never thought about taking this road... Don't ask why.-- In Qt jargon, it's a QToolBarSeparator. I'm already "polishing" KToolBarSeparator and it used to work this way but, suddenly, it doesn't any more.

That's it, that's the last glitch I'll remove. Tomorrow... Today, I'll make some snapshots and I'll announce the update on KDE-Look. This time, there is something totally new: RPMs! Yeah! There was a spec file since the very beginning but I never found or take the time to build the RPMs. --Don't ask why.--

After this update, I'll be able to work on my new hobby: drawing icons. Well, I don't intend to go any further than the "actions" icons. That's already a huge work!

Surprisingly, there isn't a single gradient on the few icons I already drew. I started this way but I stopped... Restarted... and restarted to reach this stage:

Some serene icons


With a dark background


Absolutely flat, mostly monochromatic, with a thin white framing. What you can't see is that all the icons are partially transparent to melt with the background. This way, the icons are automagically slightly colored to match any colorscheme and the white frame is very discreet except on a very dark background.

I don't know how far I'll go but I'll try to draw the actions icons in 22x22 and 16x16 at least. Some icons are rather complex so I don't know how far I'll be able to apply my "monochromatic" policy but I'll see. For the moment, I like the result and I'll discreetly show them on Serenity's snapshots to see if I raise some eyebrows if not interest. ;-)

Well, good night, good morning, whatever...

Labels: , ,

0 Comments:

Post a Comment

<< Home