aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-06-14 19:32:26 +0000
committerTorbjörn Andersson2006-06-14 19:32:26 +0000
commit42d093cd166aacccf11bc8fdc0c384aa3d38a73a (patch)
treed6d42eb4e53cd11abd0018b2be90ebeaa4b8b1bf
parent793151a0aa4c8fe5ee5ce2e312826a361fd80474 (diff)
downloadscummvm-rg350-42d093cd166aacccf11bc8fdc0c384aa3d38a73a.tar.gz
scummvm-rg350-42d093cd166aacccf11bc8fdc0c384aa3d38a73a.tar.bz2
scummvm-rg350-42d093cd166aacccf11bc8fdc0c384aa3d38a73a.zip
Added --themepath option, and documented (very briefly) the --gui-theme option.
svn-id: r23108
-rw-r--r--README2
-rw-r--r--base/commandLine.cpp6
-rw-r--r--doc/running-options.tex2
3 files changed, 10 insertions, 0 deletions
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)\\