[haiku-development] Re: RoundRect ButtonFrame

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 23 Mar 2012 16:01:45 -0700

On Fri, Mar 23, 2012 at 04:55:57AM -0400, John Scipione wrote:
> On Fri, Mar 23, 2012 at 4:42 AM, Simon Taylor <simontaylor1@xxxxxxxxxxxx> 
> wrote:
> > On 23/03/12 08:22, John Scipione wrote:
> >>
> >> My second question is, what do you think of adding a radius to the
> >> default BButton?
> >
etc).
> 
> 
> No more options, All BButton's would just get rounded corners instead.
> Although I suppose it would be possible to overload the BButton
> contractor to be able to set the corner radius if you wanted to. I
> wasn't thinking of doing that though.

My worry would be derived classes.  I have some specialized buttons
that do some drawing of their own, as well as deriving from BButton.
I'd hate to have them break if the default changed.  (And personally
I'm quite happy with the way they look now...!)

        -- Pete --

Other related posts: