[DEV] color coorection new error

This commit is contained in:
Edouard DUPIN 2014-07-10 22:33:49 +02:00
parent 2196919531
commit de19f0de61
5 changed files with 10 additions and 6 deletions

2
external/egami vendored

@ -1 +1 @@
Subproject commit 4cfeb0a91c02852c0ada6f5fc805fa3c2abeb792
Subproject commit 6a409ac838f57e14da5274ea8506c1129f7cf955

2
external/ege vendored

@ -1 +1 @@
Subproject commit 0eeae19eaa4d38a0f6cb06d90c4cb31f55251b7e
Subproject commit e555759d9ccf2bd1e6de7650f138623baf8a599e

2
external/etk vendored

@ -1 +1 @@
Subproject commit cf877f50473e8bfd0c940de4355fb856545d9422
Subproject commit 9c14cc6077de87781f161a6fbb310837c90d91ba

2
external/ewolsa vendored

@ -1 +1 @@
Subproject commit 730685f470e91d4cf78db288aaf8a4705f9bf09f
Subproject commit 11788c2afcb64a906a6a489d1ee96fbfbcdb832d

View File

@ -275,9 +275,13 @@ void ewol::compositing::TextBase::parseHtmlNode(exml::Element* _element) {
EWOL_VERBOSE("XML Font ...");
TextDecoration tmpDeco = m_htmlDecoTmp;
std::string colorValue = elem->getAttribute("color");
m_htmlDecoTmp.m_colorFg = colorValue;
if (colorValue.size() != 0) {
m_htmlDecoTmp.m_colorFg = colorValue;
}
colorValue = elem->getAttribute("colorBg");
m_htmlDecoTmp.m_colorBg = colorValue;
if (colorValue.size() != 0) {
m_htmlDecoTmp.m_colorBg = colorValue;
}
parseHtmlNode(elem);
m_htmlDecoTmp = tmpDeco;
} else if( compare_no_case(elem->getValue(), "b") == true