Page 1 of 1

Radio menu

Posted: Sat Sep 23, 2017 9:12 am
by lazi
Is there any reason why normal Hollywood menus missing radio buttons?

Re: Radio menu

Posted: Tue Sep 26, 2017 10:12 pm
by airsoftsoftwair
Does laziness count as a valid reason? :)

Re: Radio menu

Posted: Wed Sep 27, 2017 7:11 am
by jPV
No, because we all know you aren't lazy ;)

Re: Radio menu

Posted: Wed Sep 27, 2017 7:34 pm
by airsoftsoftwair
That is true of course :)

Re: Radio menu

Posted: Fri Sep 29, 2017 11:54 pm
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

Re: Radio menu

Posted: Sun Oct 08, 2017 8:00 pm
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. ;)

Re: Radio menu

Posted: Sat Oct 14, 2017 1:07 am
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 :)