From: Joakim A. <joa...@gm...> - 2002-08-26 13:02:22
|
On Mon, 26 Aug 2002 13:29:15 +0100 Thomas Leonard <ta...@ec...> wrote: > On Sun, Aug 25, 2002 at 11:06:55PM +0200, Krzysztof Luks wrote: > > On Fri, 2002-08-23 at 23:08, Thomas Leonard wrote: > > > > > > While playing with Pango's text attributes I implemented > > > > configurable text attributes for pinboard icon labels. Right now > > > > it is possible to switch text to bold and turn on underline on > > > > mouse-over. While the latter is mostly eye-candy (though one day > > > > it may evolve into something more useful) bold text IMO greatly > > > > improves text readability on colorful backgrounds. Adding > > > > background to icon's label would improve the readability even > > > > more and I'm going to implement it during next few days. > > > > > > Perhaps it would be better to let the user choose the font, rather > > > than just the weight? Then they can set the size as well, and the > > > style. The default should be to follow the current Gtk default, of > > > course... > > > > Well, here it goes. It is now possible to change font family, size > > and weight. Also the user can set icon label background colour. > > A few quick thoughts: > > - I don't think hover should be an option. Either we should always use > it, > or not have it at all (depending on what people want). It's not > important enough to complicate the options box further. > > - Is there any point having a separate label colour? Just use the > pinboard > background colour (which is only used when there's no backdrop > anyway). > > - You don't need a weight option. The font selector already lets the > user > choose the weight. > > > I don't know however how to get gtk default font. For now I hard > > coded'Sans 8' as the default. Could you point me to some useful > > function for getting default fonts? :) > > gtk_widget_get_default_style()->font? Better, just don't set the font > attribute unless the user wants it... > I may be totally out of line here, but may I suggest something? Since Rox uses icons for both desktop shortcuts and minimized windows, it can be confusing which one is which. How about having non-shaped, rectangular icon windows like MWM/CDE has? Besides from IMO looking good, the look of the icons as smaller windows clearly separates them from desktop shortcuts, which would be more intuitive. Regards, Joakim --- http://skogstornet.cjb.net |