aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/newgui.h')
-rw-r--r--gui/newgui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/newgui.h b/gui/newgui.h
index b7ef589f07..cc9e6b9f3c 100644
--- a/gui/newgui.h
+++ b/gui/newgui.h
@@ -33,6 +33,8 @@
#include "gui/theme.h"
#include "gui/widget.h"
+#include "gui/ThemeRenderer.h"
+
class OSystem;
namespace GUI {
@@ -76,7 +78,7 @@ public:
bool isActive() const { return ! _dialogStack.empty(); }
- bool loadNewTheme(const Common::String &file);
+ bool loadNewTheme(const Common::String &file, ThemeRenderer::GraphicsMode gfx = ThemeRenderer::kGfxDisabled);
Theme *theme() { return _theme; }
ThemeEval *xmlEval() { return _theme->evaluator(); }