Example #1
0
void CGraphicsConfig::cfcbBackgroundColor(NLMISC::CConfigFile::CVar &var)
{
	m_BackgroundColor->setCurrentColor(QColor(var.asInt(0), var.asInt(1), var.asInt(2)));
	emit onBackgroundColor(getBackgroundColor());
}
Example #2
0
	void CObjectViewer::cfcbBackgroundColor(NLMISC::CConfigFile::CVar &var)
	{
		// read variable from config file
		_BackgroundColor = CRGBA(var.asInt(0), var.asInt(1), var.asInt(2));
	}