Uitool-fixed/l Fixed
#7


6 hours ago, Andrein95 said:




Hi, could you share the fix applied on november source on UITool poject? I'm rellay curious, maybe ill solve also my issue 




There is no great science, just:

// NICOLASG MARK (FIX UICheck attributes)
COLOR col;
pElement->SetAttribute("color_on", ConvertColorToString(pUI->GetTextColor((UICheckBtnState)0), strTmp));
pElement->SetAttribute("color_off", ConvertColorToString(pUI->GetTextColor((UICheckBtnState)1), strTmp));

//COLOR col;
//TiXmlElement* pChildEle = new TiXmlElement("color");
std:Confusedtring strAtt[UCBS_TOTAL] = {"none", "check", "none_disable", "check_disable"};
//for (int i = 0; i < UCBS_TOTAL; ++i)
//{
// col = pUI->GetTextColor((UICheckBtnState)i);
// pChildEle->SetAttribute(strAtt[i].c_str(), ConvertColorToString(col, strTmp));
//}
//pElement->LinkEndChild(pChildEle);
// NICOLASG MARK END

 



Messages In This Thread
[No subject] - by nicolasg - 07-14-2022, 02:51 AM
[No subject] - by OberonPh - 07-14-2022, 12:05 PM
[No subject] - by OberonPh - 07-14-2022, 12:06 PM
[No subject] - by Desarija - 07-14-2022, 11:01 PM
[No subject] - by Andrein95 - 07-15-2022, 08:44 AM
[No subject] - by Veni - 07-15-2022, 02:44 PM
[No subject] - by nicolasg - 07-15-2022, 03:17 PM
[No subject] - by Scura - 07-17-2022, 09:21 AM
[No subject] - by Andrein95 - 11-07-2023, 09:57 AM
[No subject] - by Sutz - 12-19-2023, 08:51 AM
[No subject] - by Andrein95 - 12-19-2023, 10:03 AM
[No subject] - by Veni - 12-20-2023, 08:40 AM
[No subject] - by CMVOADOR - 12-13-2024, 09:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)