[haiku-development] Re: Call for vector icon gurus: need a midi port vector icon

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 30 Oct 2009 15:34:09 +0100

Replying to myself:

> -        // TODO: handle Haiku vector icon type
> +      msg.AddData("be:vector_icon", B_VECTOR_ICON_TYPE, fVectorIcon->Bits(),
>                fVectorIcon->BitsLength());

Well, this is obviously stupid, because that way we copy the raw data
of an already rendered BBitmap, of unknown dimension: totally useless
bytes.

Instead, let's just copy the vector icon raw bytes...

Other related posts: