diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-30 13:59:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-20 21:58:39 +0300 |
commit | bc3a7cf853510ffe1e42dc683f854d360f6528c7 (patch) | |
tree | 9898f13eafc3e1a20388d8d592bfcc05c8f50ba7 /src/gui/theme.cpp | |
parent | a058af57bddd4a4394401cc75d33461e17aab8c1 (diff) | |
download | manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.tar.gz manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.tar.bz2 manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.tar.xz manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.zip |
Add pugixml backend incomplete.
Add some defines for xml nodes manipulation.
With pugixml backend no xml writing.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 8a1eea3f3..d588ecdb3 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1156,15 +1156,15 @@ ImageSet *Theme::getImageSetFromThemeXml(const std::string &name, #define readValue(name) \ info->name = reinterpret_cast<const char*>(\ - xmlNodeGetContent(infoNode)) + XmlNodeGetContent(infoNode)) #define readIntValue(name) \ info->name = atoi(reinterpret_cast<const char*>(\ - xmlNodeGetContent(infoNode))) + XmlNodeGetContent(infoNode))) #define readFloatValue(name) \ info->name = static_cast<float>(atof(reinterpret_cast<const char*>(\ - xmlNodeGetContent(infoNode)))) + XmlNodeGetContent(infoNode)))) ThemeInfo *Theme::loadInfo(const std::string &themeName) { |