[haiku-development] Re: Trouble loading LibGit2 library

  • From: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 10 May 2018 10:31:54 +0200

On Thu, May 10, 2018 at 10:24 AM, Hrishi Hiraskar <hrishihiraskar@xxxxxxxxx>
wrote:

Just use the git icon if this is to be shown in the Tracker menu. Or do
you have other places where you want to use a logo?


I saw how the other add-ons use logo. They use some string in .rdef  file.
I wanted to know how to create that string.


The string is the icon in the HVIF format. You should be able to convert
simple svg images into hvif using Icon-O-Matic which is included in Haiku.
I say simple because the Haiku Vector Icon Format is designed to be
lightweight so not all svg constructs may be translated.

You can try to do the same thing using Wonderbrush.

Once you get your icon imported just export in rdef format from
Icon-O-Matic, that'd be exactly the string you put in your addon rdef.

Other related posts: