[DEV] update las t ejson
This commit is contained in:
parent
dbc6b3439d
commit
c0de59ac9a
@ -52,11 +52,11 @@ void appl::GlyphPainting::reload() {
|
|||||||
APPL_DEBUG(" can not get object in 'ednColor' it=" << it);
|
APPL_DEBUG(" can not get object in 'ednColor' it=" << it);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
std::string name = tmpObj.getStringValue("name", "");
|
std::string name = tmpObj["name"].toString().get();
|
||||||
std::string background = tmpObj.getStringValue("background", "#FFF0");
|
std::string background = tmpObj["background"].toString().get("#FFF0");
|
||||||
std::string foreground = tmpObj.getStringValue("foreground", "#000F");
|
std::string foreground = tmpObj["foreground"].toString().get("#000F");
|
||||||
bool italic = tmpObj.getBooleanValue("italic", false);
|
bool italic = tmpObj["italic"].toBoolean().get(false);
|
||||||
bool bold = tmpObj.getBooleanValue("bold", false);
|
bool bold = tmpObj["bold"].toBoolean().get(false);
|
||||||
APPL_VERBOSE("find new color : '" << name << "' fg='" << foreground << "' bg='" << background << "' italic='" << italic << "' bold='" << bold << "'");
|
APPL_VERBOSE("find new color : '" << name << "' fg='" << foreground << "' bg='" << background << "' italic='" << italic << "' bold='" << bold << "'");
|
||||||
bool findElement = false;
|
bool findElement = false;
|
||||||
for (size_t jjj=0; jjj<m_list.size(); ++jjj) {
|
for (size_t jjj=0; jjj<m_list.size(); ++jjj) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user