[haiku-3rdparty-dev] Re: HVIF source code format

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sat, 29 Jan 2011 08:24:20 -0800

>> Is there a place where I can learn more about how to read HVIF source
>> code and use it as a BBitmap?
>>
>> I'm having trouble figuring it out since it's post-BeBook. :P
>
> This export option just generates flat icon data within a C file for
> embedding in your application. You can then use
> BIconUtils::GetVectorIcon(const uint8* buffer, size_t size, BBitmap* result)
> to parse the data and render it into the result bitmap. The IconUtils header
> is in src/libs/icon, if it isn't included in the image.
>
> Best regards,
> -Stephan
>

Are the BIconUtils and others public and stable now?  I ask since we
have HVIF icons that could be used for replacing the old toolbar icons
in Pe, but I wasn't quite sure how to put HVIF icons in place of the
ones that are there now.

-scottmc

Other related posts: