1
0
mirror of https://github.com/weiju/amiga-stuff synced 2025-12-08 14:58:33 +00:00

requesters update

- scanning directory now adds the path parameter
 - file requester now sizes the requester according to the file list
   and window font
This commit is contained in:
Wei-ju Wu
2016-01-17 22:08:58 -08:00
parent 943c6f9373
commit 7746095dd7
4 changed files with 117 additions and 49 deletions

View File

@ -26,7 +26,7 @@ extern struct Library *DOSBase;
For now, we will omit device typed entries, because writing/reading to them
usually doesn't make too much sense.
*/
struct FileListEntry *scan_current_dir()
struct FileListEntry *scan_dir(const char *dirpath)
{
struct DosLibrary *dosbase = (struct DosLibrary *) DOSBase;
Forbid();