[haiku-commits] Re: r39433 - haiku/trunk/src/preferences/media

  • From: Alex Wilson <yourpalal2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 15 Nov 2010 21:54:39 -0700

> Nice work on the refactoring there, and the Media preflet in general!

Thanks :)

> If your interested to replace the icons with vector versions, I think
> data/artwork/icons should have them all. You can just open them up in
> Icon-O-Matic and export as HVIF RDef to put them in the Media preflet's
> resources.  Then you can load the raw resource buffer and pass that to
> BIconUtils to instantiate a vector icon and render it into a bitmap (change
> the constructor to use B_RGBA32 color space). Possibly even
> BTranslationUtils::GetBitmap() works, since we have an HVIF translator. That
> could degrade startup time a little, though, so beware.

I was thinking that might be nice, currently the preflet's icon
outshines the ones used in the preflet itself. Thanks also for the
implementation hints :)

--Alex

Other related posts: