Searge-DP / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Fileselector: create directory #454

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to create a new directory when you are trying to save your work?
Reported by Hapiel.

-> There should be room on the right of the Delete button for a "new dir" 
button, which would open a pop-up window with a textbox and OK/Cancel buttons. 
On succesfull creation, I assume it would be best to enter that directory 
immediately.

Original issue reported on code.google.com by yrizoud on 28 Sep 2011 at 12:38

GoogleCodeExporter commented 8 years ago
Thanks guys! I make a new folder for every project I start, and this will help 
:)

Original comment by DnlSg...@gmail.com on 28 Sep 2011 at 1:23

GoogleCodeExporter commented 8 years ago
Mh, ok, but it needs platform specific code :)
POSIX has mkdir(): 
http://pubs.opengroup.org/onlinepubs/009695399/functions/mkdir.html
What about TOS, AmigaOS, Windows ?

Original comment by pulkoma...@gmail.com on 10 Jun 2012 at 8:24

GoogleCodeExporter commented 8 years ago
Mingw has a single-argument mkdir(const char*). We should make a wrapper in 
"io.h", Create_directory() or something.

Original comment by yrizoud on 10 Jun 2012 at 1:54