-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy File Picker #36
Comments
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
…s in the specified project directory
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
marth8880
added a commit
that referenced
this issue
Aug 26, 2018
Completed as of b40ad92 - closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The goal is to make easier the process of selecting files to add to the File List.
How do we do that? With a tree view, of course!
Logic Flow
a. This directory path is saved to the user prefs and remembered each time the picker is opened.
a. For sides, it looks for
munge.bat
in all folders located insidedata_***\_BUILD\Sides
.b. For worlds, it looks for
munge.bat
in all folders located insidedata_***\_BUILD\Worlds
. Each world will probably also want to check for an existing REQ file in thedata_***\Worlds\<world>
directory since all of the stock worlds are usually present and unused indata_***\_BUILD\Worlds
.c. For common, it looks for
munge.bat
indata_***\_BUILD\Common
.d. For sound, it looks for
munge.bat
indata_***\_BUILD\Sound
.e. For addme, it looks for
mungeAddme.bat
indata_***\addme
.f. For shell, it looks for
munge.bat
indata_***\_BUILD\Shell
.g. The items in the tree are organized the same way as in the project directory; all the sides are located in a folder called "Sides", worlds in a folder called "Worlds", etc. Sound is treated a bit differently since in most cases there's just one
munge.bat
file that munges all sound folders.h. Each item and folder in the tree view has an associated checkbox. Checking/unchecking a folder checks/unchecks all of its child items. I suspect .NET handles this functionality automatically.
a. Optionally, the user can add more project directories with the "Add Project" button, which goes back to step 3.
Components
Wireframes
Form layout:
Tree view example:
The text was updated successfully, but these errors were encountered: