Page 1 of 1

Images in Intuition menus

Posted: Mon May 13, 2013 11:17 pm
by chris
I'd like to be able to add custom images in individual Intuition/GadTools menu items.

This should be possible already, but since nobody can tell me how to do it, I'm assuming it's not actually implemented and therefore should be a feature request. (my previous thread with futile attempts to get this to work: http://forum.hyperion-entertainment.biz ... ?f=26&t=94)

Re: Images in Intuition menus

Posted: Tue May 14, 2013 10:17 am
by salass00
@chris

I just tried your code on my beta system and as you say it crashes on the LayoutMenus() call. I'll look into this and see if it's something that I can fix.

Edit:
Just found the problem. The bug was in CreateMenus() in the code that's supposed to check if the provided image is a BOOPSI image (non-BOOPSI images are copied to an internal buffer in CreateMenus()). Easy to fix once I saw it.

Re: Images in Intuition menus

Posted: Thu May 16, 2013 5:51 pm
by chris
salass00 wrote:@chris

I just tried your code on my beta system and as you say it crashes on the LayoutMenus() call. I'll look into this and see if it's something that I can fix.

Edit:
Just found the problem. The bug was in CreateMenus() in the code that's supposed to check if the provided image is a BOOPSI image (non-BOOPSI images are copied to an internal buffer in CreateMenus()). Easy to fix once I saw it.
Thank you! This thread can be closed since it was actually a real bug.