Radio menu

Find quick help here to get you started with Hollywood
Post Reply
User avatar
lazi
Posts: 625
Joined: Thu Feb 24, 2011 11:08 pm

Radio menu

Post by lazi »

Is there any reason why normal Hollywood menus missing radio buttons?
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Radio menu

Post by airsoftsoftwair »

Does laziness count as a valid reason? :)
User avatar
jPV
Posts: 600
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: Radio menu

Post by jPV »

No, because we all know you aren't lazy ;)
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Radio menu

Post by airsoftsoftwair »

That is true of course :)
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Radio menu

Post by airsoftsoftwair »

Ok, I've added this now, just to prove jPV's point :) But it was really a lot of work because it had to be implemented for 5 different APIs:

- AmigaOS and compatibles
- docky context menus for OS4
- Windows
- Mac OS (Carbon)
- Mac OS (Cocoa)

The funny thing is that the Amiga implementation was actually the easiest. On Windows and Mac OS the whole logic had to be implemented manually whereas on AmigaOS it's handled by the OS...

Code: Select all

- New: CreateMenu() and @MENU support the creation of radio menu items now; to create a radio menu
  item, just set the new #MENUITEM_RADIO flag; all neighbouring items which have that flag set will
  then be combined into a radio group whose items are mutually exclusive
User avatar
lazi
Posts: 625
Joined: Thu Feb 24, 2011 11:08 pm

Re: Radio menu

Post by lazi »

Thanks Andreas!
It was just a cautious question, and now we can see what happened...

Let's try another one: Is there any reason why the World Peace not realized yet? :)
The funny thing is that the Amiga implementation was actually the easiest.
I am generally can't see anything funny in that how other systems should do better. ;)
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Radio menu

Post by airsoftsoftwair »

lazi wrote:Thanks Andreas!
It was just a cautious question, and now we can see what happened...

Let's try another one: Is there any reason why the World Peace not realized yet? :)
The funny thing is that the Amiga implementation was actually the easiest.
I am generally can't see anything funny in that how other systems should do better. ;)
Haha, that's true of course :)
Post Reply