Shop Mobile More Submit  Join Login
colors_galore by Th3R0b colors_galore by Th3R0b
soooo, I got tired of the dull kde default colors in kate and
wanted some professional color scheme.... have a look here [link]
for a color scheme called 'solarized', it's really good.

There are two variations, one dark (terminals), and one light(kate).

Oh!

and I feel I kinda have to specify this:

NOTHING in this scrot is gtk, I hate gtk.

Add a Comment:
 
:iconoptorylpulpus:
Optorylpulpus Featured By Owner Dec 22, 2012  Hobbyist Traditional Artist
Your B::E Shell setup is really amazing as always!! I especially like the setup you have here. I'm still considering trying it out and am curious whether there is anyplace where you can get pretty decent presets of the configs which I can build up on rather than writing my own from scratch. Incidentally, I would actually ask you for your config files for your B::E Shell but I'm reluctant to as I think that may be too much to ask of you.
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 23, 2012
Well thank you! No, ofc it' not
too much to ask, however, my config
files are a mile long and you would
actually get much more results quicker
if you wrote your own :) as trying to
make sense of my config files would
take a while also. I'm at my folks over
the x-mas so I won't be uploading
anything anywhere for some time now tho.


Also, ifffff I where to upload this as
some 'style for beshell' or whatever,
then I'd really have to clean this shit
up, as the looks of it now, a monkey
would make more sense of it then anybody
else ;-) I usually just dump a shitload
of code in a text editor when I want something,
then never clean it up.

this [link] is the place where 'I learned it' :)
The config is just done by simple 'ini' syntax
so it's really easy to learn.
Reply
:iconoptorylpulpus:
Optorylpulpus Featured By Owner Dec 31, 2012  Hobbyist Traditional Artist
Thanks! I'll be sure to check that out.
Reply
:iconsasii:
sasii Featured By Owner Dec 16, 2012
Really nice screen... again ;)
Where can I find this wallpaper?
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 16, 2012
Thx, looks like this one? [link]
Reply
:iconlaminko:
laminko Featured By Owner Dec 13, 2012
WoW!!!
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 13, 2012
Thx!
Reply
:iconandrejsoroj:
AndrejSoroj Featured By Owner Dec 8, 2012
Very nice shot, man, as usual. =)
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
Thx!
Reply
:iconandrejsoroj:
AndrejSoroj Featured By Owner Dec 8, 2012
Most welcome Rob.

P.S.: Support your love to gtk :D
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
I guess you missed the description eh sarcasmo ;-)
Reply
:iconmmesantos1:
mmesantos1 Featured By Owner Dec 8, 2012  Hobbyist Interface Designer
Nice work Rob. :-)
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
Thx
Reply
:iconmmesantos1:
mmesantos1 Featured By Owner Dec 8, 2012  Hobbyist Interface Designer
Your welcome. ;-)
Reply
:iconsienardesign:
SienarDesign Featured By Owner Dec 8, 2012
Does gentoo seriously compile updates as root? ;-)

So, what does your "long single button" solution look like (upstream worthy? - i think i still have all the IAMTHEROB checks around which i likely could get rid of meanwhile)
Did you craft the sunken nmfnms icons by hand or did you adjust the build script?
Feeling in xmas mood - do we actually and finally need "bespin write deco IAmGay true" (you know, the gay buttons)

The risen eye in the sunken button is likely "extra" and not some weired visual effect that makes sunken icons appear risen on dark / sunken backgrounds, right? :-(
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
I'm just gonna go out on a limb here and
assume u are who I think u are :D

Yes it does :D I haven't seen a problem
with that so I haven't really looked into it
much :)

Booooy you are not going to like this....
...I just install an eventfilter on
every toolbutton and set the iconsize
on ( QEvent::Show ) of the toolbar to
iconSize() - QSize(1, 1); then back,
(forcing it to update position)
then I wrote some similar function to check
the position flags. Haven't had a problem
with it so far.... I guess I could implement
it in vanilla bespin and send u a patch?

