Quoting "Bradley T. Hughes" <[EMAIL PROTECTED]>:
Ciprian Popovici wrote: I think that covers it... I had a crazy idea the other night in my sleep: adding a "checkered" texture which would work like interlaced, except that it would render a checkered looking textures instead of stripy :)
Nice.
I thought so... 8x8 or 16x16 (possibly configurable?) checkers in the same style as interlacing (i.e. one box is slightly darker than the other). Would make a sexy background :)
I may have to plead ignorance in regard to the patch if we go with this. I can change some names in the code, but prefering color1+2 in certain cases and backgroundColor in others may be over my head.
This should be fairly straight forward... it's just changing bt::Texture::textureResource() (or whatever it's called) to look up
the right names.
I'll look into it, see what comes out, that's if you don't beat me to it.
Sounds good... I may get to it today or tomorrow as time permits.
To me, "foreground" is generic enough. We use it not only for various "pictures" (close, maximize, iconify, arrows), we also use it for drawing menu separators. In the future, we may have other things that need to be drawn, and using the foreground color makes sense to me.
Speaking of separators, how about a little more space around them? Just a few more pixels. I think they are excessively short right now,
they look almost like an underline for the above text.
This is completely possible... today separators are menu.frame.borderWidth + 2 pixels high... i could make them menu.frame.borderWidth + (2 * menu.frame.marginWidth) high (see attached patch)
Something else: you may have noticed a recent request on the tracker,
related to the window frames. I had no idea 0.70 still has frames, does it? The poster even provided a screenshot showing frames that unlike 0.65 are drawn exclusively on the sides of the windows. If there are still frames, his request makes sense: ability to set different colors for the focused and unfocused window frames.
Yes, I saw that... good idea really... dunno why I removed it before :)
And since you're in the mood for style changes, I'll ask your opinion on one last thing: embossed and shadowed texts. This can be easily worked out by drawing texts twice or three times, with different colors. Draw it once, it looks like today. Draw it twice, second time below and slightly to the left and down with darker color, looks like a shadow. Draw it three times, second like a shadow, third up and to the left, it can look like embossing or carving, depending on the colors.
Embossing/shadowed text would be nice... should be easy to do, just need a function to do it :) (see patch) The hard part is getting the various GUI things to use the right function.
I don't want to put it in just yet, it may be some work deciding on style resource names and so on. I may work on this myself whenever I get the time. But what I wanted to know is whether this falls too much in the eye-candy category. It definitely is purely a cosmetic gimmick. Would it impact Blackbox performance negatively? The Blackbox motto is "be fast", after all.
I had considered doing it in the past, but I decided to get 0.70.0 out first ;)
Taking into account the various suggestions, I see something like this:
menu.title.appearance: flat diagonal gradient border shadowedText menu.title.color1: cornsilk1 menu.title.color2: cornsilk3 menu.title.textColor: black menu.title.shadowColor: cornsilk4 menu.title.borderWidth: 1 menu.title.borderColor: black
etc...
-- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html
