Rename colour to color in public API code

* Following the principle of least surprise, color tends to be more
  commonly used in APIs and graphics code even outside the USA.
This commit is contained in:
baldurk
2017-03-30 14:49:55 +01:00
parent d94f387399
commit 637d4089e2
47 changed files with 149 additions and 150 deletions
@@ -185,7 +185,7 @@ void TextureSaveDialog::on_fileFormat_currentIndexChanged(int index)
ui->alphaMap->setEnabled(tex.format.compCount == 4 && noAlphaFormat);
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColour &&
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColor &&
tex.format.compCount == 4 && noAlphaFormat);
if(saveData.destType == FileType::DDS)
@@ -472,7 +472,7 @@ void TextureSaveDialog::on_alphaMap_currentIndexChanged(int index)
{
saveData.alpha = (AlphaMapping)index;
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColour);
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColor);
}
void TextureSaveDialog::on_blackPoint_textEdited(const QString &arg)