Thanks, looked into it and now have a global menu using the kde plasmoid. Not bad, only problem is lack of gtk+ support. Does xbar support gtk+? I've seen some themers using bespin are using something called Be:shell which makes kde look so minimal and am considering giving it a go once I have the chance.
Sure ! I'll check if the licence permits fork and see if I can set up synchronisation with a git server. Keep in mind, the modification I've done goes against the dynamic the engine proposes. The colours I use are independent from the set defined by the engine ( button, window, etc ... ) ie. they are hardcoded. I'll share along the bespin conf file and color scheme
That's not as bad as you think. The only color I hardcoded are the borders and they have transparency, so that shouldn't impact much. I rewrote the round option though for windeco. But I'm not satisfy with it for the moment. I got issues with this QPainterPath. By the way drawing the corners for the windeco was a real challenge : I had to use the arcs because the rounded rectangles sucked, and if you look at the corners you'll see they're not even. Would you know any better way to draw corners than using lines and arcs ? I used clipped rounded rect on input text field which gave a really good result, but for the window you just want an outline and can't afford painting a surface.
Are you hacking on latest bespin? You should not rewrite the corners rounding. Thomas wrote a system that has inbuilt shadows and antialiased corner roundness. Setting a mask (this what you do?) will cause pixelated corners.
Drawing a simple outline can be easily achieved with QPainter::drawPath ( const QPainterPath & path ) or QPainter::drawRoundedRect ( const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize )
why do you think rounded rects suck? it looks on your screenshot as if you forgot to set antialiasing on the painter you are using
Still, you should not mess with the corners, just paint an outline with either painterpaths or rounded rects
You shouldn't use clipped rects either cause that does not support antialiasing -> you will get pixelation
Thomas already paints outline on windows (when borders are bigger then 4 pixels) have a look at that that should answer all your questions. Thomas uses a painterPath for this iirc.