Re: RFC: drop bevel
Charles Goodwin <[email protected]> Wed, 29 Oct 2003 13:44:02 +0000
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
Corey Jewett wrote:
> A border is a one color outline that gives a space definition or focus.
>
> A bevel is a two color (top and left, bottom and right) outline that
> gives 'dimension'. The top-left color is given slight preference in the
> corners where it meets the bottom-right color. Bevels, depending on
> color, are raised or lowered.
>
> A bevel widget can emulate a border widget by using only one color. If
> this is what you are proposing then perhaps we should rename the widget.
> I propose 'outline'.
I disagree with you on the semantics of this one.
A bevel is a type of border, one that gives the impression of being
raised from or set into a surface.
A border is just something that surrounds/expands upon the edge of an
area. It does not have to be a single colour, nor a uniform width.
From dictionary.com, the definition of border:
1. A part that forms the outer edge of something.
2. A decorative strip around the edge of something, such as fabric.
3. A strip of ground, as at the edge of a garden or walk, in which
ornamental plants or shrubs are planted.
4. The line or frontier area separating political divisions or
geographic regions; a boundary.
At best, bevel will end up being a proxy to the borders available for a
theme. Is it really needed? Is it really wanted?
<bevel form="up" thickness="1" />
<border name="bevel1up" />
I'm not fussed, I just thought it was a little unecessary to keep bevel
given the new border code (which I'm working on at the moment).
- Charlie