English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 04 September 2021, 19:23   #1
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Double Menu Requesters

Hi there!

I was reading some C programming tutorial on Obligement (in English) and discovered the "double menu requesters"... What puzzles me is that I don't recall ever using such requester, as a user

So, when should double-menu requesters be used? Would you have example in existing programs?

Cheers!
tygre is offline  
Old 05 September 2021, 01:11   #2
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
An example in C is provide in the RKM (Rom Kernal Manuals) for Kickstart 1.3, it can be found on http://aminet.net/package/dev/src/RKMCompanion. Hope that helps . The code use a gfx bitmap for RoundRects. You will find it extracted in the Intuition/ drawer, I can't remember what drawer in the Intuition folder I'm guessing the Requestors

I don't ever recall using such a requester as well.
redblade is offline  
Old 06 September 2021, 10:35   #3
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,214
The method, and intuition requesters in general (not auto-requesters), run out of fashion rather early on. Concerning requesters, the only program I remember that uses RMB-Requesters was the "Profimat" Assembler from Databecker.
Thomas Richter is offline  
Old 06 September 2021, 14:40   #4
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi RedBlade and Thomas and thank you!

I was afraid that I missed out on a major feature all these years

Cheers!
tygre is offline  
Old 06 September 2021, 23:10   #5
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Quote:
Originally Posted by Thomas Richter View Post
The method, and intuition requesters in general (not auto-requesters), run out of fashion rather early on. Concerning requesters, the only program I remember that uses RMB-Requesters was the "Profimat" Assembler from Databecker.
Too much work to set up and check?? Not enough examples??
redblade is offline  
Old 07 September 2021, 03:24   #6
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 943
It's too bad this wasn't more widely adopted way back when. It's very reminiscent of modern context menus and touch-and-hold UI paradigms. It also seems to foreshadow Commodore's "checkmark menu" plans in the 1993 DevCon notes.

Once again, Amiga was at the forefront of innovation!
Matt_H is offline  
Old 07 September 2021, 11:07   #7
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Good point Matt_H!
tygre is offline  
Old 09 September 2021, 19:05   #8
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,214
Quote:
Originally Posted by redblade View Post
Too much work to set up and check?? Not enough examples??
It's not really complicated. You allocate a struct Requester, documented in , add gadgets to it with AddGList() - note well that this call has an additional argument that specifies the requester this goes in - and then SetDMRequest() to the window.

A RMB double click will bring the requester upfront, will block its input, and you'll then receive the IDCMPs from the requester.

ClearDMRequest() removes it.

Anhow, the whole construction is ancient, and at least in kick 1.3 partially buggy. String gadgets in requesters had some limitations, for example. GadTools does not work in requesters.

If you want to see a Requester in "life action", then SetVNC (from ViNCEd) installs a requester in the hosting console window. Not a double-RMB requester, though.
Thomas Richter is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Double PAL / Double NTSC, oficially supported by WHDLoad... Shoonay project.WHDLoad 3 15 May 2021 19:42
DOUBLE DRAGON II vs DOUBLE DRAGON 3 AMIGA TITLE MUSIC ZEUSDAZ Retrogaming General Discussion 20 16 January 2021 13:29
Boot menu on 3.1 maniades support.Apps 2 28 March 2005 09:03
Menu Music BippyM project.Amiga Demo DVD 6 29 June 2004 16:29
How do I replace the standard WB requesters? Bloodwych support.Apps 13 02 September 2002 21:48

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:03.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14297 seconds with 13 queries