Radio menu

Find quick help here to get you started with Hollywood

Radio menu

Postby lazi » Sat Sep 23, 2017 9:12 am

Is there any reason why normal Hollywood menus missing radio buttons?
User avatar
lazi
 
Posts: 268
Joined: Fri Feb 25, 2011 12:08 am

Re: Radio menu

Postby airsoftsoftwair » Tue Sep 26, 2017 10:12 pm

Does laziness count as a valid reason? :)
User avatar
airsoftsoftwair
 
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Radio menu

Postby jPV » Wed Sep 27, 2017 7:11 am

No, because we all know you aren't lazy ;)
User avatar
jPV
 
Posts: 86
Joined: Sat Mar 26, 2016 11:44 am
Location: RNO

Re: Radio menu

Postby airsoftsoftwair » Wed Sep 27, 2017 7:34 pm

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

Re: Radio menu

Postby airsoftsoftwair » Fri Sep 29, 2017 11:54 pm

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
airsoftsoftwair
 
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Radio menu

Postby lazi » Sun Oct 08, 2017 8:00 pm

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
lazi
 
Posts: 268
Joined: Fri Feb 25, 2011 12:08 am

Re: Radio menu

Postby airsoftsoftwair » Sat Oct 14, 2017 1:07 am

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 :)
User avatar
airsoftsoftwair
 
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Newbie questions

Who is online

Users browsing this forum: No registered users and 4 guests

cron