The 'sunken/raised' toolicons... I don't even
know if I wanna say how I did that... what
I do is I color the icons pixel by pixel to
fg color and make a copy of them that is
lighter/darker bg color that renders before
and 1px below so they appear 'sunken/raised'.

Actually, I'm very ashamed of the gay deco
buttons... started out as a proof of concept
for a dude here, then I just left them. :D

If you ask me, it's a _VERY_ wanted feature
to have 'pixmaps support' in bespin deco.
Reply
:iconsienardesign:
SienarDesign Featured By Owner Dec 8, 2012
Let's see what I can proove ;-)

Regarding the buttons:
QPixmap border = pm;
border.fill(Qt::transparent); // you'll likely need that in case the raster graphicssystem still has a bug that drops the alpha channel on copying
border.fill(QColor(0,0,0,128); // a bit of black
QPainter p(&border);
p.setCompositionMode(QPainter::CompositionMode_DestinationIn);
p.drawPixmap(0, 0, &pm, 0, 0, pm.width(), pm.height());
p.end();
drawItemPixmap(painter, RECT.translated(0,1), Qt::AlignCenter, border);

border.fill(QColor(255,255,255,128); // a bit of white
p.begin(&border);
p.drawPixmap(0, 0, &pm, 0, 0, pm.width(), pm.height());
p.end();
drawItemPixmap(painter, RECT.translated(0,-1), Qt::AlignCenter, border);
drawItemPixmap(painter, RECT.translated(0,-1), Qt::AlignCenter, pm);

Not tested the visual outcome or whether it compiles ;-)
It's a nice idea, but requires too specific icons?
Does it (yours) with with stock oxygen stuff? What about Reflektion (though all tooobar icons seem "unreflektionized") - other "pre-shadowed" stuff?

--

Why do you install an eventfilter on toolbottons to catch the toolbar show? =)

I'd say, i first remove the #if I_AM_THE_ROB junk, then have a look on your patch and nag around until it's shippable :)

--

Those buttons are pixmaps :-(
-> "bespin write deco IAmEltonJohn true"

Pixmaps don't reasonably scale, so i'd be not too happy with such approach.
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
Hmmmm, that sure is A LOT cleaner then my
code... but then again, I never intended to
release it anywhere. I'm gonna try that out
and see how I like it. It sure is better then
going thru the pixmap pixel by pixel just to
get a light/dark shadow/highlight... I will
however have to do it once to get a 'monochrome'
look.

here is a shot of my implementation with
oxygen icons [link] , far from optimal
yes, but then again, I did not intend for
it to work with oxygen icons. It *could*
however be made to look 'ok' with oxygen icons.

I haven't tried reflektion icons tho, seeing
as how I create the monochrome look based on
the fg color it should be no problem. At least
in smplayer I use some iconstheme with a
slight highlight at the bottom and there is
no problem there.

>>Why do you install an eventfilter on toolbottons to catch the toolbar show? =)

I'm not interested in the toolbar show.. but
the buttons in the toolbar, try and resize
the toolbar so it 'hides' some buttons and
then make them re-appear by resizing again
and you'll see what I mean ;-)

Also, some toolbuttons might not be visible
yet when toolbar shows so might be too
early to 'trigger size update'.

