| Customization / Desktop Screenshots / Unix & Linux | ©2012-2013 ~Th3R0b |
The Journal Portal
Browse Journals |
Polls |
deviantART [dee·vee·un'nt·ART]
Keep in Touch!
|
Deviousness |
The font is Helvetica World.
How is the coding going?
There's still a problem though, it's that the corners of the rectangle are not equal, which it seems is a known fact.
I tried using Antialiasing but it ends up bluring all the graphics which is clearly not what I want
corners are not equal?
antialiasing is a sort of blurring yeah but should
not look blurred at all, scrot?
Look at my scrots, I paint a really really hardly
noticeable outline on the top of my windows, does
this look something what you are after?
Here I use antialiasing.
top (and not around the whole window, which would
break anyways if you dont use 4px borderwidth...)
I use a path, and a gradiented pen
the void Client::repaint() should suffice, that is
where Thomas paints it also (when more then 4px border-
width).
I'm really interested to know how you painted the gradient on the status/bottom bar.
with antialiasing on, plus, without antialiasing you
will get ugly pixelated corners. read: USE ANTIALIASING.
To paint on statusbar:
Just install an eventfilter on QStatusBar and in
the paintevent paint whatever you feel like
There might be some better way to do this however.
For example, bespin skips these:
registerPE(skip, PE_PanelStatusBar);
registerPE(skip, PE_FrameStatusBarItem);
you might want to try and implement these and see
if you get what you want? I'm not sure however, I
have not read the proper documentation on these,
however, you *might* be able to do it properly
using these. Using eventfilters is really
expensive (especially if you paint some fancy
gradients or stuff like that in the paintevent).
I once had so heavy painting on the docks I
could hardly resize them anymore
with care.