Short: Source code for MoreReq V1.0 Author: Ketil Hunn (ketil@sis.pitt.edu) Uploader: Ketil Hunn (ketil@sis.pitt.edu) Type: dev/c TITLE Source code for MoreReq VERSION 1.0 (04.Oct.96) AUTHOR Ketil Hunn Nabbetorpveien 35B N-1632 Gamle Fredrikstad Norway E-Mail: ketil@sis.pitt.edu http://www.sis.pitt.edu/~ketil/ DESCRIPTION Source code for MoreReq. MoreReq is: A small linkable library that makes it easy to make popup gadgets like those seen in Windows 3.1 and requesters in which the user may select from a variety of items. MoreReq opens a window with one listview and from zero to unlimited number of buttons below the listview. The user may select an item from the list and perform various actions on that item (by pressing one of the buttons below). The requester will return the number of the gadget pressed or 0 if the requester was cancelled. The user may also doubleclick directly on the items in the listview to select an item. MoreReq features many tags which can be used to customize the requester. One very important tag is MRLV_DropDown which makes the requesters look like a MS-Windows dropdown menu. Other tags worth mentioning are tags to centre the requester horizontally and vertically on screen, height and width can be given in percent of the screen's dimensions, tag to put the parent window to sleep etc etc. MoreReq also features an extension to gadtools.library's CreateGadgetA which allows easy creation of a pop up gadget. MoreReq is very easy to use as its functions are similar to those found in asl.library (mrAllocRequest, mrRequest, mrFreeRequest etc). All functions are well documented in the MoreReq.autodoc and a small example program with source is also included to show how the functions are used. REQUIREMENTS OS 2.04 or higher. The library will take advantage of Kickstart 3.0 and 68020+ processors if found if found. AVAILABILITY ftp://ftp.wustl.edu/pub/aminet/dev/c/MoreReqSource.lha (66.164) DISTRIBUTABILITY Freeware ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1397 826 40.8% 13-May-95 13:44:44 DOCS.INF 2480 1250 49.5% 23-Sep-94 00:33:32 MOREREQ.REA 2256 1131 49.8% 23-Sep-94 14:55:42 README 1397 833 40.3% 13-May-95 13:44:44 SOURCE.INF 1397 832 40.4% 13-May-95 13:44:44 PROTO.INF 1397 827 40.8% 13-May-95 13:44:44 LIB.INF 1397 831 40.5% 13-May-95 13:44:44 INCLUDE.INF 23988 14243 40.6% 30-Sep-94 13:40:16 TEST 376 230 38.8% 13-May-95 13:44:44 TEST.INF 332 223 32.8% 13-May-95 13:44:44 README.INF 246 161 34.5% 22-Sep-94 20:34:14 SCOPTION 835 394 52.8% 03-Oct-94 16:36:04 +MOREREQ.INF 1017 477 53.0% 02-Nov-94 01:58:54 +MOREREQ.FD 8160 5072 37.8% 07-Mar-95 17:46:26 +MOREREQ.LIB 407 246 39.5% 04-Oct-94 13:01:46 +VERSION.H 15577 3921 74.8% 07-Mar-95 17:44:12 +MOREREQ.C 901 322 64.2% 07-Mar-95 17:44:34 +MOREREQ_.H 374 233 37.7% 03-Oct-94 17:05:04 +--SCOPTI 1579 666 57.8% 23-Sep-94 22:35:14 +SLEEPPOI.H 5939 1761 70.3% 09-Oct-94 22:52:30 +POPUPGAD.C 679 396 41.6% 23-Sep-94 22:34:42 +CLOSEWIN.H 878 426 51.4% 06-Mar-95 15:35:28 +SMAKEFIL 16185 4165 74.2% 04-Dec-95 09:45:10 +LISTVIEW.H 299 179 40.1% 03-Oct-94 17:03:10 +MOREREQ.LNK 10847 3154 70.9% 06-Mar-95 15:36:40 +TEST.C 15559 3915 74.8% 21-Feb-95 22:05:08 +MOREREQ.C_N 8816 5398 38.7% 07-Mar-95 17:46:22 +MOREREQ.O 2018 593 70.6% 07-Mar-95 17:44:32 +MOREREQ_.H 10668 5927 44.4% 27-Sep-94 12:47:16 +MOREREQ.LIB 3913 1444 63.0% 07-Mar-95 17:40:38 +MOREREQ.H 16057 4669 70.9% 23-Sep-94 00:03:52 +MOREREQ.DOC -------- ------- ----- --------- -------- 157371 64745 58.8% 04-Oct-96 19:02:06 31 files