From 42d093cd166aacccf11bc8fdc0c384aa3d38a73a Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 14 Jun 2006 19:32:26 +0000 Subject: Added --themepath option, and documented (very briefly) the --gui-theme option. svn-id: r23108 --- README | 2 ++ base/commandLine.cpp | 6 ++++++ doc/running-options.tex | 2 ++ 3 files changed, 10 insertions(+) diff --git a/README b/README index 431ba0b5c0..a65de76db6 100644 --- a/README +++ b/README @@ -602,6 +602,8 @@ arguments -- see the next section. -f, --fullscreen Force full-screen mode -F, --no-fullscreen Force windowed mode -g, --gfx-mode=MODE Select graphics scaler (see also section 5.3) + --gui-theme=THEME Select GUI theme (default, modern, classic) + --themepath=PATH Path to where GUI themes are stored -e, --music-driver=MODE Select music driver (see also section 7.0) -q, --language=LANG Select language (see also section 5.2) -m, --music-volume=NUM Set the music volume, 0-255 (default: 192) diff --git a/base/commandLine.cpp b/base/commandLine.cpp index d6a920fec1..64cb22ebd8 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -83,6 +83,8 @@ static const char HELP_STRING[] = " -g, --gfx-mode=MODE Select graphics scaler (normal,2x,3x,2xsai,\n" " super2xsai,supereagle,advmame2x,advmame3x,hq2x,\n" " hq3x,tv2x,dotmatrix)\n" + " --gui-theme=THEME Select GUI theme (default, modern, classic)\n" + " --themepath=PATH Path to where GUI themes are stored\n" " -e, --music-driver=MODE Select music driver (see README for details)\n" " -q, --language=LANG Select language (en,de,fr,it,pt,es,jp,zh,kr,se,gb,\n" " hb,ru,cz)\n" @@ -482,6 +484,10 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, char **ar DO_LONG_OPTION("gui-theme") END_OPTION + DO_LONG_OPTION("themepath") + // TODO: Verify whether the path is valid + END_OPTION + DO_LONG_OPTION("target-md5") END_OPTION diff --git a/doc/running-options.tex b/doc/running-options.tex index fcba3d95b6..ecf4181692 100644 --- a/doc/running-options.tex +++ b/doc/running-options.tex @@ -17,6 +17,8 @@ Usage: scummvm [OPTIONS]... [GAME]\\ -f, --fullscreen &Force full-screen mode\\ -F, --no-fullscreen &Force windowed mode\\ -g, --gfx-mode=MODE &Select graphics scaler (see also section \ref{sect-gfx-filters})\\ + --gui-theme=THEME &Select GUI theme (default, modern, classic)\\ + --themepath=PATH &Path to where GUI themes are stored\\ -e, --music-driver=MODE &Select music driver (see also section \ref{sect-music-and-sound})\\ -q, --language=LANG &Select language (see also section \ref{sect-languages})\\ -m, --music-volume=NUM &Set the music volume, 0-255 (default: 192)\\ -- cgit v1.2.3