home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
326.lha
/
requester.library_v1.3
/
ReadMeFirst!
< prev
next >
Wrap
Text File
|
1989-12-30
|
3KB
|
50 lines
This is the FileIO requester.library, a disk-based shared library that
can be opened and used by many applications. It's primary purpose is to
allow a user of your program to easily make filename selection for load
and save routines using the Amiga Intuition interface. The FileIO requester
has many features:
- The ability to scroll through the list of filenames and drawers using
the mouse, slider (Prop), and Arrow (boolean) gadgets.
- The option to select a filename by pointing and clicking the mouse,
or typing in a string gadget.
- The option to change disk (root) and sub directories with the mouse or
string gadgets.
- Returns information to your program about the size of the selected
file, the number of free bytes on that file's disk, intelligently
separates disk and drawer names from filenames, etc.
- Is written in tight 68000 and is approx 10K in size total (i.e. even
after loading, unlike other requesters)
This version of the FileIO library is an update to the one that appeared
on Fish Disk #203. This is version 1.4. A new feature allows you to use the
requester for non-disk operations. You can use it to display any list of
strings to the user and have him make a selection using the mouse or string
gadget. The FileIO lib takes care of scrolling through the list of strings
(using the Prop and Arrow gadgets), all IDCMP handling, and all data
structures associated with the requester. The new doc file describes this
feature fully, and there are new examples in C, asm, and AmigaBasic.
Another new feature allows the user to see a scrolling display of all
mounted DOS devices by clicking the right mouse button, and selecting one by
clicking the left mouse button. This is similiar to the arp file requester.
In fact, the FileIO requester now resembles a "souped-up" alternative to the
latest version of arp.
With this many features, why are you waiting for the stripped-down file
requester that is supposedly forthcoming with 1.4 OS?
This library can be used by any C, asm, or Basic application.
The actual requester.library file must be placed in the libs drawer of
your bootdisk in order to run these examples. You can run the CopyLib program
to copy this library to your bootdisk. If the FileIO requester appears, the
library was copied OK. Select the cancel gadget to exit. Alternately, you
may simply copy the file using the CLI.
Additionally, basic users must copy requester.bmap (and any other bmap
files) to the current dir when using the basic examples. It might be a good
idea to copy the bmap files to the lib drawer of the boot disk along with
the library, then modify the lines in the example programs to include this
path.
LIBRARY "sys:libs/requester.bmap"