diff options
author | Eugene Sandulenko | 2009-06-06 17:51:41 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-06-06 17:51:41 +0000 |
commit | b0f7f2e8d412b65a7bb950f50d1fa511fd6ef946 (patch) | |
tree | 7c48a81f6139f6c70497adb0d6e168046cbb1d5b /gui/ThemeEval.h | |
parent | b49d23b89810fc196a27e2d3c49e17364fc5f453 (diff) | |
download | scummvm-rg350-b0f7f2e8d412b65a7bb950f50d1fa511fd6ef946.tar.gz scummvm-rg350-b0f7f2e8d412b65a7bb950f50d1fa511fd6ef946.tar.bz2 scummvm-rg350-b0f7f2e8d412b65a7bb950f50d1fa511fd6ef946.zip |
Implement widget property "textalign". Added it to all theme layouts
svn-id: r41265
Diffstat (limited to 'gui/ThemeEval.h')
-rw-r--r-- | gui/ThemeEval.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/ThemeEval.h b/gui/ThemeEval.h index 07242e890e..2e15f604ed 100644 --- a/gui/ThemeEval.h +++ b/gui/ThemeEval.h @@ -30,6 +30,7 @@ #include "common/hashmap.h" #include "common/hash-str.h" #include "common/stack.h" +#include "graphics/font.h" #include "gui/ThemeLayout.h" @@ -76,7 +77,7 @@ public: void addDialog(const Common::String &name, const Common::String &overlays, bool enabled = true, int inset = 0); void addLayout(ThemeLayout::LayoutType type, int spacing, bool center = false); - void addWidget(const Common::String &name, int w, int h, const Common::String &type, bool enabled = true); + void addWidget(const Common::String &name, int w, int h, const Common::String &type, bool enabled = true, Graphics::TextAlign align = Graphics::kTextAlignLeft); bool addImportedLayout(const Common::String &name); void addSpace(int size); |