Bennu Game Development

English Forums => Helpdesk => Topic started by: Rovinator on December 26, 2012, 12:26:00 AM

Title: File browsing thing
Post by: Rovinator on December 26, 2012, 12:26:00 AM
Hi,


Is there a way to let a user browse for a file? A file manager that is. Is there a snippet or package I can use to do this, i.e. inc or prg files,...? Kinda hard to do this from scratch  ::)


If there is no easy workaround I'll just let a user input a filename manually by keyboard. It's less work for me, and since the program is mostly going to be used by developers, it's not that bad. 8)


Just checking, because it might be fancy if it already exists.


Greets,
R.
Title: Re:File browsing thing
Post by: handsource-dyko on December 26, 2012, 09:11:15 AM
Yes, there is one sort of, I've done a tutorial program on the wiki that is a demonstration of a filedialog. It's a bit over-engineered perhaps, but you can find it here: http://wiki.bennugd.org/index.php?title=Tutorial:Dyko_file_dialog (http://wiki.bennugd.org/index.php?title=Tutorial:Dyko_file_dialog) In this article, you can find a link to a zip file with everything in it. The tutorial demonstrates some key bennu concepts with processes, collions and dir reading.
Title: Re:File browsing thing
Post by: Kloppix on December 26, 2012, 09:37:05 AM
  This is a really good file browser for the Wiz ->(http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,116,553) . You could take a look at the source code.