[haiku-3rdparty-dev] Re: Loading an app's own icon
- From: Ingo Weinhold <ingo_weinhold@xxxxxx>
- To: haiku-3rdparty-dev@xxxxxxxxxxxxx
- Date: Mon, 25 Apr 2016 17:30:12 +0200
On 04/25/2016 05:02 PM, Humdinger (Redacted sender humdingerb for DMARC)
wrote:
I'd like to show my app's own icon. In the rdef, the vector item is defined as:
resource vector_icon {...}
Loading it via:
const uint8* data
= (const uint8*)resources->LoadResource(B_VECTOR_ICON_TYPE,
"vector_icon", &size);
doesn't work.
The "vector_icon" in the resource definition is not the name the
resource gets in the end. IIRC it should be something with a "BEOS:"
prefix. Just check with listres.
CU, Ingo
Other related posts: