[haiku-3rdparty-dev] Re: BPictureButton

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sat, 20 Nov 2010 11:43:55 -0500

On Sat, Nov 20, 2010 at 9:56 AM, Michael Pfeiffer
<michael.w.pfeiffer@xxxxxxxxx> wrote:
> You can of course draw a BBitmap into a BPicture see
> http://haiku.it.su.se:8180/source/xref/src/kits/print/BeUtilsTranslation.cpp#BitmapToPicture
> and used that in the BPictureButton.
>

You can, but it wouldn't be a good idea in this instance since such a
button wouldn't scale nicely in a font sensitive GUI owing to the
nature of bitmap scaling.

Regards,

Rene

Other related posts: