Re: RFC: drop bevel
Corey Jewett <[email protected]> Thu, 30 Oct 2003 20:41:43 -0800
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Message-ID | <[email protected]> |
Semantics and dictionaries aside, I'm making the observation that in GUIs border and bevel are typically matching the definitions I provided. My vote is to keep them separate. I see several paths to follow: 1) border is a widget. If one must be a proxy then border should be a proxy for bevel wherein the color for top-left is identical to bottom-right. The downside to being a proxy is that a bevel probably takes nominally longer to draw. 2) border and bevel are both attributes of _all_ widgets. 3) implementing CSS 1's box properties: http://www.w3.org/TR/CSS1#box-properties, perhaps with the caveat that all length's are pixel based. (for now?) The inset and outset values for the border-style property being inner and outer bevels. I haven't been following your hard work as closely as I should be, but I lean heavily towards option 3 and fallback on 2. Then again I'm not the one doing the work. :\ Corey On Wednesday, October 29, 2003, at 05:44 AM, Charles Goodwin wrote: > 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 > > > _______________________________________________ > widgets mailing list > [email protected] > http://lists.xwt.org/listinfo/widgets >