>>Those buttons are pixmaps :-(

Yes, like I said, you are not going to
like any of this :(

I haven't really figured out a way to
make it reasonable either.... if you
resize the buttons to the pixmap size
you could end up with some really weird
'icons' / 'symbols' on the buttons, and
there are a lot of other problems. Colors
etc. People who want pixmaps there should
really just use deKorator IMO.

Have you really made some eltonjohn option? :D
I must confess I haven't updated bespin
in months... I'm too afraid of collisions
which set me on code re-write for a week
or so :D
Reply
:iconsienardesign:
SienarDesign Featured By Owner Dec 8, 2012
> I will however have to do it once to get a 'monochrome' look.
For this kind of image processing, yes - however, you'll (performancewise) have to do that once (only) - while that's still suboptimal (disbaled icons are painted far less often, that's why i had little worries about blurring them)

> here is a
nice demonstration of why "naive desaturation" (or monochromatization) is kinda instant fail ;-)
> shot of my implementation with oxygen icons

You probably want to scan the individual color channels for the one with the highest local contrast, pick it, srtetch contrast (grading an "S") and then apply the monochromatization (ie. tint black or white depending on the global value)
That's unfortunately not "cheap" - and still does not lead to an iconic shape =)

> I'm not interested in the toolbar show..
Thought so, but also thought to have read differently. My bad - sorry.

> if you resize the buttons to the pixmap size you could end up with some really weird 'icons' / 'symbols' on the buttons
For resizing pixmaps of that dimension, one will have to apply a lanczos filter or (for upscaling) pixel art.
Bi/Linear or bi/cubic are all too convulsive.

The result will still be rather inferior.

> Have you really made some eltonjohn option?
Nahh .. but he's gay and fat - somehow appropriate for fat pixmaps to get gay aqua icons, isn't? >)

> I'm too afraid of collisions which set me on code re-write for a week or so
Just clone a new repo, then "svn diff > robbies_stuff.diff" on the old and patch -p1 --dry-run < robbies_stuff.diff on the new.
See whether things break and merge them by hand (you can advise patch to do a merge patch, ie. getting you <<<< === >>>> inline diffs instead of those stupid *.rej files you can walk around and search for)
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 9, 2012
Hmmm, I'm not sure how you mean, wouldn't it
be smartest to set smth like this:

const int &size = img.width() * img.height();
QRgb *pixel = reinterpret_cast<QRgb *>(img.bits());
#define ALPHA qAlpha(pixel[i])
#define GRAY qGray(pixel[i])
int r, g, b;
fgc.getRgb(&r, &g, &b); //foregroundcolor
for (int i = 0; i < size; ++i)
pixel[i] = qRgba( r, g, b, qMax(0, ALPHA-GRAY) );

That's the basics I've been playing around with
atm and gives 'somewhat' the needed results.
That pretty much just takes the dark parts and
fills with fg color.... isn't that what we want?

Haha, yeah, if you make this option eltonJohn
would indeed be the appropriate name.

I guess the pixmaps support is outta the
question then.
Reply
:iconsienardesign:
SienarDesign Featured By Owner Dec 9, 2012
Hmmm... hmmm... why does that code look familiar ;-)

This is a nice approach to create a monochromatic version of a random image (some genius must have come up with it), but that's not what you want - you want icons.
Looking at your screenshot, the icons rather look disabled for the little contrast.

So instead of picking qGray you'd *always* pick either qRed, qGreen or qBlue, depending on which channel has the highest contrast (that's the complex part, but google might tell you ;-) and in addition stretch that contrast in the result (less complex math making bright things brighter and dark things darker).

Eg. in gimp take a look at the channels of an image, typically one channel determines the image better then the others or the naive desaturation.
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 9, 2012
yeah it's a heavily simplified version
of your code in mpc. However, that is not
the same code I used in the screenshot.
This code looks more 'iconish'. I'll
just continue trying until I have something
to show.

So I guess what you mean is I take
alpha - qMax(r, qMax(g, b )) or smth
of the sort :) ....since we are painting
only with the foreground color right?

