I would like to propose a series of changes in the style syntax keywords.
The time is now, because if we decide to do it we should do it before 0.70
final ships out. Perhaps release another RC with these changes.

The changes I propose are not radical and are very easy to implement. I
can most likely produce the patch against blackbox and bstyleconvert
myself.

I feel these changes are quite needed in order to make styles more easy to
read and understand.

1) Add the suffix .style (or perhaps .appearance) to the main widget
resources. Example:

menu.title: raised solid border

becomes

menu.title.appearance: raised solid border

2) Change *.color to *.backgroundColor. That's what that resource really
is, let's call it that. Just .color is rather confusing, what color is it?

3) Change *.foregroundColor to *.pictureColor. The former picColor was more
appropriate IMO. This resource refers basically to the pictures drawn on
buttons and next to menu entries. I don't see the need for such a generic
term as "foreground". It tends to confuse people when they find themselves
having to choose between textColor and foregroundColor and remembering
what's the difference.

Why pictureColor and not picColor: because the rest of the resources have
long names. I like long, descriptive names, they help people understand
faster. I don't see the need to use fg, bg, txt or pic, it's not like we're
saving paper and tree lives.


This is all, just 3 changes but I think they'd really make a difference.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to