The help string was too long (it included all the compression options
which are irrelevant for this page) and as a result the widgets to select
the input file were outside the window and the input selection could
not be done.
The tools that expected a directory were never detected because the
user could only select a file and not a directory. Now he still needs
to select a file but the directory that contains it is also checked and
the file name is stripped if needed to run the tool.
An alternative would have been to let the user select a directory, but
that would have meant the user needed to know if the tool expect a file
or a directory as input. Also because there is no wxPicker to select either
a file or a directory this would have needed additional radio buttons to
show either a file picker or a directory picker. All in all always asking for
a file here seemed more user friendly.
It now uses the same check that as been recently added when parsing
the input files in the CLI Tools. This is the first part of a fix for tools
expecting multiple inputs, as depending on the first file selected by
the user it could crash the application when trying to run the tool.
This makes it possible to encode using a target quality instead of
target bitrate and also makes min and max bitrates optionals.
This fixes bug #3092367.
Also improved the GUI tools MP3 option page. When switching between ABR and VBR only the relevant options remain visible. The page has not been changed to allow use of minimum and maximum bitrates for ABR though (and they are still always used for VBR). So the user does not have as much flexibility with MP3 options when using the GUI tools than he has with the CLI version.
svn-id: r48974
A lame path option has been added when using MP3 compression. For CLI it can be set using -lame-path. In the GUI it can be set in the advanced MP3 options page. There is also a check on lame in the GUI tools now.
svn-id: r48610
* Fix the build system by adding gui/ to the list of module directories,
so that dependencies for source files in it are tracked correctly
* Fixed compilation of the GUI code
* Move some files from utils/ to common/ to get more in sync with the
main ScummVM code base
svn-id: r46360
*A tool can now either match input perfectly, possibly or awful. So less options are displayed to the user (meaning the ChooseTool page can now be skipped most of the time).
*Improved layout.
*The Line Label at the bottom now show the name of the tool that's 'running'.
svn-id: r43031
*Added a common 'Tools' class to be used by both the CLI and the GUI, right now it's NOT in use by the GUI, so there is some code clutter.
*Rename gui/tools.h to gui/tools.cpp
*Tools now know their own type.
*Some other small changes.
svn-id: r42670