I'll have a look in gimp, I'm no master
on this so I might not be able to get
very good results tho. And I highly
doubt if there is one approach that
always works best for every icon.
Reply
(1 Reply)
:iconsienardesign:
SienarDesign Featured By Owner Dec 8, 2012
if (!hasArrow) {
if (connected) {
const int bgValue = Colors::value(COLOR(bgRole));
QPixmap border = pm;
border.fill(Qt::transparent); // ensure it's still ARGB
border.fill(QColor(0,0,0,qMin(255,304-bgValue))); // a bit of black
QPainter p(&border);
p.setCompositionMode(QPainter::CompositionMode_DestinationIn);
p.drawPixmap(0, 0, pm, 0, 0, pm.width(), pm.height());
p.end();
if ((option->state & State_On) && (config.btn.tool.std_role[Bg] == config.btn.tool.active_role[Bg]))
drawItemPixmap(painter, RECT.translated(0,1), Qt::AlignCenter, border);
else {
drawItemPixmap(painter, RECT.translated(0,-1), Qt::AlignCenter, border);

border.fill(QColor(255,255,255,qMin(255,bgValue))); // a bit of white
p.begin(&border);
p.setCompositionMode(QPainter::CompositionMode_DestinationIn);
p.drawPixmap(0, 0, pm, 0, 0, pm.width(), pm.height());
p.end();
drawItemPixmap(painter, RECT.translated(0,1), Qt::AlignCenter, border);
}
}
drawItemPixmap(painter, RECT, Qt::AlignCenter, pm);
}


works fair enough with *many* icons, but not all. Question is how reasonably we can assume ppl. to utilize "compatible" icons (nmfnms surprisingly does work despite the halo) with connected toolbars.
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 9, 2012
missed this comment for some reason... gonna give this a try now.

We can assume ppl use the oxygen icons I guess :D
Reply
:iconyinyang-36:
yinyang-36 Featured By Owner Dec 8, 2012
nice shot :)
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
Thx
Reply
:iconlagadesk:
LaGaDesk Featured By Owner Dec 8, 2012  Hobbyist Interface Designer
Nice... and so colorful... unusually for a scrot from you. :)
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
Thx! Yup, it is.... should be kinda clear from
the title also :D
Reply
:iconlagadesk:
LaGaDesk Featured By Owner Dec 8, 2012  Hobbyist Interface Designer
Complete clear, but therefore no less unusual. :)

Btw. Thanks for the link to the color schemes!
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
No problem, I know they might look...
...well ugly to begin with, but once
you've coded with them for a bit
you'll notice just how good they are.

Usual problems with color schemes are
that some colors stick you in the eye
more then other. All colors should
be equally in that way, but should
differ to make clear code.
Reply
:iconcahyadid79:
cahyadid79 Featured By Owner Dec 8, 2012
I always like your screen shot :)

If you did not use gtk, then what did you used?
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
Thx! well as session is kde so qt :)
Reply
:iconcahyadid79:
cahyadid79 Featured By Owner Dec 8, 2012
I love qt too, but too bad I don't know how to start coding like you :(
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 9, 2012
Good thing you wont have to then, there is a
plethora of software, like kde for example,
should give you everything you need, including
a file manager.
Reply
:iconcahyadid79:
cahyadid79 Featured By Owner Dec 9, 2012
yes, you right my friend. :)
Reply
:iconpissnaround:
pissnaround Featured By Owner Dec 8, 2012  Professional General Artist
nice look... don't be a hater :lol:
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
thx, why not?
Reply
:iconpissnaround:
pissnaround Featured By Owner Dec 8, 2012  Professional General Artist
welcome. you can, someone's got to do it.
Reply
:iconth3r0b:
Th3R0b Featured By Owner Dec 8, 2012
so now it's okay I'm a hater?
well I'm glad we had this talk :)
Reply
:iconpissnaround:
pissnaround Featured By Owner Dec 8, 2012  Professional General Artist
me too :lol:
Reply
Add a Comment:
 
×




Details

Submitted on
December 8, 2012
Image Size
1.7 MB
Resolution
2048×1152
Link
Thumb
Embed

Stats

Views
1,422
Favourites
9 (who?)
Comments
76
×