From 500ee24e22aae7b457118d152b4480e99969092e Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 27 Feb 2010 21:50:25 -0700 Subject: Make the gui more themeable and distribute two themes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The older gray theme and the new wood theme are available as themes. The gray theme needs some new graphics for hilights. Add a theme option for branding and add path/to/branding/data to the PhysFS search path. Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller --- src/client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 934ba9d2..233ee646 100644 --- a/src/client.h +++ b/src/client.h @@ -165,6 +165,9 @@ public: static State getState() { return instance()->mState; } + static const std::string &getPackageDirectory() + { return instance()->mPackageDir; } + static const std::string &getConfigDirectory() { return instance()->mConfigDir; } @@ -189,6 +192,7 @@ private: Options mOptions; + std::string mPackageDir; std::string mConfigDir; std::string mLocalDataDir; std::string mUpdateHost; -- cgit v1.2.3-60-g2f50